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.416/2.416, allocations: 387.1 MB / 399.7 MB, free: 9.523 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.001101/0.001101, allocations: 183.1 kB / 492.3 MB, free: 0.6211 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.54/1.54, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008941/0.0008941, allocations: 90.78 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.919e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3356, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.47/11.8, allocations: 4.408 GB / 5.62 GB, free: 80.92 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/11.8, allocations: 86.77 kB / 5.62 GB, free: 80.84 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.08252/11.89, allocations: 47.03 MB / 5.666 GB, free: 33.16 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.473e-06/11.89, allocations: 4 kB / 5.666 GB, free: 33.16 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.365e-06/11.89, allocations: 0 / 5.666 GB, free: 33.16 MB / 1.151 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.0002873/11.89, allocations: 330.4 kB / 5.667 GB, free: 32.79 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/11.89, allocations: 12.03 kB / 5.667 GB, free: 32.78 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/11.89, allocations: 16.61 kB / 5.667 GB, free: 32.77 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.597e-05/11.89, allocations: 167.1 kB / 5.667 GB, free: 32.56 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/11.89, allocations: 33.62 kB / 5.667 GB, free: 32.52 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/11.89, allocations: 4 kB / 5.667 GB, free: 32.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/11.89, allocations: 45.64 kB / 5.667 GB, free: 32.47 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/11.89, allocations: 0 / 5.667 GB, free: 32.47 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.376e-05/11.89, allocations: 0 / 5.667 GB, free: 32.47 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/11.89, allocations: 4 kB / 5.667 GB, free: 32.46 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.36e-05/11.89, allocations: 19.98 kB / 5.667 GB, free: 32.45 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/11.89, allocations: 264.8 kB / 5.667 GB, free: 32.14 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/11.89, allocations: 22.45 kB / 5.667 GB, free: 32.11 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/11.89, allocations: 8.922 kB / 5.667 GB, free: 32.09 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 5.561e-06/11.89, allocations: 0 / 5.667 GB, free: 32.09 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/11.89, allocations: 30.56 kB / 5.667 GB, free: 32.05 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/11.89, allocations: 0 / 5.667 GB, free: 32.05 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/11.89, allocations: 37.7 kB / 5.667 GB, free: 32.01 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/11.89, allocations: 51.41 kB / 5.667 GB, free: 31.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.941e-05/11.89, allocations: 105.1 kB / 5.667 GB, free: 31.84 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/11.89, allocations: 25.7 kB / 5.667 GB, free: 31.81 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.358e-05/11.89, allocations: 95.89 kB / 5.668 GB, free: 31.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.01e-06/11.89, allocations: 0 / 5.668 GB, free: 31.71 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-06/11.89, allocations: 0 / 5.668 GB, free: 31.71 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.245e-05/11.89, allocations: 314.8 kB / 5.668 GB, free: 31.39 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.348e-05/11.89, allocations: 8.031 kB / 5.668 GB, free: 31.39 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/11.89, allocations: 22.56 kB / 5.668 GB, free: 31.36 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.284e-05/11.89, allocations: 12 kB / 5.668 GB, free: 31.34 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/11.89, allocations: 0 / 5.668 GB, free: 31.34 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.244e-05/11.89, allocations: 53.64 kB / 5.668 GB, free: 31.29 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/11.89, allocations: 8.969 kB / 5.668 GB, free: 31.28 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/11.89, allocations: 4 kB / 5.668 GB, free: 31.27 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/11.89, allocations: 8 kB / 5.668 GB, free: 31.27 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/11.89, allocations: 8 kB / 5.668 GB, free: 31.26 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/11.89, allocations: 3.984 kB / 5.668 GB, free: 31.25 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.506e-05/11.89, allocations: 4 kB / 5.668 GB, free: 31.25 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/11.89, allocations: 0 / 5.668 GB, free: 31.25 MB / 1.151 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 5.744e-05/11.89, allocations: 112.9 kB / 5.668 GB, free: 31.13 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/11.89, allocations: 7.859 kB / 5.668 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.012e-05/11.89, allocations: 7.125 kB / 5.668 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.81e-07/11.89, allocations: 0 / 5.668 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/11.89, allocations: 4 kB / 5.668 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/11.89, allocations: 0 / 5.668 GB, free: 31.12 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/11.89, allocations: 346.8 kB / 5.668 GB, free: 30.72 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/11.89, allocations: 0 / 5.668 GB, free: 30.72 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-05/11.89, allocations: 3.984 kB / 5.668 GB, free: 30.71 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/11.89, allocations: 96 / 5.668 GB, free: 30.71 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/11.89, allocations: 8.016 kB / 5.668 GB, free: 30.71 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/11.89, allocations: 4 kB / 5.668 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/11.89, allocations: 0 / 5.668 GB, free: 30.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.048e-05/11.89, allocations: 57.03 kB / 5.668 GB, free: 30.63 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.421e-05/11.89, allocations: 81.11 kB / 5.669 GB, free: 30.53 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/11.89, allocations: 3.984 kB / 5.669 GB, free: 30.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/11.89, allocations: 4 kB / 5.669 GB, free: 30.52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.202e-05/11.89, allocations: 11.97 kB / 5.669 GB, free: 30.51 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/11.89, allocations: 0 / 5.669 GB, free: 30.51 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.583e-05/11.89, allocations: 79.28 kB / 5.669 GB, free: 30.43 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/11.89, allocations: 0 / 5.669 GB, free: 30.43 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002838/11.89, allocations: 43.98 kB / 5.669 GB, free: 30.39 MB / 1.151 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.0006002/11.89, allocations: 0.5608 MB / 5.669 GB, free: 29.82 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 7.064e-05/11.89, allocations: 15.94 kB / 5.669 GB, free: 29.81 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/11.89, allocations: 0 / 5.669 GB, free: 29.81 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-06/11.89, allocations: 4 kB / 5.669 GB, free: 29.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/11.89, allocations: 8.969 kB / 5.669 GB, free: 29.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/11.89, allocations: 69.56 kB / 5.669 GB, free: 29.71 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/11.89, allocations: 0.6809 MB / 5.67 GB, free: 29 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.414e-05/11.89, allocations: 7.984 kB / 5.67 GB, free: 28.99 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/11.89, allocations: 7.438 kB / 5.67 GB, free: 28.99 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/11.89, allocations: 0 / 5.67 GB, free: 28.99 MB / 1.151 GB Notification: Performance of Templates: time 0.01118/11.9, allocations: 9.656 MB / 5.679 GB, free: 19.33 MB / 1.151 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