Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007837/0.0007838, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007324/0.007325, allocations: 169 kB / 16.26 MB, free: 6.652 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.662/2.662, allocations: 437.8 MB / 0.7121 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003822, allocations: 12 kB / 0.8728 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6771, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1837/0.8608, allocations: 157.1 MB / 1.176 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00542/0.8663, allocations: 4.497 MB / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.8665, allocations: 7.938 kB / 1.181 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004085/0.867, allocations: 95.34 kB / 1.181 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008694/0.8678, allocations: 314.7 kB / 1.181 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007272/0.8686, allocations: 252.6 kB / 1.181 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0008388/0.8694, allocations: 0.7951 MB / 1.182 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.8697, allocations: 169.4 kB / 1.182 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009117/0.8707, allocations: 418.4 kB / 1.183 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002738/0.8709, allocations: 203.2 kB / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.871, allocations: 8 kB / 1.183 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.8712, allocations: 67.95 kB / 1.183 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.8713, allocations: 83.7 kB / 1.183 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.8714, allocations: 141 kB / 1.183 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.8717, allocations: 279 kB / 1.184 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8717, allocations: 0 / 1.184 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.923e-06/0.8718, allocations: 0 / 1.184 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8718, allocations: 0 / 1.184 GB, free: 10.86 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007449/0.8725, allocations: 0.4946 MB / 1.184 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8726, allocations: 8.031 kB / 1.184 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.8726, allocations: 27.66 kB / 1.184 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003449/0.873, allocations: 275.4 kB / 1.184 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.873, allocations: 12 kB / 1.184 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.084e-05/0.8731, allocations: 16 kB / 1.184 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004451/0.8735, allocations: 285.6 kB / 1.185 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/0.8735, allocations: 0 / 1.185 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.8736, allocations: 11.94 kB / 1.185 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.8736, allocations: 4 kB / 1.185 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003455/0.8739, allocations: 151.8 kB / 1.185 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.8752, allocations: 1.379 MB / 1.186 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.8755, allocations: 191.7 kB / 1.186 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.8757, allocations: 101 kB / 1.186 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003641/0.8761, allocations: 133.1 kB / 1.186 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8762, allocations: 46.34 kB / 1.187 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.8762, allocations: 0 / 1.187 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.0006361/0.8768, allocations: 221.8 kB / 1.187 GB, free: 7.211 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.265e-05/0.8769, allocations: 187.9 kB / 1.187 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.8772, allocations: 291 kB / 1.187 GB, free: 6.695 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.8772, allocations: 25.86 kB / 1.187 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000108/0.8773, allocations: 151.8 kB / 1.187 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.8774, allocations: 39.45 kB / 1.187 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.184e-05/0.8774, allocations: 17.72 kB / 1.187 GB, free: 6.449 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.8775, allocations: 338.8 kB / 1.188 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.8777, allocations: 51.95 kB / 1.188 GB, free: 6.059 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002135/0.8779, allocations: 123.6 kB / 1.188 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.8783, allocations: 174.7 kB / 1.188 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8783, allocations: 0 / 1.188 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003944/0.8787, allocations: 197.3 kB / 1.188 GB, free: 5.516 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.8787, allocations: 11.97 kB / 1.188 GB, free: 5.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.8787, allocations: 4 kB / 1.188 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.8787, allocations: 0 / 1.188 GB, free: 5.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.8789, allocations: 35.97 kB / 1.188 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8789, allocations: 7.938 kB / 1.188 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001728/0.8791, allocations: 27.83 kB / 1.188 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.8791, allocations: 8.047 kB / 1.188 GB, free: 5.422 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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 0.0001381/0.8793, allocations: 151.3 kB / 1.189 GB, free: 5.266 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.8794, allocations: 31.64 kB / 1.189 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003552/0.8798, allocations: 146.8 kB / 1.189 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8798, allocations: 8 kB / 1.189 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.8798, allocations: 0 / 1.189 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.8798, allocations: 4 kB / 1.189 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.8806, allocations: 0.7613 MB / 1.189 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.8807, allocations: 12.14 kB / 1.189 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.8808, allocations: 31.92 kB / 1.189 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8808, allocations: 0 / 1.189 GB, free: 4.195 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.8808, allocations: 4 kB / 1.189 GB, free: 4.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.8808, allocations: 4.125 kB / 1.189 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8809, allocations: 7.938 kB / 1.189 GB, free: 4.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.8814, allocations: 355.3 kB / 1.19 GB, free: 3.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.005e-05/0.8815, allocations: 112.8 kB / 1.19 GB, free: 3.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.8816, allocations: 3.938 kB / 1.19 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.8817, allocations: 11.98 kB / 1.19 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.8818, allocations: 19.92 kB / 1.19 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.8818, allocations: 4 kB / 1.19 GB, free: 3.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001936/0.882, allocations: 210 kB / 1.19 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.882, allocations: 0 / 1.19 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003482/0.8823, allocations: 55.94 kB / 1.19 GB, free: 3.371 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0003793/0.8827, allocations: 132.5 kB / 1.19 GB, free: 3.234 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.8831, allocations: 131.8 kB / 1.19 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.8831, allocations: 0 / 1.19 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.8833, allocations: 76.58 kB / 1.191 GB, free: 3.031 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008517/0.8841, allocations: 112.8 kB / 1.191 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008897/0.885, allocations: 0.5719 MB / 1.191 GB, free: 2.305 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.8854, allocations: 0.7521 MB / 1.192 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.8856, allocations: 54.25 kB / 1.192 GB, free: 1.477 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.712e-05/0.8856, allocations: 19.44 kB / 1.192 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of SimCode: time 2.034e-06/0.8856, allocations: 0 / 1.192 GB, free: 1.457 MB / 0.9356 GB Notification: Performance of Templates: time 0.009035/0.8947, allocations: 4.015 MB / 1.196 GB, free: 13.5 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches