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/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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001339/0.001339, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.501/2.501, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002935/0.0002936, allocations: 11.94 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6381, allocations: 153.7 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1367/0.7748, allocations: 124.9 MB / 1.143 GB, free: 3.891 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0002104/0.7751, allocations: 131.8 kB / 1.143 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.191e-05/0.7751, allocations: 0 / 1.143 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.46e-05/0.7752, allocations: 3.938 kB / 1.143 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.398e-05/0.7753, allocations: 7.969 kB / 1.143 GB, free: 3.75 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.7756, allocations: 83.75 kB / 1.143 GB, free: 3.668 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.524e-05/0.7757, allocations: 23.95 kB / 1.143 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.7757, allocations: 0 / 1.143 GB, free: 3.645 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.486e-05/0.7757, allocations: 15.98 kB / 1.143 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.362e-05/0.7758, allocations: 7.938 kB / 1.143 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.7758, allocations: 0 / 1.143 GB, free: 3.621 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.776, allocations: 51.89 kB / 1.143 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.996e-05/0.7761, allocations: 7.969 kB / 1.143 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.7761, allocations: 33.7 kB / 1.143 GB, free: 3.523 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.495e-05/0.7762, allocations: 29.95 kB / 1.143 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.7762, allocations: 0 / 1.143 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.855e-06/0.7762, allocations: 0 / 1.143 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.387e-06/0.7762, allocations: 3.938 kB / 1.143 GB, free: 3.492 MB / 0.8887 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.0003024/0.7765, allocations: 331.3 kB / 1.143 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.7766, allocations: 15.98 kB / 1.143 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002326/0.7768, allocations: 19.98 kB / 1.144 GB, free: 3.086 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.7769, allocations: 167 kB / 1.144 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.373e-05/0.777, allocations: 29.7 kB / 1.144 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.916e-06/0.777, allocations: 4 kB / 1.144 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.7771, allocations: 41.62 kB / 1.144 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.091e-06/0.7771, allocations: 0 / 1.144 GB, free: 2.797 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.7771, allocations: 8 kB / 1.144 GB, free: 2.789 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.7772, allocations: 3.984 kB / 1.144 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.829e-05/0.7772, allocations: 19.98 kB / 1.144 GB, free: 2.766 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.7776, allocations: 256.9 kB / 1.144 GB, free: 2.465 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 3.382e-05/0.7776, allocations: 30.48 kB / 1.144 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.241e-06/0.7777, allocations: 0 / 1.144 GB, free: 2.426 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.7777, allocations: 30.56 kB / 1.144 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.7777, allocations: 8.062 kB / 1.144 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.7778, allocations: 33.61 kB / 1.144 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.7778, allocations: 51.41 kB / 1.144 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.7779, allocations: 105.8 kB / 1.144 GB, free: 2.164 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.7779, allocations: 25.7 kB / 1.144 GB, free: 2.133 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.778, allocations: 95.98 kB / 1.144 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 6.362e-06/0.778, allocations: 7.906 kB / 1.144 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/0.778, allocations: 0 / 1.144 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.7781, allocations: 322.9 kB / 1.145 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.7781, allocations: 11.94 kB / 1.145 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.713e-05/0.7782, allocations: 18.58 kB / 1.145 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.275e-05/0.7782, allocations: 8 kB / 1.145 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.7782, allocations: 3.984 kB / 1.145 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.323e-05/0.7783, allocations: 49.73 kB / 1.145 GB, free: 1.598 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.7783, allocations: 12 kB / 1.145 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7783, allocations: 0 / 1.145 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.7783, allocations: 3.938 kB / 1.145 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.726e-05/0.7784, allocations: 12.23 kB / 1.145 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.7784, allocations: 0 / 1.145 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.7785, allocations: 4 kB / 1.145 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.7785, allocations: 4 kB / 1.145 GB, free: 1.562 MB / 0.8887 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 6.539e-05/0.7785, allocations: 113.7 kB / 1.145 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.7786, allocations: 4 kB / 1.145 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.63e-05/0.7786, allocations: 11.12 kB / 1.145 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.7786, allocations: 0 / 1.145 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7786, allocations: 0 / 1.145 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.7786, allocations: 8.062 kB / 1.145 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.7789, allocations: 346.7 kB / 1.145 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7789, allocations: 0 / 1.145 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.662e-05/0.7789, allocations: 4 kB / 1.145 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.7789, allocations: 0 / 1.145 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.7789, allocations: 4.031 kB / 1.145 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7789, allocations: 0 / 1.145 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.7789, allocations: 0 / 1.145 GB, free: 1.012 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.21e-05/0.779, allocations: 69.02 kB / 1.145 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.779, allocations: 77.11 kB / 1.145 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.7791, allocations: 0 / 1.145 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.71e-05/0.7791, allocations: 4 kB / 1.145 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.299e-05/0.7792, allocations: 8.016 kB / 1.145 GB, free: 0.8203 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.7792, allocations: 3.938 kB / 1.145 GB, free: 0.8164 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.7792, allocations: 87.28 kB / 1.146 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7792, allocations: 0 / 1.146 GB, free: 0.7305 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000192/0.7794, allocations: 4 kB / 1.146 GB, free: 0.7266 MB / 0.8887 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 9.32e-05/0.7795, allocations: 103.2 kB / 1.146 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 6.397e-05/0.7796, allocations: 15.92 kB / 1.146 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7796, allocations: 4.188 kB / 1.146 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.488e-06/0.7796, allocations: 0 / 1.146 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00016/0.7798, allocations: 12.5 kB / 1.146 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002009/0.78, allocations: 116.6 kB / 1.146 GB, free: 452 kB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.7802, allocations: 0.6809 MB / 1.146 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 5.465e-05/0.7803, allocations: 12.05 kB / 1.146 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.659e-05/0.7803, allocations: 11.44 kB / 1.146 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.7803, allocations: 0 / 1.146 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of Templates: time 0.002144/0.7825, allocations: 466 kB / 1.147 GB, free: 15.29 MB / 0.9044 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