Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 106.7 kB / 16.41 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.493/2.493, allocations: 461.9 MB / 0.7354 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.89 kB / 1.055 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7977, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002458/0.8002, allocations: 1.322 MB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1754/0.9756, allocations: 148.1 MB / 1.354 GB, free: 7.648 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.163e-05/0.9757, allocations: 0 / 1.354 GB, free: 7.648 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.004e-05/0.9758, allocations: 7.922 kB / 1.354 GB, free: 7.641 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.9759, allocations: 11.92 kB / 1.354 GB, free: 7.629 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000982/0.9769, allocations: 330.6 kB / 1.355 GB, free: 7.305 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.977, allocations: 67.81 kB / 1.355 GB, free: 7.238 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.9771, allocations: 0 / 1.355 GB, free: 7.238 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.9771, allocations: 35.84 kB / 1.355 GB, free: 7.203 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 8.937e-05/0.9772, allocations: 31.89 kB / 1.355 GB, free: 7.172 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.9772, allocations: 4 kB / 1.355 GB, free: 7.168 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009328/0.9782, allocations: 418.8 kB / 1.355 GB, free: 6.758 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.9782, allocations: 15.97 kB / 1.355 GB, free: 6.742 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.575e-05/0.9783, allocations: 27.86 kB / 1.355 GB, free: 6.715 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.9786, allocations: 157.4 kB / 1.355 GB, free: 6.566 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.9786, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9786, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.9787, allocations: 0 / 1.355 GB, free: 6.566 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004835/0.9791, allocations: 395.3 kB / 1.356 GB, free: 6.133 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.9792, allocations: 12.03 kB / 1.356 GB, free: 6.121 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004015/0.9796, allocations: 28.91 kB / 1.356 GB, free: 6.094 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.9797, allocations: 176.3 kB / 1.356 GB, free: 5.883 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.9797, allocations: 3.938 kB / 1.356 GB, free: 5.879 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.9798, allocations: 15.91 kB / 1.356 GB, free: 5.863 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.9799, allocations: 73.66 kB / 1.356 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.98, allocations: 0 / 1.356 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.98, allocations: 0 / 1.356 GB, free: 5.785 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.98, allocations: 4 kB / 1.356 GB, free: 5.781 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.631e-05/0.9801, allocations: 47.95 kB / 1.356 GB, free: 5.734 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.9803, allocations: 189.5 kB / 1.356 GB, free: 5.5 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001822/0.9805, allocations: 98.45 kB / 1.356 GB, free: 5.395 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.9805, allocations: 37.25 kB / 1.356 GB, free: 5.355 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.9808, allocations: 182.1 kB / 1.357 GB, free: 5.141 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.9808, allocations: 38.5 kB / 1.357 GB, free: 5.094 MB / 1.076 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.9808, allocations: 0 / 1.357 GB, free: 5.094 MB / 1.076 GB Notification: Performance of matching and sorting (n=19): time 0.001271/0.9821, allocations: 0.533 MB / 1.357 GB, free: 4.508 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.9821, allocations: 59.39 kB / 1.357 GB, free: 4.438 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.838e-05/0.9822, allocations: 97.8 kB / 1.357 GB, free: 4.332 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.184e-05/0.9822, allocations: 33.7 kB / 1.357 GB, free: 4.293 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.9823, allocations: 80.52 kB / 1.357 GB, free: 4.211 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.9823, allocations: 70.98 kB / 1.357 GB, free: 4.141 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.9824, allocations: 41.62 kB / 1.357 GB, free: 4.094 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.9825, allocations: 323 kB / 1.358 GB, free: 3.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/0.9826, allocations: 39.98 kB / 1.358 GB, free: 3.73 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.35e-05/0.9827, allocations: 73.42 kB / 1.358 GB, free: 3.648 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.9828, allocations: 111.4 kB / 1.358 GB, free: 3.527 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.9829, allocations: 0 / 1.358 GB, free: 3.527 MB / 1.076 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000216/0.9831, allocations: 161.5 kB / 1.358 GB, free: 3.363 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.9831, allocations: 4 kB / 1.358 GB, free: 3.359 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.9831, allocations: 7.938 kB / 1.358 GB, free: 3.352 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.9831, allocations: 4 kB / 1.358 GB, free: 3.348 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.9833, allocations: 35.98 kB / 1.358 GB, free: 3.312 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.9833, allocations: 0 / 1.358 GB, free: 3.312 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.9834, allocations: 11.94 kB / 1.358 GB, free: 3.301 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.9834, allocations: 4 kB / 1.358 GB, free: 3.297 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.894e-05/0.9835, allocations: 125.7 kB / 1.358 GB, free: 3.164 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.966e-05/0.9835, allocations: 4 kB / 1.358 GB, free: 3.16 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.9836, allocations: 28.42 kB / 1.358 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.9836, allocations: 0 / 1.358 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.9836, allocations: 0 / 1.358 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.9836, allocations: 3.938 kB / 1.358 GB, free: 3.129 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.9838, allocations: 197.6 kB / 1.359 GB, free: 2.887 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9838, allocations: 4.125 kB / 1.359 GB, free: 2.883 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002086/0.984, allocations: 39.92 kB / 1.359 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.984, allocations: 0 / 1.359 GB, free: 2.844 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.984, allocations: 8 kB / 1.359 GB, free: 2.836 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.984, allocations: 0 / 1.359 GB, free: 2.836 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.984, allocations: 3.938 kB / 1.359 GB, free: 2.832 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003033/0.9843, allocations: 215 kB / 1.359 GB, free: 2.605 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.9844, allocations: 93.16 kB / 1.359 GB, free: 2.496 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.9844, allocations: 0 / 1.359 GB, free: 2.496 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.9846, allocations: 11.98 kB / 1.359 GB, free: 2.484 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.9846, allocations: 11.92 kB / 1.359 GB, free: 2.473 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.9846, allocations: 11.94 kB / 1.359 GB, free: 2.461 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.9847, allocations: 83.28 kB / 1.359 GB, free: 2.379 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9847, allocations: 3.938 kB / 1.359 GB, free: 2.375 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002207/0.9849, allocations: 24 kB / 1.359 GB, free: 2.352 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001253/0.985, allocations: 103.2 kB / 1.359 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001986/0.9852, allocations: 99.89 kB / 1.359 GB, free: 2.141 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.9852, allocations: 4 kB / 1.359 GB, free: 2.137 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 6.981e-05/0.9853, allocations: 57.97 kB / 1.359 GB, free: 2.082 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002522/0.9856, allocations: 16.09 kB / 1.359 GB, free: 2.066 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.9864, allocations: 0.5322 MB / 1.36 GB, free: 1.504 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.9867, allocations: 0.7047 MB / 1.361 GB, free: 0.7734 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.527e-05/0.9867, allocations: 19.44 kB / 1.361 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of SimCode: time 2.21e-07/0.9867, allocations: 0 / 1.361 GB, free: 0.7578 MB / 1.076 GB Notification: Performance of Templates: time 0.003039/0.9898, allocations: 1.299 MB / 1.362 GB, free: 15.46 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.AirDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches