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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.32/2.32, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 192.3 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.875/1.875, allocations: 223.2 MB / 0.7949 GB, free: 17.93 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.00137, allocations: 96.27 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 13.28 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.6/11.9, allocations: 4.408 GB / 5.631 GB, free: 261.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/11.9, allocations: 84.52 kB / 5.631 GB, free: 261.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08194/11.98, allocations: 47.13 MB / 5.677 GB, free: 222.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.495e-06/11.98, allocations: 0 / 5.677 GB, free: 222.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.883e-06/11.98, allocations: 0 / 5.677 GB, free: 222.3 MB / 1.167 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.0003251/11.98, allocations: 334.9 kB / 5.677 GB, free: 221.9 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/11.98, allocations: 8.031 kB / 5.677 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002062/11.98, allocations: 19.89 kB / 5.677 GB, free: 221.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.466e-05/11.98, allocations: 167.1 kB / 5.677 GB, free: 221.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/11.98, allocations: 33.64 kB / 5.677 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/11.98, allocations: 3.953 kB / 5.677 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/11.98, allocations: 53.16 kB / 5.678 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/11.98, allocations: 3.938 kB / 5.678 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/11.98, allocations: 0 / 5.678 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/11.98, allocations: 0 / 5.678 GB, free: 221.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/11.98, allocations: 23.42 kB / 5.678 GB, free: 221.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003694/11.98, allocations: 263.2 kB / 5.678 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.375e-05/11.98, allocations: 18.89 kB / 5.678 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/11.98, allocations: 0 / 5.678 GB, free: 221.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/11.98, allocations: 30.56 kB / 5.678 GB, free: 221.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/11.98, allocations: 0 / 5.678 GB, free: 221.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/11.98, allocations: 33.7 kB / 5.678 GB, free: 221.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/11.98, allocations: 59.53 kB / 5.678 GB, free: 221.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.265e-05/11.98, allocations: 104.4 kB / 5.678 GB, free: 221 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/11.98, allocations: 29.33 kB / 5.678 GB, free: 220.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.907e-05/11.98, allocations: 88.05 kB / 5.678 GB, free: 220.8 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 6.702e-06/11.98, allocations: 0 / 5.678 GB, free: 220.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/11.98, allocations: 0 / 5.678 GB, free: 220.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.718e-05/11.98, allocations: 318 kB / 5.678 GB, free: 220.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.365e-05/11.98, allocations: 4 kB / 5.678 GB, free: 220.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.874e-05/11.98, allocations: 26.45 kB / 5.678 GB, free: 220.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/11.98, allocations: 15.98 kB / 5.678 GB, free: 220.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/11.98, allocations: 3.953 kB / 5.678 GB, free: 220.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.382e-05/11.98, allocations: 53.36 kB / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/11.98, allocations: 9.234 kB / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/11.98, allocations: 3.938 kB / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/11.98, allocations: 4.094 kB / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/11.98, allocations: 8 kB / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/11.98, allocations: 0 / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.656e-05/11.98, allocations: 4 kB / 5.679 GB, free: 220.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/11.98, allocations: 0 / 5.679 GB, free: 220.4 MB / 1.167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/11.98, allocations: 113.5 kB / 5.679 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/11.98, allocations: 4.203 kB / 5.679 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.086e-05/11.98, allocations: 7.109 kB / 5.679 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/11.98, allocations: 0 / 5.679 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/11.98, allocations: 8 kB / 5.679 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/11.98, allocations: 7.938 kB / 5.679 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/11.98, allocations: 349.8 kB / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/11.98, allocations: 0 / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.142e-05/11.98, allocations: 0 / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/11.98, allocations: 0 / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.461e-06/11.98, allocations: 3.938 kB / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/11.98, allocations: 0 / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/11.98, allocations: 4 kB / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.416e-05/11.98, allocations: 64.8 kB / 5.679 GB, free: 219.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/11.98, allocations: 81.02 kB / 5.679 GB, free: 219.7 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/11.98, allocations: 4 kB / 5.679 GB, free: 219.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.437e-05/11.98, allocations: 3.984 kB / 5.679 GB, free: 219.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/11.98, allocations: 4 kB / 5.679 GB, free: 219.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-06/11.98, allocations: 3.938 kB / 5.679 GB, free: 219.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 3.093e-05/11.98, allocations: 83.31 kB / 5.679 GB, free: 219.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.1e-07/11.98, allocations: 0 / 5.679 GB, free: 219.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003375/11.98, allocations: 45.67 kB / 5.679 GB, free: 219.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006479/11.98, allocations: 0.5657 MB / 5.68 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 7.459e-05/11.99, allocations: 12 kB / 5.68 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/11.99, allocations: 0 / 5.68 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 7.214e-06/11.99, allocations: 11.92 kB / 5.68 GB, free: 219 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/11.99, allocations: 11.89 kB / 5.68 GB, free: 218.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002373/11.99, allocations: 116.6 kB / 5.68 GB, free: 218.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/11.99, allocations: 0.6812 MB / 5.681 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.573e-05/11.99, allocations: 7.984 kB / 5.681 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.962e-05/11.99, allocations: 11.38 kB / 5.681 GB, free: 218.1 MB / 1.167 GB Notification: Performance of SimCode: time 4e-07/11.99, allocations: 0 / 5.681 GB, free: 218.1 MB / 1.167 GB Notification: Performance of Templates: time 0.009552/12, allocations: 7.917 MB / 5.688 GB, free: 210.2 MB / 1.167 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","../files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches