Model to test correct implementation of derivative
This example checks whether the function derivative is
implemented correctly. If the derivative implementation is not
correct, the model will stop with an assert statement.
- April 22, 2016, by Michael Wetter:
Changed accuarcy test in assertion to use the relative error
because the magnitude of y is 1E5 and hence
testing an absolute error is too stringent. This is for Buildings,
issue 510.
- August 17, 2015 by Michael Wetter:
Updated regression test to have slope that is different from one.
This is for issue
303.
- October 4, 2014, by Michael Wetter:
Added a high tolerance which is needed for OpenModelica to pass the
assert statement.
- October 29, 2008, by Michael Wetter:
First implementation.
Generated at 2026-04-02T18:18:35Z by OpenModelicaOpenModelica 1.26.3 using
GenerateDoc.mos