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.371/2.371, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001222/0.001222, allocations: 176 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.709/1.709, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001046/0.001046, allocations: 95.89 kB / 0.9318 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.126e-05/4.13e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3543, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.63/11.98, allocations: 4.409 GB / 5.627 GB, free: 158.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/11.98, allocations: 84.52 kB / 5.628 GB, free: 158.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08755/12.07, allocations: 47.04 MB / 5.673 GB, free: 111.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.154e-06/12.07, allocations: 0 / 5.673 GB, free: 111.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 1.323e-05/12.07, allocations: 0 / 5.673 GB, free: 111.1 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.0004724/12.07, allocations: 330.5 kB / 5.674 GB, free: 110.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/12.07, allocations: 8.031 kB / 5.674 GB, free: 110.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/12.07, allocations: 19.98 kB / 5.674 GB, free: 110.7 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/12.07, allocations: 163 kB / 5.674 GB, free: 110.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.697e-05/12.07, allocations: 37.67 kB / 5.674 GB, free: 110.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/12.07, allocations: 3.953 kB / 5.674 GB, free: 110.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/12.07, allocations: 45.69 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/12.07, allocations: 0 / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/12.07, allocations: 3.984 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/12.07, allocations: 4 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.152e-05/12.07, allocations: 19.98 kB / 5.674 GB, free: 110.4 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/12.07, allocations: 269.4 kB / 5.674 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.174e-05/12.07, allocations: 18.58 kB / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/12.07, allocations: 4.859 kB / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/12.07, allocations: 0 / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/12.07, allocations: 42.5 kB / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of pre-optimization done (n=1): time 1.934e-06/12.07, allocations: 0 / 5.674 GB, free: 110 MB / 1.167 GB Notification: Performance of matching and sorting (n=1): time 0.0001745/12.07, allocations: 37.7 kB / 5.674 GB, free: 109.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/12.07, allocations: 51.41 kB / 5.674 GB, free: 109.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/12.07, allocations: 104.9 kB / 5.675 GB, free: 109.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/12.07, allocations: 25.7 kB / 5.675 GB, free: 109.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/12.07, allocations: 84.05 kB / 5.675 GB, free: 109.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 9.408e-06/12.07, allocations: 7.844 kB / 5.675 GB, free: 109.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-06/12.07, allocations: 4.031 kB / 5.675 GB, free: 109.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/12.07, allocations: 318.8 kB / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/12.07, allocations: 0 / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.501e-05/12.07, allocations: 26.56 kB / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/12.07, allocations: 11.95 kB / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/12.07, allocations: 0 / 5.675 GB, free: 109.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.945e-05/12.07, allocations: 57.62 kB / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/12.07, allocations: 8 kB / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/12.07, allocations: 0 / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/12.07, allocations: 0 / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/12.07, allocations: 7.938 kB / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/12.07, allocations: 4 kB / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.298e-05/12.07, allocations: 0 / 5.675 GB, free: 109.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/12.07, allocations: 4 kB / 5.675 GB, free: 109.2 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 () * 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 9.809e-05/12.07, allocations: 113 kB / 5.675 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.61e-05/12.07, allocations: 3.906 kB / 5.675 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/12.07, allocations: 11.12 kB / 5.675 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/12.07, allocations: 0 / 5.675 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/12.07, allocations: 0 / 5.675 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/12.07, allocations: 0 / 5.675 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/12.07, allocations: 342.8 kB / 5.676 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/12.07, allocations: 0 / 5.676 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/12.07, allocations: 7.922 kB / 5.676 GB, free: 108.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/12.07, allocations: 8.031 kB / 5.676 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/12.07, allocations: 0 / 5.676 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/12.07, allocations: 0 / 5.676 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/12.07, allocations: 0 / 5.676 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.223e-05/12.07, allocations: 57.09 kB / 5.676 GB, free: 108.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/12.07, allocations: 81.11 kB / 5.676 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/12.07, allocations: 3.984 kB / 5.676 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.719e-05/12.07, allocations: 8.281 kB / 5.676 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.32e-05/12.07, allocations: 0 / 5.676 GB, free: 108.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/12.07, allocations: 4.094 kB / 5.676 GB, free: 108.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 4.166e-05/12.07, allocations: 83.28 kB / 5.676 GB, free: 108.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.883e-06/12.07, allocations: 3.938 kB / 5.676 GB, free: 108.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0004576/12.07, allocations: 43.92 kB / 5.676 GB, free: 108.3 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 () * 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.001071/12.07, allocations: 0.5671 MB / 5.676 GB, free: 107.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001039/12.07, allocations: 11.94 kB / 5.676 GB, free: 107.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/12.07, allocations: 0 / 5.676 GB, free: 107.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 7.745e-06/12.07, allocations: 4 kB / 5.676 GB, free: 107.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/12.07, allocations: 17.22 kB / 5.676 GB, free: 107.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002312/12.07, allocations: 53.44 kB / 5.676 GB, free: 107.7 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/12.07, allocations: 0.6848 MB / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.147e-05/12.07, allocations: 7.984 kB / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.775e-05/12.07, allocations: 7.438 kB / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of SimCode: time 8.22e-07/12.07, allocations: 0 / 5.677 GB, free: 106.9 MB / 1.167 GB Notification: Performance of Templates: time 0.01291/12.09, allocations: 9.659 MB / 5.687 GB, free: 97.29 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