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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00191/0.00191, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.588/1.588, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.2 MB / 0.6642 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 55.91 kB / 0.8118 GB, free: 14.91 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7058, allocations: 140.4 MB / 0.9489 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1583/0.8642, allocations: 145.6 MB / 1.091 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.8643, allocations: 47.95 kB / 1.091 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.8644, allocations: 4 kB / 1.091 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.548e-05/0.8645, allocations: 7.844 kB / 1.091 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.8645, allocations: 7.922 kB / 1.091 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.865, allocations: 99.72 kB / 1.091 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.805e-05/0.8651, allocations: 51.88 kB / 1.091 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.373e-05/0.8651, allocations: 11.94 kB / 1.091 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.8652, allocations: 11.98 kB / 1.091 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.8652, allocations: 19.92 kB / 1.091 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.8653, allocations: 0 / 1.091 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000239/0.8655, allocations: 79.72 kB / 1.091 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.8656, allocations: 11.98 kB / 1.091 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.177e-05/0.8656, allocations: 15.92 kB / 1.091 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.8658, allocations: 69.88 kB / 1.092 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.8658, allocations: 0 / 1.092 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8658, allocations: 0 / 1.092 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.8658, allocations: 0 / 1.092 GB, free: 15.58 MB / 0.8575 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.0003735/0.8662, allocations: 343.5 kB / 1.092 GB, free: 15.2 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.8662, allocations: 8.031 kB / 1.092 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002157/0.8664, allocations: 16.92 kB / 1.092 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.8665, allocations: 164.4 kB / 1.092 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.8666, allocations: 37.58 kB / 1.092 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.8666, allocations: 0 / 1.092 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.8667, allocations: 53.56 kB / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.8668, allocations: 4 kB / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.8668, allocations: 0 / 1.092 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.8668, allocations: 3.984 kB / 1.092 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.982e-05/0.8668, allocations: 19.98 kB / 1.092 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003333/0.8672, allocations: 264.8 kB / 1.092 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.168e-05/0.8672, allocations: 14.58 kB / 1.092 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.8673, allocations: 16.86 kB / 1.092 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.8673, allocations: 4.031 kB / 1.092 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.8673, allocations: 30.56 kB / 1.092 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.8673, allocations: 0 / 1.092 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001166/0.8674, allocations: 33.7 kB / 1.092 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.8675, allocations: 59.34 kB / 1.093 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.8675, allocations: 105.8 kB / 1.093 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.8676, allocations: 29.83 kB / 1.093 GB, free: 14.19 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.03e-05/0.8676, allocations: 87.98 kB / 1.093 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.041e-06/0.8676, allocations: 3.906 kB / 1.093 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.784e-05/0.8677, allocations: 17.72 kB / 1.093 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.8678, allocations: 318.8 kB / 1.093 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.8678, allocations: 7.938 kB / 1.093 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.713e-05/0.8678, allocations: 22.58 kB / 1.093 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/0.8678, allocations: 34.56 kB / 1.093 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.8679, allocations: 0 / 1.093 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.281e-05/0.8679, allocations: 53.62 kB / 1.093 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.8679, allocations: 4 kB / 1.093 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.868, allocations: 0 / 1.093 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.868, allocations: 4 kB / 1.093 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.45e-05/0.868, allocations: 12.03 kB / 1.093 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.868, allocations: 3.938 kB / 1.093 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.8681, allocations: 4 kB / 1.093 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.8681, allocations: 0 / 1.093 GB, free: 13.59 MB / 0.8575 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 6.478e-05/0.8682, allocations: 113.8 kB / 1.093 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.8682, allocations: 3.906 kB / 1.093 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.773e-05/0.8682, allocations: 7.109 kB / 1.093 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.8682, allocations: 3.938 kB / 1.093 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8682, allocations: 7.938 kB / 1.093 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.8682, allocations: 8.078 kB / 1.093 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.8685, allocations: 342.7 kB / 1.094 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.8685, allocations: 0 / 1.094 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.183e-05/0.8685, allocations: 0 / 1.094 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8685, allocations: 7.875 kB / 1.094 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.8685, allocations: 0 / 1.094 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.8685, allocations: 3.984 kB / 1.094 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.8685, allocations: 4 kB / 1.094 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.56e-05/0.8686, allocations: 57.17 kB / 1.094 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.8686, allocations: 85.3 kB / 1.094 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.8686, allocations: 0 / 1.094 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.8687, allocations: 7.984 kB / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.017e-06/0.8687, allocations: 0 / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-06/0.8688, allocations: 4 kB / 1.094 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.721e-05/0.8688, allocations: 87.22 kB / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8688, allocations: 4.031 kB / 1.094 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001795/0.869, allocations: 4 kB / 1.094 GB, free: 12.74 MB / 0.8575 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 7.699e-05/0.8691, allocations: 103.2 kB / 1.094 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 6.009e-05/0.8691, allocations: 12 kB / 1.094 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.8692, allocations: 0 / 1.094 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 6.061e-06/0.8692, allocations: 4 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.8694, allocations: 5.562 kB / 1.094 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.8696, allocations: 132.1 kB / 1.094 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.8698, allocations: 0.677 MB / 1.095 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.968e-05/0.8699, allocations: 4 kB / 1.095 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.8699, allocations: 7.438 kB / 1.095 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.8699, allocations: 4 kB / 1.095 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.002128/0.872, allocations: 488.3 kB / 1.095 GB, free: 11.27 MB / 0.8575 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches