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 1.999/1.999, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.0009758/0.0009757, allocations: 168.9 kB / 487.3 MB, free: 5.035 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.338/1.338, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008577/0.0008576, allocations: 93.38 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.468e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2361, allocations: 142.4 MB / 1.206 GB, free: 43.96 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 9.098/9.334, allocations: 4.407 GB / 5.613 GB, free: 161.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/9.334, allocations: 89.62 kB / 5.613 GB, free: 161.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.0768/9.411, allocations: 46.29 MB / 5.658 GB, free: 114.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.302e-06/9.411, allocations: 0 / 5.658 GB, free: 114.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 6.472e-06/9.411, allocations: 0 / 5.658 GB, free: 114.4 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.0002168/9.411, allocations: 342.4 kB / 5.659 GB, free: 114.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/9.411, allocations: 8.031 kB / 5.659 GB, free: 114 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/9.412, allocations: 20.59 kB / 5.659 GB, free: 114 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.695e-05/9.412, allocations: 163.1 kB / 5.659 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/9.412, allocations: 25.7 kB / 5.659 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/9.412, allocations: 0 / 5.659 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.429e-05/9.412, allocations: 19.98 kB / 5.659 GB, free: 113.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.007e-05/9.412, allocations: 49.64 kB / 5.659 GB, free: 113.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/9.412, allocations: 3.938 kB / 5.659 GB, free: 113.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/9.412, allocations: 0 / 5.659 GB, free: 113.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/9.412, allocations: 4 kB / 5.659 GB, free: 113.7 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002878/9.412, allocations: 237.4 kB / 5.659 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 3.009e-05/9.412, allocations: 22.53 kB / 5.659 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.599e-05/9.412, allocations: 13.16 kB / 5.659 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/9.412, allocations: 0 / 5.659 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.413e-05/9.412, allocations: 34.56 kB / 5.659 GB, free: 113.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/9.412, allocations: 0 / 5.659 GB, free: 113.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=1): time 9.985e-05/9.413, allocations: 33.7 kB / 5.659 GB, free: 113.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.806e-05/9.413, allocations: 55.41 kB / 5.659 GB, free: 113.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/9.413, allocations: 100.9 kB / 5.66 GB, free: 113.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.776e-06/9.413, allocations: 29.73 kB / 5.66 GB, free: 113.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/9.413, allocations: 91.95 kB / 5.66 GB, free: 113 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.155e-06/9.413, allocations: 0 / 5.66 GB, free: 113 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.695e-06/9.413, allocations: 0 / 5.66 GB, free: 113 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 4.284e-05/9.413, allocations: 318.8 kB / 5.66 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/9.413, allocations: 4 kB / 5.66 GB, free: 112.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/9.413, allocations: 18.58 kB / 5.66 GB, free: 112.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.734e-05/9.413, allocations: 16 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/9.413, allocations: 0 / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.414e-05/9.413, allocations: 49.62 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/9.413, allocations: 7.953 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/9.413, allocations: 3.938 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/9.413, allocations: 4 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.028e-05/9.413, allocations: 4 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/9.413, allocations: 3.984 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/9.413, allocations: 8.094 kB / 5.66 GB, free: 112.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/9.413, allocations: 0 / 5.66 GB, free: 112.6 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 4.191e-05/9.413, allocations: 108.9 kB / 5.66 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/9.413, allocations: 3.906 kB / 5.66 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.675e-05/9.413, allocations: 11.7 kB / 5.66 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/9.413, allocations: 0 / 5.66 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/9.413, allocations: 256 / 5.66 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/9.413, allocations: 4 kB / 5.66 GB, free: 112.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001456/9.413, allocations: 323.4 kB / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/9.413, allocations: 7.984 kB / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/9.413, allocations: 0 / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/9.413, allocations: 3.953 kB / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.869e-06/9.413, allocations: 0 / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/9.413, allocations: 0 / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/9.413, allocations: 0 / 5.661 GB, free: 112.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.24e-05/9.413, allocations: 61.11 kB / 5.661 GB, free: 112 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 1.651e-05/9.413, allocations: 77.11 kB / 5.661 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/9.413, allocations: 7.938 kB / 5.661 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.1e-05/9.413, allocations: 7.938 kB / 5.661 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.429e-05/9.414, allocations: 0 / 5.661 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-06/9.414, allocations: 0 / 5.661 GB, free: 111.9 MB / 1.151 GB Notification: Performance of sorting global known variables: time 2.264e-05/9.414, allocations: 87.28 kB / 5.661 GB, free: 111.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.1e-07/9.414, allocations: 0 / 5.661 GB, free: 111.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0002381/9.414, allocations: 31.98 kB / 5.661 GB, free: 111.8 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.0005487/9.414, allocations: 0.6634 MB / 5.661 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 6.489e-05/9.414, allocations: 15.94 kB / 5.661 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/9.414, allocations: 0 / 5.661 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.496e-06/9.414, allocations: 0 / 5.661 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/9.415, allocations: 13.17 kB / 5.661 GB, free: 111.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000136/9.415, allocations: 56.33 kB / 5.662 GB, free: 111 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/9.415, allocations: 0.6768 MB / 5.662 GB, free: 110.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 5.491e-05/9.415, allocations: 7.984 kB / 5.662 GB, free: 110.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.436e-05/9.415, allocations: 7.438 kB / 5.662 GB, free: 110.3 MB / 1.151 GB Notification: Performance of SimCode: time 2.2e-07/9.415, allocations: 4 kB / 5.662 GB, free: 110.3 MB / 1.151 GB Notification: Performance of Templates: time 0.005268/9.42, allocations: 3.773 MB / 5.666 GB, free: 106.5 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