Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_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.001504/0.001504, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001574/0.001574, allocations: 189.9 kB / 17.3 MB, free: 5.828 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 / 241 MB, free: 15.2 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.296/2.296, allocations: 390.3 MB / 0.6655 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 61.19 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2586, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1511/0.4097, allocations: 135.4 MB / 1.083 GB, free: 124 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001826/0.4099, allocations: 51.78 kB / 1.083 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.534e-05/0.4099, allocations: 0 / 1.083 GB, free: 72 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.41, allocations: 8 kB / 1.083 GB, free: 64 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.4102, allocations: 7.922 kB / 1.083 GB, free: 56 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.4486/0.8588, allocations: 236.4 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.859, allocations: 33.66 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.859, allocations: 4.922 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.046e-05/0.8591, allocations: 19.41 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.84e-05/0.8591, allocations: 13.81 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.8591, allocations: 1.438 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004774/0.8596, allocations: 245.6 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.481e-05/0.8597, allocations: 6.203 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.8597, allocations: 14.78 kB / 1.084 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003692/0.8601, allocations: 185.9 kB / 1.084 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.8601, allocations: 0.6562 kB / 1.084 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.734e-06/0.8601, allocations: 4.75 kB / 1.084 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.8601, allocations: 0 / 1.084 GB, free: 7.797 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004383/0.8606, allocations: 364.8 kB / 1.085 GB, free: 23.43 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.8606, allocations: 9.156 kB / 1.085 GB, free: 23.43 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.8607, allocations: 4.75 kB / 1.085 GB, free: 23.43 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.89e-05/0.8608, allocations: 162.2 kB / 1.085 GB, free: 23.23 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.341e-05/0.8608, allocations: 29.02 kB / 1.085 GB, free: 23.2 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.8608, allocations: 2.656 kB / 1.085 GB, free: 23.2 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.861, allocations: 49.81 kB / 1.085 GB, free: 23.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.861, allocations: 3.188 kB / 1.085 GB, free: 23.17 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.861, allocations: 1.219 kB / 1.085 GB, free: 23.17 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.861, allocations: 2.094 kB / 1.085 GB, free: 23.17 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.706e-05/0.8611, allocations: 16.62 kB / 1.085 GB, free: 23.17 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007198/0.8618, allocations: 0.5977 MB / 1.085 GB, free: 22.53 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 3.43e-05/0.8618, allocations: 21.47 kB / 1.085 GB, free: 22.5 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.233e-05/0.8619, allocations: 7.328 kB / 1.085 GB, free: 22.5 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/0.8621, allocations: 338.2 kB / 1.086 GB, free: 22.12 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.8621, allocations: 32.84 kB / 1.086 GB, free: 22.08 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.8621, allocations: 0.5312 kB / 1.086 GB, free: 22.08 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001344/0.8622, allocations: 38.17 kB / 1.086 GB, free: 22.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.8623, allocations: 55.8 kB / 1.086 GB, free: 21.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.8624, allocations: 102.9 kB / 1.086 GB, free: 21.89 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.8624, allocations: 28.02 kB / 1.086 GB, free: 21.86 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.8624, allocations: 89.47 kB / 1.086 GB, free: 21.77 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-06/0.8624, allocations: 4.625 kB / 1.086 GB, free: 21.77 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/0.8625, allocations: 17.53 kB / 1.086 GB, free: 21.75 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.754e-05/0.8626, allocations: 320.5 kB / 1.086 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.656e-05/0.8626, allocations: 3.297 kB / 1.086 GB, free: 21.43 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.8626, allocations: 19.39 kB / 1.086 GB, free: 21.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.8627, allocations: 25.39 kB / 1.086 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8627, allocations: 5.656 kB / 1.086 GB, free: 21.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.613e-05/0.8628, allocations: 47.62 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.8628, allocations: 7.125 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.8628, allocations: 2.25 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.8628, allocations: 0.8125 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.583e-05/0.8629, allocations: 7.75 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.8629, allocations: 2.672 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.8629, allocations: 1.938 kB / 1.086 GB, free: 21.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.8629, allocations: 2.406 kB / 1.086 GB, free: 21.37 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.074e-05/0.863, allocations: 119 kB / 1.087 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.951e-05/0.863, allocations: 5.953 kB / 1.087 GB, free: 21.25 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.883e-05/0.8631, allocations: 118.1 kB / 1.087 GB, free: 21.13 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-05/0.8632, allocations: 178.7 kB / 1.087 GB, free: 20.95 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.374e-05/0.8633, allocations: 189.6 kB / 1.087 GB, free: 20.77 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.186e-05/0.8634, allocations: 178.7 kB / 1.087 GB, free: 20.59 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.8636, allocations: 410.9 kB / 1.088 GB, free: 20.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/0.8636, allocations: 102.9 kB / 1.088 GB, free: 20.04 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.8636, allocations: 107.6 kB / 1.088 GB, free: 19.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.853e-05/0.8637, allocations: 178.7 kB / 1.088 GB, free: 19.75 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.8638, allocations: 182.2 kB / 1.088 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.239e-05/0.8638, allocations: 179.6 kB / 1.088 GB, free: 19.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.886e-05/0.8639, allocations: 188.3 kB / 1.089 GB, free: 19.21 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.864, allocations: 308.4 kB / 1.089 GB, free: 18.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.8641, allocations: 185.2 kB / 1.089 GB, free: 18.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.8642, allocations: 181.6 kB / 1.089 GB, free: 18.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.8643, allocations: 106.5 kB / 1.089 GB, free: 18.42 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.8644, allocations: 182.4 kB / 1.089 GB, free: 18.24 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.8644, allocations: 105.4 kB / 1.09 GB, free: 18.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.149e-05/0.8645, allocations: 87.81 kB / 1.09 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8645, allocations: 0.9688 kB / 1.09 GB, free: 18.06 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003226/0.8648, allocations: 60.81 kB / 1.09 GB, free: 18.04 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 (0): * Single equations (assignments): 0 * 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 0.0003262/0.8652, allocations: 254.4 kB / 1.09 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.608e-05/0.8652, allocations: 12.17 kB / 1.09 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.8653, allocations: 0 / 1.09 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.466e-06/0.8653, allocations: 5.953 kB / 1.09 GB, free: 17.87 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004205/0.8657, allocations: 460.6 kB / 1.09 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002588/0.866, allocations: 189.5 kB / 1.091 GB, free: 17.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.8662, allocations: 0.6748 MB / 1.091 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.8663, allocations: 9.078 kB / 1.091 GB, free: 16.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.585e-05/0.8663, allocations: 8.344 kB / 1.091 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of SimCode: time 9.42e-07/0.8663, allocations: 5.906 kB / 1.091 GB, free: 16.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.004265/0.8706, allocations: 1.296 MB / 1.093 GB, free: 16.47 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches