Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.002032/0.002033, allocations: 168.7 kB / 15.95 MB, free: 204 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.527/1.527, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.941/2.941, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004018, allocations: 9.453 kB / 0.9021 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4031, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1506/0.5537, allocations: 122.5 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001718/0.5539, allocations: 55.7 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.554, allocations: 0 / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.5541, allocations: 3.938 kB / 1.178 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.5542, allocations: 19.91 kB / 1.178 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009303/0.5552, allocations: 179.2 kB / 1.178 GB, free: 10.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.5553, allocations: 47.83 kB / 1.178 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.5553, allocations: 3.984 kB / 1.178 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.5554, allocations: 12 kB / 1.178 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 9.66e-05/0.5555, allocations: 15.91 kB / 1.178 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.5555, allocations: 4 kB / 1.178 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004673/0.556, allocations: 155.6 kB / 1.178 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.556, allocations: 7.969 kB / 1.178 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.5561, allocations: 37.7 kB / 1.178 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.5564, allocations: 92.08 kB / 1.178 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5564, allocations: 4 kB / 1.178 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.954e-06/0.5564, allocations: 0 / 1.178 GB, free: 9.816 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.5564, allocations: 0 / 1.178 GB, free: 9.816 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004278/0.5568, allocations: 347.4 kB / 1.179 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.5569, allocations: 8.031 kB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.5569, allocations: 0 / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.557, allocations: 171 kB / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.853e-05/0.5571, allocations: 37.64 kB / 1.179 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.5572, allocations: 3.984 kB / 1.179 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.5573, allocations: 45.69 kB / 1.179 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.5573, allocations: 0 / 1.179 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.5573, allocations: 0 / 1.179 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.5574, allocations: 0 / 1.179 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.993e-05/0.5574, allocations: 11.98 kB / 1.179 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008407/0.5583, allocations: 0.6066 MB / 1.179 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.403e-05/0.5583, allocations: 26.58 kB / 1.179 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.446e-05/0.5583, allocations: 4.859 kB / 1.18 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002067/0.5585, allocations: 332.5 kB / 1.18 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.5586, allocations: 34.56 kB / 1.18 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5586, allocations: 0 / 1.18 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001756/0.5588, allocations: 41.64 kB / 1.18 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.5588, allocations: 55.39 kB / 1.18 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.083e-05/0.5589, allocations: 97.86 kB / 1.18 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.5589, allocations: 29.7 kB / 1.18 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.559, allocations: 87.98 kB / 1.18 GB, free: 7.547 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.559, allocations: 7.984 kB / 1.18 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.559, allocations: 0 / 1.18 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5591, allocations: 314.9 kB / 1.18 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.571e-05/0.5592, allocations: 8 kB / 1.18 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.242e-05/0.5592, allocations: 13.72 kB / 1.18 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.148e-05/0.5592, allocations: 11.92 kB / 1.18 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5592, allocations: 4 kB / 1.18 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.099e-05/0.5593, allocations: 45.64 kB / 1.181 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.5593, allocations: 4 kB / 1.181 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.5593, allocations: 4.047 kB / 1.181 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.5594, allocations: 4.281 kB / 1.181 GB, free: 7.117 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.17e-05/0.5594, allocations: 8 kB / 1.181 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5594, allocations: 0 / 1.181 GB, free: 7.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.5595, allocations: 3.906 kB / 1.181 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.5595, allocations: 4 kB / 1.181 GB, free: 7.102 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 7.741e-05/0.5596, allocations: 113.8 kB / 1.181 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.5596, allocations: 3.984 kB / 1.181 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001238/0.5597, allocations: 124.9 kB / 1.181 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-05/0.5598, allocations: 176.3 kB / 1.181 GB, free: 6.664 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.336e-05/0.5599, allocations: 188.2 kB / 1.181 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-05/0.5599, allocations: 176.3 kB / 1.181 GB, free: 6.293 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.5602, allocations: 409.1 kB / 1.182 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/0.5602, allocations: 109 kB / 1.182 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-05/0.5603, allocations: 105 kB / 1.182 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-05/0.5603, allocations: 180.2 kB / 1.182 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.217e-05/0.5604, allocations: 180.3 kB / 1.182 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-05/0.5605, allocations: 184.2 kB / 1.182 GB, free: 5.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.666e-05/0.5605, allocations: 176.3 kB / 1.183 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.5607, allocations: 315.7 kB / 1.183 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.5608, allocations: 182.1 kB / 1.183 GB, free: 4.344 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/0.5609, allocations: 188.2 kB / 1.183 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.561, allocations: 109 kB / 1.183 GB, free: 4.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/0.5611, allocations: 180.3 kB / 1.184 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.313e-05/0.5611, allocations: 108.9 kB / 1.184 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.345e-05/0.5612, allocations: 83.28 kB / 1.184 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5612, allocations: 3.938 kB / 1.184 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003128/0.5615, allocations: 59.92 kB / 1.184 GB, free: 3.598 MB / 0.9356 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 (0): * Single equations (assignments): 0 * 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 0.0003104/0.5618, allocations: 242.7 kB / 1.184 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.176e-05/0.5619, allocations: 8 kB / 1.184 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5619, allocations: 0 / 1.184 GB, free: 3.34 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.5619, allocations: 7.938 kB / 1.184 GB, free: 3.332 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.5623, allocations: 0.5281 MB / 1.185 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.5626, allocations: 195.8 kB / 1.185 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.5628, allocations: 0.6692 MB / 1.185 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.468e-05/0.5629, allocations: 15.98 kB / 1.185 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.5629, allocations: 11.38 kB / 1.185 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.5629, allocations: 0 / 1.185 GB, free: 1.859 MB / 0.9356 GB Notification: Performance of Templates: time 0.004108/0.567, allocations: 1.219 MB / 1.187 GB, free: 0.6445 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches