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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001562/0.001563, allocations: 108.7 kB / 16.36 MB, free: 6.336 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.001541/0.001541, allocations: 193.8 kB / 17.29 MB, free: 5.883 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.434/1.434, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.264/2.264, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 67.28 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.296, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.8043/1.1, allocations: 147.8 MB / 1.095 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001306/1.1, allocations: 58.5 kB / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/1.101, allocations: 0 / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001115/1.101, allocations: 4.969 kB / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.423e-05/1.101, allocations: 8.234 kB / 1.096 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004392/1.101, allocations: 107 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/1.101, allocations: 36.03 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.382e-05/1.101, allocations: 6.219 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.155e-05/1.101, allocations: 19.14 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.379e-05/1.101, allocations: 11.27 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/1.102, allocations: 1.5 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/1.102, allocations: 83.78 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/1.102, allocations: 6.047 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.713e-05/1.102, allocations: 15.72 kB / 1.096 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000184/1.102, allocations: 75.48 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/1.102, allocations: 0 / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/1.102, allocations: 1.094 kB / 1.096 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.102, allocations: 0.6562 kB / 1.096 GB, free: 5.742 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.0006241/1.103, allocations: 341.5 kB / 1.096 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.103, allocations: 9.438 kB / 1.096 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/1.103, allocations: 17.92 kB / 1.096 GB, free: 21.39 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/1.103, allocations: 166.4 kB / 1.096 GB, free: 21.19 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/1.103, allocations: 34.91 kB / 1.096 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-06/1.103, allocations: 5.094 kB / 1.096 GB, free: 21.15 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/1.103, allocations: 45.97 kB / 1.096 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/1.103, allocations: 1 kB / 1.096 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/1.103, allocations: 0 / 1.096 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.67e-05/1.103, allocations: 3.188 kB / 1.096 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.517e-05/1.103, allocations: 20.14 kB / 1.097 GB, free: 21.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/1.104, allocations: 271.2 kB / 1.097 GB, free: 20.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 3.201e-05/1.104, allocations: 16.02 kB / 1.097 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.541e-05/1.104, allocations: 10.22 kB / 1.097 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/1.104, allocations: 1.219 kB / 1.097 GB, free: 20.81 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.268e-05/1.104, allocations: 32.61 kB / 1.097 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/1.104, allocations: 4 kB / 1.097 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/1.104, allocations: 33.88 kB / 1.097 GB, free: 20.74 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.104, allocations: 55.48 kB / 1.097 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.023e-05/1.104, allocations: 108.8 kB / 1.097 GB, free: 20.57 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/1.104, allocations: 25.7 kB / 1.097 GB, free: 20.54 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/1.104, allocations: 91.45 kB / 1.097 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.974e-06/1.104, allocations: 6.828 kB / 1.097 GB, free: 20.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/1.104, allocations: 16.97 kB / 1.097 GB, free: 20.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001012/1.104, allocations: 321 kB / 1.097 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.827e-05/1.104, allocations: 3.578 kB / 1.097 GB, free: 20.12 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/1.105, allocations: 30.05 kB / 1.097 GB, free: 20.09 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.878e-05/1.105, allocations: 29.66 kB / 1.098 GB, free: 20.07 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/1.105, allocations: 4 kB / 1.098 GB, free: 20.06 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001077/1.105, allocations: 57.61 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.105, allocations: 4.75 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/1.105, allocations: 0.75 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/1.105, allocations: 3.281 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/1.105, allocations: 6.391 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/1.105, allocations: 6.031 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/1.105, allocations: 1.391 kB / 1.098 GB, free: 20.03 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/1.105, allocations: 1.844 kB / 1.098 GB, free: 20.03 MB / 0.8731 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 7.192e-05/1.105, allocations: 118.7 kB / 1.098 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/1.105, allocations: 9.938 kB / 1.098 GB, free: 19.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/1.105, allocations: 5.062 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/1.105, allocations: 0.8125 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.105, allocations: 3.938 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.105, allocations: 1.531 kB / 1.098 GB, free: 19.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002322/1.105, allocations: 347.3 kB / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/1.105, allocations: 6.781 kB / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.415e-05/1.105, allocations: 2.672 kB / 1.098 GB, free: 19.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/1.105, allocations: 3.938 kB / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/1.105, allocations: 5.188 kB / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/1.105, allocations: 0.6094 kB / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/1.105, allocations: 0 / 1.098 GB, free: 19.51 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.694e-05/1.105, allocations: 59.64 kB / 1.098 GB, free: 19.45 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/1.105, allocations: 79.22 kB / 1.098 GB, free: 19.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/1.105, allocations: 9.844 kB / 1.098 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.098e-05/1.106, allocations: 4.484 kB / 1.098 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.147e-05/1.106, allocations: 1.297 kB / 1.098 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/1.106, allocations: 0.75 kB / 1.098 GB, free: 19.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.302e-05/1.106, allocations: 85 kB / 1.098 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.106, allocations: 0.8125 kB / 1.098 GB, free: 19.27 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001948/1.106, allocations: 5.812 kB / 1.098 GB, free: 19.27 MB / 0.8731 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 8.951e-05/1.106, allocations: 98.2 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.754e-05/1.106, allocations: 22.17 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/1.106, allocations: 0.875 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.963e-06/1.106, allocations: 2.438 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/1.106, allocations: 6 kB / 1.098 GB, free: 19.18 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002251/1.106, allocations: 113 kB / 1.099 GB, free: 19.07 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002326/1.107, allocations: 0.6764 MB / 1.099 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.743e-05/1.107, allocations: 9.938 kB / 1.099 GB, free: 18.38 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.909e-05/1.107, allocations: 9.344 kB / 1.099 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.107, allocations: 0 / 1.099 GB, free: 18.37 MB / 0.8731 GB Notification: Performance of Templates: time 0.002434/1.109, allocations: 0.5098 MB / 1.1 GB, free: 18.32 MB / 0.8731 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 -s cvode -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/jenkins1/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