Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.517/2.517, allocations: 393.5 MB / 408.4 MB, free: 11.14 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.001191/0.001191, allocations: 179.1 kB / 0.4902 GB, free: 2.309 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.606/1.606, allocations: 223.2 MB / 0.7992 GB, free: 14.69 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.0009742/0.0009742, allocations: 107.8 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005516/0.0005515, allocations: 6.938 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3165, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.5/11.81, allocations: 4.409 GB / 5.638 GB, free: 187.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/11.81, allocations: 87.41 kB / 5.638 GB, free: 187.6 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08411/11.9, allocations: 47.12 MB / 5.684 GB, free: 148.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.505e-06/11.9, allocations: 0 / 5.684 GB, free: 148.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 6.202e-06/11.9, allocations: 0 / 5.684 GB, free: 148.4 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.0003186/11.9, allocations: 339.3 kB / 5.684 GB, free: 148 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/11.9, allocations: 8.562 kB / 5.684 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/11.9, allocations: 19.17 kB / 5.684 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.376e-05/11.9, allocations: 163.1 kB / 5.685 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/11.9, allocations: 29.7 kB / 5.685 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/11.9, allocations: 3.953 kB / 5.685 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/11.9, allocations: 48.25 kB / 5.685 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/11.9, allocations: 4 kB / 5.685 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/11.9, allocations: 0 / 5.685 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/11.9, allocations: 3.984 kB / 5.685 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/11.9, allocations: 19.3 kB / 5.685 GB, free: 147.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/11.9, allocations: 266.7 kB / 5.685 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.533e-05/11.9, allocations: 18.92 kB / 5.685 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 6.632e-06/11.9, allocations: 4 kB / 5.685 GB, free: 147.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.828e-05/11.9, allocations: 38.56 kB / 5.685 GB, free: 147.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=1): time 1.483e-06/11.9, allocations: 0 / 5.685 GB, free: 147.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=1): time 0.0001329/11.9, allocations: 36.83 kB / 5.685 GB, free: 147.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/11.9, allocations: 51.41 kB / 5.685 GB, free: 147.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/11.9, allocations: 104.5 kB / 5.685 GB, free: 147.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.787e-06/11.9, allocations: 25.7 kB / 5.685 GB, free: 147.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 3.515e-05/11.9, allocations: 96.08 kB / 5.685 GB, free: 147 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-06/11.9, allocations: 3.188 kB / 5.685 GB, free: 147 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-06/11.9, allocations: 0 / 5.685 GB, free: 147 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.043e-05/11.9, allocations: 310.8 kB / 5.686 GB, free: 146.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.54e-05/11.9, allocations: 7.984 kB / 5.686 GB, free: 146.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.193e-05/11.9, allocations: 24.45 kB / 5.686 GB, free: 146.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.486e-05/11.9, allocations: 15.25 kB / 5.686 GB, free: 146.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/11.9, allocations: 3.953 kB / 5.686 GB, free: 146.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.185e-05/11.9, allocations: 53 kB / 5.686 GB, free: 146.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/11.9, allocations: 11.94 kB / 5.686 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/11.9, allocations: 0 / 5.686 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/11.9, allocations: 0 / 5.686 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.569e-05/11.9, allocations: 11.98 kB / 5.686 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/11.9, allocations: 0 / 5.686 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4e-05/11.9, allocations: 3.5 kB / 5.686 GB, free: 146.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/11.9, allocations: 8.094 kB / 5.686 GB, free: 146.5 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.834e-05/11.9, allocations: 109.8 kB / 5.686 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/11.9, allocations: 11.86 kB / 5.686 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/11.9, allocations: 3.219 kB / 5.686 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/11.9, allocations: 3.984 kB / 5.686 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/11.9, allocations: 0 / 5.686 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/11.9, allocations: 3.938 kB / 5.686 GB, free: 146.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001944/11.9, allocations: 353.5 kB / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/11.9, allocations: 0 / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.526e-05/11.9, allocations: 4 kB / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/11.9, allocations: 0 / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-06/11.9, allocations: 0 / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/11.9, allocations: 0 / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/11.9, allocations: 0 / 5.686 GB, free: 146 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.314e-05/11.9, allocations: 68.77 kB / 5.686 GB, free: 145.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/11.9, allocations: 81.17 kB / 5.686 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/11.9, allocations: 0 / 5.686 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.645e-05/11.9, allocations: 4 kB / 5.686 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/11.9, allocations: 0 / 5.686 GB, free: 145.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/11.9, allocations: 0 / 5.686 GB, free: 145.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 2.833e-05/11.9, allocations: 90.7 kB / 5.686 GB, free: 145.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/11.9, allocations: 0 / 5.686 GB, free: 145.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003077/11.9, allocations: 39.86 kB / 5.686 GB, free: 145.7 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.0006087/11.9, allocations: 0.5689 MB / 5.687 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 7.418e-05/11.9, allocations: 11.94 kB / 5.687 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/11.9, allocations: 0 / 5.687 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 5.781e-06/11.9, allocations: 4.188 kB / 5.687 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000141/11.9, allocations: 14.36 kB / 5.687 GB, free: 145.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002481/11.9, allocations: 121 kB / 5.687 GB, free: 145 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/11.9, allocations: 0.6848 MB / 5.688 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 5.634e-05/11.9, allocations: 8 kB / 5.688 GB, free: 144.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/11.9, allocations: 7.438 kB / 5.688 GB, free: 144.2 MB / 1.167 GB Notification: Performance of SimCode: time 7.32e-07/11.9, allocations: 0 / 5.688 GB, free: 144.2 MB / 1.167 GB Notification: Performance of Templates: time 0.009283/11.91, allocations: 7.92 MB / 5.696 GB, free: 136.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches