Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001175/0.00118, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.182/1.182, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.56/1.56, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 73.56 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1744, allocations: 114.5 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.002196/0.1766, allocations: 1.412 MB / 0.7849 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003688/0.177, allocations: 224.1 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.184e-05/0.177, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.162e-05/0.177, allocations: 0 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001394/0.1772, allocations: 15.88 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.999e-05/0.1773, allocations: 23.97 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.1774, allocations: 51.84 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.808e-05/0.1775, allocations: 11.98 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.503e-05/0.1775, allocations: 19.92 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.442e-05/0.1776, allocations: 19.86 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.1776, allocations: 4 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.1776, allocations: 4 kB / 0.7852 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.1776, allocations: 15.92 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.1776, allocations: 19.88 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 6.94e-05/0.1777, allocations: 43.84 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1777, allocations: 4 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1777, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.1777, allocations: 0 / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004188/0.1782, allocations: 367.6 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.928e-05/0.1782, allocations: 8.031 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.1782, allocations: 38.69 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2e-05/0.1783, allocations: 4.938 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.1784, allocations: 180.2 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-06/0.1784, allocations: 384 / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.1784, allocations: 4.375 kB / 0.7859 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.1786, allocations: 66.22 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.1786, allocations: 3.938 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.1786, allocations: 4 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1786, allocations: 0 / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.1788, allocations: 43.91 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.1791, allocations: 288.8 kB / 0.7863 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.1794, allocations: 58.59 kB / 0.7863 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.442e-05/0.1795, allocations: 36.84 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.1795, allocations: 3.938 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.726e-05/0.1795, allocations: 30.56 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.1795, allocations: 0 / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0003303/0.1799, allocations: 101.6 kB / 0.7865 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.1799, allocations: 59.41 kB / 0.7865 GB, free: 10 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.219e-05/0.18, allocations: 105.8 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.18, allocations: 29.7 kB / 0.7867 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.455e-05/0.18, allocations: 88.52 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.18, allocations: 15.73 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.1801, allocations: 17.72 kB / 0.7868 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.1802, allocations: 314.8 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.325e-05/0.1803, allocations: 35.91 kB / 0.7871 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.85e-05/0.1804, allocations: 19.98 kB / 0.7871 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1805, allocations: 64.69 kB / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1805, allocations: 0 / 0.7872 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002129/0.1808, allocations: 89.56 kB / 0.7873 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/0.1808, allocations: 4 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-06/0.1808, allocations: 4 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.1808, allocations: 192 / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.315e-05/0.1809, allocations: 15.98 kB / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1809, allocations: 0 / 0.7873 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.1809, allocations: 4 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.181, allocations: 0 / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.068e-05/0.181, allocations: 126.4 kB / 0.7874 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.1811, allocations: 3.984 kB / 0.7874 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.1813, allocations: 93.45 kB / 0.7875 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.1813, allocations: 4 kB / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1813, allocations: 192 / 0.7875 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.1813, allocations: 4 kB / 0.7875 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.1815, allocations: 173.6 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1815, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.1816, allocations: 15.98 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.1816, allocations: 4 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1816, allocations: 4 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.1816, allocations: 3.938 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1816, allocations: 0 / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.1819, allocations: 207.4 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.182, allocations: 81.02 kB / 0.788 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.182, allocations: 4 kB / 0.788 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.161e-05/0.1821, allocations: 12.05 kB / 0.788 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1821, allocations: 4 kB / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1821, allocations: 0 / 0.788 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.149e-05/0.1822, allocations: 91.27 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1822, allocations: 0 / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001999/0.1824, allocations: 4.281 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005439/0.1829, allocations: 0.7475 MB / 0.7888 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002057/0.1831, allocations: 55.95 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1831, allocations: 0 / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.203e-05/0.1832, allocations: 35.97 kB / 0.7889 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.1835, allocations: 8 kB / 0.7889 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.1848, allocations: 1.374 MB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.185, allocations: 0.6846 MB / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.355e-05/0.185, allocations: 0 / 0.791 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/0.1851, allocations: 19.42 kB / 0.791 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1851, allocations: 0 / 0.791 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.2021, allocations: 1.639 MB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.573/6.776, allocations: 12.41 kB / 0.7926 GB, free: 3.664 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_8_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1)