Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_10_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_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009231, allocations: 91.77 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007864/0.007865, allocations: 170.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004891, allocations: 8 kB / 0.8728 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7038, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.179/0.8828, allocations: 143.7 MB / 1.163 GB, free: 15.61 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.883, allocations: 59.66 kB / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.949e-05/0.8831, allocations: 0 / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.8832, allocations: 3.938 kB / 1.163 GB, free: 15.55 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.675e-05/0.8833, allocations: 7.984 kB / 1.163 GB, free: 15.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.8838, allocations: 107.6 kB / 1.164 GB, free: 15.43 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.8839, allocations: 55.88 kB / 1.164 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.499e-05/0.884, allocations: 4 kB / 1.164 GB, free: 15.38 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.602e-05/0.884, allocations: 11.98 kB / 1.164 GB, free: 15.36 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.681e-05/0.8841, allocations: 23.86 kB / 1.164 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.8841, allocations: 0 / 1.164 GB, free: 15.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.8844, allocations: 79.78 kB / 1.164 GB, free: 15.26 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.8845, allocations: 11.98 kB / 1.164 GB, free: 15.25 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.774e-05/0.8845, allocations: 37.64 kB / 1.164 GB, free: 15.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.8847, allocations: 73.8 kB / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8847, allocations: 0 / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8847, allocations: 0 / 1.164 GB, free: 15.14 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.8847, allocations: 0 / 1.164 GB, free: 15.14 MB / 0.92 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.0004005/0.8852, allocations: 335.5 kB / 1.164 GB, free: 14.76 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.8852, allocations: 12.03 kB / 1.164 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002372/0.8854, allocations: 20.92 kB / 1.164 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.8856, allocations: 164.4 kB / 1.164 GB, free: 14.53 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.431e-05/0.8856, allocations: 29.64 kB / 1.164 GB, free: 14.5 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.8856, allocations: 4 kB / 1.164 GB, free: 14.49 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.8858, allocations: 41.69 kB / 1.164 GB, free: 14.45 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.8858, allocations: 3.938 kB / 1.164 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.8858, allocations: 0 / 1.164 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.732e-05/0.8858, allocations: 4 kB / 1.164 GB, free: 14.44 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.4e-05/0.8859, allocations: 27.92 kB / 1.164 GB, free: 14.41 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.8863, allocations: 264.8 kB / 1.165 GB, free: 14.1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.38e-05/0.8863, allocations: 14.58 kB / 1.165 GB, free: 14.08 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.8864, allocations: 8.859 kB / 1.165 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.334e-06/0.8864, allocations: 64 / 1.165 GB, free: 14.07 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.8864, allocations: 38.56 kB / 1.165 GB, free: 14.02 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 2.174e-06/0.8864, allocations: 0 / 1.165 GB, free: 14.02 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001318/0.8865, allocations: 37.62 kB / 1.165 GB, free: 13.98 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.8866, allocations: 55.34 kB / 1.165 GB, free: 13.91 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.467e-05/0.8867, allocations: 109.8 kB / 1.165 GB, free: 13.79 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.8867, allocations: 25.7 kB / 1.165 GB, free: 13.76 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.8868, allocations: 95.98 kB / 1.165 GB, free: 13.66 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.8868, allocations: 4.031 kB / 1.165 GB, free: 13.66 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.8868, allocations: 13.72 kB / 1.165 GB, free: 13.64 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8869, allocations: 314.8 kB / 1.165 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.801e-05/0.887, allocations: 7.984 kB / 1.165 GB, free: 13.32 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.692e-05/0.887, allocations: 22.58 kB / 1.165 GB, free: 13.29 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.8871, allocations: 38.5 kB / 1.165 GB, free: 13.24 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8871, allocations: 0 / 1.165 GB, free: 13.24 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.925e-05/0.8871, allocations: 49.64 kB / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.8872, allocations: 4 kB / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.8872, allocations: 0 / 1.165 GB, free: 13.18 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.8872, allocations: 7.984 kB / 1.165 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.798e-05/0.8873, allocations: 4 kB / 1.165 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.8873, allocations: 7.875 kB / 1.166 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.871e-05/0.8873, allocations: 4.094 kB / 1.166 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.8873, allocations: 4.094 kB / 1.166 GB, free: 13.15 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.262e-05/0.8874, allocations: 114.4 kB / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.8875, allocations: 3.984 kB / 1.166 GB, free: 13.03 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.753e-05/0.8875, allocations: 3.125 kB / 1.166 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8875, allocations: 4 kB / 1.166 GB, free: 13.02 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.8875, allocations: 11.86 kB / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.8875, allocations: 0 / 1.166 GB, free: 13.01 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.8878, allocations: 346.7 kB / 1.166 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8878, allocations: 0 / 1.166 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.244e-05/0.8878, allocations: 0 / 1.166 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.8878, allocations: 3.938 kB / 1.166 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-06/0.8878, allocations: 3.938 kB / 1.166 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8878, allocations: 4 kB / 1.166 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.8878, allocations: 0 / 1.166 GB, free: 12.6 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.8879, allocations: 57.12 kB / 1.166 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.075e-05/0.888, allocations: 89.11 kB / 1.166 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.888, allocations: 0 / 1.166 GB, free: 12.42 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.421e-05/0.8881, allocations: 4 kB / 1.166 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.25e-05/0.8881, allocations: 4.234 kB / 1.166 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-06/0.8881, allocations: 0 / 1.166 GB, free: 12.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.36e-05/0.8881, allocations: 87.28 kB / 1.166 GB, free: 12.32 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8881, allocations: 0 / 1.166 GB, free: 12.32 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0001891/0.8883, allocations: 8 kB / 1.166 GB, free: 12.32 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.537e-05/0.8884, allocations: 101.5 kB / 1.166 GB, free: 12.21 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.461e-05/0.8885, allocations: 19.92 kB / 1.166 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.8885, allocations: 7.938 kB / 1.166 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.679e-06/0.8886, allocations: 0 / 1.166 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.8888, allocations: 8.359 kB / 1.166 GB, free: 12.18 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002663/0.8891, allocations: 128.8 kB / 1.166 GB, free: 12.02 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.8893, allocations: 0.677 MB / 1.167 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 5.272e-05/0.8894, allocations: 4 kB / 1.167 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.268e-05/0.8894, allocations: 11.38 kB / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of SimCode: time 2.2e-07/0.8894, allocations: 0 / 1.167 GB, free: 11.3 MB / 0.92 GB Notification: Performance of Templates: time 0.002447/0.8919, allocations: 478.4 kB / 1.168 GB, free: 10.85 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches