Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001332, allocations: 116 kB / 16.42 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.001406/0.001406, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 59.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7163/0.7175, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1598/0.8774, allocations: 147.8 MB / 1.233 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001389/0.8776, allocations: 54.92 kB / 1.233 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.8776, allocations: 4 kB / 1.233 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.8778, allocations: 5.297 kB / 1.233 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.626e-05/0.8779, allocations: 10.41 kB / 1.233 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004589/0.8783, allocations: 110.8 kB / 1.233 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.958e-05/0.8784, allocations: 32.66 kB / 1.233 GB, free: 6.422 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.8785, allocations: 5.422 kB / 1.233 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.033e-05/0.8785, allocations: 21.81 kB / 1.233 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.8786, allocations: 17.78 kB / 1.233 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.8786, allocations: 1.281 kB / 1.233 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000264/0.8789, allocations: 89.41 kB / 1.233 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.297e-05/0.8789, allocations: 6.609 kB / 1.233 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.111e-05/0.879, allocations: 13.88 kB / 1.233 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.8791, allocations: 69.64 kB / 1.233 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.8791, allocations: 1.188 kB / 1.233 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8791, allocations: 0 / 1.233 GB, free: 6.293 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.8792, allocations: 0 / 1.233 GB, free: 6.293 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003662/0.8795, allocations: 340.6 kB / 1.234 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8796, allocations: 8.312 kB / 1.234 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002219/0.8798, allocations: 16.8 kB / 1.234 GB, free: 5.926 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.8799, allocations: 165.5 kB / 1.234 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.88, allocations: 34.84 kB / 1.234 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.88, allocations: 1.156 kB / 1.234 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.8801, allocations: 53.03 kB / 1.234 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.8801, allocations: 0 / 1.234 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.8801, allocations: 0 / 1.234 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.8802, allocations: 2.281 kB / 1.234 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.269e-05/0.8802, allocations: 23.08 kB / 1.234 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003496/0.8806, allocations: 258 kB / 1.234 GB, free: 5.344 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 3.511e-05/0.8806, allocations: 24.58 kB / 1.234 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.8807, allocations: 9.984 kB / 1.234 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 5.58e-06/0.8807, allocations: 1.094 kB / 1.234 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.8807, allocations: 31.97 kB / 1.234 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.8807, allocations: 0 / 1.234 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.8808, allocations: 34.66 kB / 1.234 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.8809, allocations: 51.41 kB / 1.234 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.837e-05/0.8809, allocations: 115.1 kB / 1.235 GB, free: 5.051 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.881, allocations: 25.7 kB / 1.235 GB, free: 5.02 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.881, allocations: 97.02 kB / 1.235 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.881, allocations: 1.031 kB / 1.235 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/0.881, allocations: 14.44 kB / 1.235 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.899e-05/0.8811, allocations: 322.8 kB / 1.235 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.8812, allocations: 7.125 kB / 1.235 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.8812, allocations: 31.25 kB / 1.235 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.8812, allocations: 30.81 kB / 1.235 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8812, allocations: 0.9062 kB / 1.235 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.178e-05/0.8813, allocations: 53.14 kB / 1.235 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.8814, allocations: 8.25 kB / 1.235 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.8814, allocations: 1.188 kB / 1.235 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.8814, allocations: 13.42 kB / 1.235 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.65e-05/0.8814, allocations: 5.594 kB / 1.235 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.8815, allocations: 5 kB / 1.235 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.281e-05/0.8815, allocations: 4.969 kB / 1.235 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.8815, allocations: 2.156 kB / 1.235 GB, free: 4.449 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (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 prepare postOptimizeDAE: time 6.569e-05/0.8816, allocations: 108.3 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.8816, allocations: 1 kB / 1.235 GB, free: 4.336 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.8816, allocations: 8.25 kB / 1.235 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.8816, allocations: 1 kB / 1.235 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.8817, allocations: 7.984 kB / 1.235 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.8817, allocations: 82.02 kB / 1.235 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.8817, allocations: 1.062 kB / 1.235 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.8818, allocations: 2.625 kB / 1.235 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.8818, allocations: 0 / 1.235 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 6.637e-05/0.8819, allocations: 113.1 kB / 1.235 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001009/0.882, allocations: 209.2 kB / 1.236 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.266e-05/0.882, allocations: 1.312 kB / 1.236 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.012e-05/0.8821, allocations: 88.55 kB / 1.236 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of Backend: time 4.81e-07/0.8821, allocations: 0 / 1.236 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003761/0.8825, allocations: 111.1 kB / 1.236 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of SimCode: time 0.0004321/0.8829, allocations: 0.5781 MB / 1.236 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of Templates: time 0.002801/0.8857, allocations: 0.7143 MB / 1.237 GB, free: 2.762 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches