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: 104.1 kB / 16.27 MB, free: 5.898 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.001625/0.001625, allocations: 185.1 kB / 17.19 MB, free: 5.539 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.343/1.343, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.25/2.25, allocations: 390.3 MB / 0.6653 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.88 kB / 0.8132 GB, free: 33.1 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3061, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6578/0.9639, allocations: 147.8 MB / 1.095 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000127/0.9641, allocations: 51.27 kB / 1.095 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.378e-05/0.9641, allocations: 1.094 kB / 1.095 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.9642, allocations: 3.891 kB / 1.095 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.987e-05/0.9644, allocations: 12.48 kB / 1.095 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.9648, allocations: 108.2 kB / 1.095 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.708e-05/0.9649, allocations: 35.08 kB / 1.095 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.9649, allocations: 6.469 kB / 1.095 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.743e-05/0.965, allocations: 18.67 kB / 1.095 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.9651, allocations: 16.48 kB / 1.095 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.9651, allocations: 1.062 kB / 1.095 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002406/0.9653, allocations: 82.8 kB / 1.095 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.9654, allocations: 11.97 kB / 1.095 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.9654, allocations: 14.22 kB / 1.095 GB, free: 6 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.9656, allocations: 73.08 kB / 1.095 GB, free: 6 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.9656, allocations: 0.6094 kB / 1.095 GB, free: 6 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9656, allocations: 0 / 1.095 GB, free: 6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.9656, allocations: 0 / 1.095 GB, free: 6 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.0005368/0.9661, allocations: 344.2 kB / 1.095 GB, free: 21.64 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.9662, allocations: 9.656 kB / 1.095 GB, free: 21.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002281/0.9664, allocations: 16.53 kB / 1.095 GB, free: 21.64 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.9665, allocations: 167.2 kB / 1.096 GB, free: 21.44 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/0.9666, allocations: 38.88 kB / 1.096 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.9666, allocations: 1.75 kB / 1.096 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.9668, allocations: 48.62 kB / 1.096 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9668, allocations: 1.094 kB / 1.096 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.9668, allocations: 0 / 1.096 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.733e-05/0.9668, allocations: 2.828 kB / 1.096 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.378e-05/0.9669, allocations: 22.92 kB / 1.096 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.9672, allocations: 265.2 kB / 1.096 GB, free: 21.09 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 2.976e-05/0.9673, allocations: 19.45 kB / 1.096 GB, free: 21.07 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.419e-05/0.9673, allocations: 5.984 kB / 1.096 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.781e-06/0.9673, allocations: 1.844 kB / 1.096 GB, free: 21.06 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/0.9673, allocations: 31.56 kB / 1.096 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.9673, allocations: 4 kB / 1.096 GB, free: 21.02 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001234/0.9675, allocations: 36.86 kB / 1.096 GB, free: 20.99 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/0.9675, allocations: 54.5 kB / 1.096 GB, free: 20.93 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.225e-05/0.9676, allocations: 110 kB / 1.096 GB, free: 20.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.9676, allocations: 26.48 kB / 1.096 GB, free: 20.79 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.9677, allocations: 93.77 kB / 1.096 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.335e-06/0.9677, allocations: 5.281 kB / 1.096 GB, free: 20.7 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.9677, allocations: 14 kB / 1.096 GB, free: 20.68 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.9678, allocations: 320.6 kB / 1.097 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.9679, allocations: 3.984 kB / 1.097 GB, free: 20.37 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.586e-05/0.9679, allocations: 25.62 kB / 1.097 GB, free: 20.34 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.801e-05/0.9679, allocations: 30.16 kB / 1.097 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.9679, allocations: 5.859 kB / 1.097 GB, free: 20.32 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.71e-05/0.968, allocations: 52.27 kB / 1.097 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.968, allocations: 4.656 kB / 1.097 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.9681, allocations: 2.406 kB / 1.097 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.9681, allocations: 2.125 kB / 1.097 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.897e-05/0.9681, allocations: 9.516 kB / 1.097 GB, free: 20.29 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.9681, allocations: 4.688 kB / 1.097 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.072e-05/0.9682, allocations: 2.859 kB / 1.097 GB, free: 20.28 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.9682, allocations: 1.438 kB / 1.097 GB, free: 20.28 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.579e-05/0.9683, allocations: 117.6 kB / 1.097 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.9683, allocations: 6.25 kB / 1.097 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.487e-05/0.9683, allocations: 5.562 kB / 1.097 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.9683, allocations: 0.7812 kB / 1.097 GB, free: 20.16 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.9684, allocations: 3.938 kB / 1.097 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.9684, allocations: 1.641 kB / 1.097 GB, free: 20.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.9686, allocations: 350.3 kB / 1.097 GB, free: 19.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.9686, allocations: 4.031 kB / 1.097 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.9686, allocations: 2.578 kB / 1.097 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.9687, allocations: 7.875 kB / 1.097 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.9687, allocations: 0.75 kB / 1.097 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.9687, allocations: 1.875 kB / 1.097 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.9687, allocations: 1.094 kB / 1.097 GB, free: 19.77 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.427e-05/0.9687, allocations: 59.19 kB / 1.097 GB, free: 19.7 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.525e-05/0.9688, allocations: 82.97 kB / 1.097 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.9688, allocations: 6.047 kB / 1.097 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.36e-05/0.9689, allocations: 5.609 kB / 1.097 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124e-05/0.9689, allocations: 2.266 kB / 1.097 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.9689, allocations: 0 / 1.097 GB, free: 19.6 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.48e-05/0.969, allocations: 81.88 kB / 1.097 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1e-07/0.969, allocations: 0 / 1.097 GB, free: 19.53 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001948/0.9692, allocations: 10.44 kB / 1.097 GB, free: 19.53 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.764e-05/0.9693, allocations: 106.9 kB / 1.098 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.422e-05/0.9693, allocations: 14.08 kB / 1.098 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9694, allocations: 0 / 1.098 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.07e-06/0.9694, allocations: 2.031 kB / 1.098 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001803/0.9696, allocations: 11.44 kB / 1.098 GB, free: 19.43 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.9698, allocations: 135.2 kB / 1.098 GB, free: 19.3 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.97, allocations: 0.6794 MB / 1.098 GB, free: 18.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.9701, allocations: 9.328 kB / 1.098 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.9701, allocations: 0 / 1.098 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.00201/0.9721, allocations: 0.5625 MB / 1.099 GB, free: 18.57 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 -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