Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.501/1.501, allocations: 249.5 MB / 257 MB, free: 6.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009613/0.0009613, allocations: 184.8 kB / 316.3 MB, free: 3.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.773/1.773, allocations: 205.3 MB / 0.5671 GB, free: 15.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008271/0.0008272, allocations: 88.86 kB / 0.6714 GB, free: 4.957 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.06e-05, allocations: 0 / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2479/0.248, allocations: 106.3 MB / 0.8852 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 13.21/13.45, allocations: 4.605 GB / 5.49 GB, free: 66.44 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/13.45, allocations: 88.06 kB / 5.49 GB, free: 66.39 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.08185/13.54, allocations: 44.4 MB / 5.534 GB, free: 23.27 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/13.54, allocations: 0 / 5.534 GB, free: 23.27 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.021e-05/13.54, allocations: 0 / 5.534 GB, free: 23.27 MB / 0.8698 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.0003535/13.54, allocations: 334.4 kB / 5.534 GB, free: 22.89 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/13.54, allocations: 16.02 kB / 5.534 GB, free: 22.88 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/13.54, allocations: 15.98 kB / 5.534 GB, free: 22.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/13.54, allocations: 163.1 kB / 5.534 GB, free: 22.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/13.54, allocations: 25.7 kB / 5.534 GB, free: 22.63 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/13.54, allocations: 0 / 5.534 GB, free: 22.63 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001097/13.54, allocations: 23.94 kB / 5.534 GB, free: 22.61 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/13.54, allocations: 49.62 kB / 5.534 GB, free: 22.55 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/13.54, allocations: 0 / 5.534 GB, free: 22.55 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.997e-05/13.54, allocations: 7.984 kB / 5.534 GB, free: 22.55 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/13.54, allocations: 0 / 5.534 GB, free: 22.55 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/13.54, allocations: 229.5 kB / 5.534 GB, free: 22.29 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/13.54, allocations: 22.53 kB / 5.535 GB, free: 22.25 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.324e-05/13.54, allocations: 8.859 kB / 5.535 GB, free: 22.24 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/13.54, allocations: 4 kB / 5.535 GB, free: 22.24 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/13.54, allocations: 30.56 kB / 5.535 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/13.54, allocations: 0 / 5.535 GB, free: 22.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0001534/13.54, allocations: 37.61 kB / 5.535 GB, free: 22.16 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/13.54, allocations: 55.41 kB / 5.535 GB, free: 22.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.473e-05/13.54, allocations: 96.98 kB / 5.535 GB, free: 21.99 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/13.54, allocations: 25.7 kB / 5.535 GB, free: 21.96 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.888e-05/13.54, allocations: 91.98 kB / 5.535 GB, free: 21.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.334e-06/13.54, allocations: 11.88 kB / 5.535 GB, free: 21.85 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/13.54, allocations: 0 / 5.535 GB, free: 21.85 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.108e-05/13.54, allocations: 319.2 kB / 5.535 GB, free: 21.53 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.352e-05/13.54, allocations: 4 kB / 5.535 GB, free: 21.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.278e-05/13.54, allocations: 18.58 kB / 5.535 GB, free: 21.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/13.54, allocations: 8 kB / 5.535 GB, free: 21.49 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/13.54, allocations: 4 kB / 5.535 GB, free: 21.49 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.311e-05/13.54, allocations: 53.58 kB / 5.535 GB, free: 21.43 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/13.54, allocations: 4 kB / 5.535 GB, free: 21.43 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/13.54, allocations: 3.938 kB / 5.535 GB, free: 21.42 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/13.54, allocations: 4 kB / 5.535 GB, free: 21.42 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.745e-05/13.54, allocations: 4 kB / 5.535 GB, free: 21.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/13.54, allocations: 7.922 kB / 5.535 GB, free: 21.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.829e-05/13.54, allocations: 4.25 kB / 5.535 GB, free: 21.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/13.54, allocations: 4 kB / 5.535 GB, free: 21.4 MB / 0.8698 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 () * 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 6.691e-05/13.54, allocations: 113.1 kB / 5.535 GB, free: 21.28 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/13.54, allocations: 3.953 kB / 5.535 GB, free: 21.28 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.519e-05/13.54, allocations: 7.703 kB / 5.535 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/13.54, allocations: 0 / 5.535 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/13.54, allocations: 0 / 5.535 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/13.54, allocations: 4 kB / 5.535 GB, free: 21.27 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/13.54, allocations: 319.3 kB / 5.536 GB, free: 20.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/13.54, allocations: 4.031 kB / 5.536 GB, free: 20.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.392e-05/13.54, allocations: 11.94 kB / 5.536 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/13.54, allocations: 0 / 5.536 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/13.54, allocations: 0 / 5.536 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/13.54, allocations: 0 / 5.536 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/13.54, allocations: 3.938 kB / 5.536 GB, free: 20.89 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.584e-05/13.54, allocations: 53.14 kB / 5.536 GB, free: 20.82 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/13.54, allocations: 77.11 kB / 5.536 GB, free: 20.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/13.54, allocations: 7.984 kB / 5.536 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/13.54, allocations: 7.984 kB / 5.536 GB, free: 20.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/13.54, allocations: 0 / 5.536 GB, free: 20.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/13.54, allocations: 0 / 5.536 GB, free: 20.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.3e-05/13.54, allocations: 87.28 kB / 5.536 GB, free: 20.62 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/13.54, allocations: 0 / 5.536 GB, free: 20.62 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002641/13.54, allocations: 31.98 kB / 5.536 GB, free: 20.59 MB / 0.8698 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 () * 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.0007223/13.54, allocations: 0.664 MB / 5.537 GB, free: 19.92 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.741e-05/13.54, allocations: 15.94 kB / 5.537 GB, free: 19.91 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/13.54, allocations: 0 / 5.537 GB, free: 19.91 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/13.54, allocations: 0 / 5.537 GB, free: 19.91 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001649/13.54, allocations: 16.98 kB / 5.537 GB, free: 19.89 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00017/13.54, allocations: 56.39 kB / 5.537 GB, free: 19.81 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/13.54, allocations: 0.6806 MB / 5.537 GB, free: 19.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.398e-05/13.54, allocations: 4 kB / 5.537 GB, free: 19.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/13.54, allocations: 7.438 kB / 5.537 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/13.54, allocations: 0 / 5.537 GB, free: 19.09 MB / 0.8698 GB Notification: Performance of Templates: time 0.006389/13.55, allocations: 3.735 MB / 5.541 GB, free: 15.36 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches