Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 106.7 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.532/1.532, allocations: 230.6 MB / 252.8 MB, free: 8.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.257/3.257, allocations: 0.4899 GB / 0.7915 GB, free: 33.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002135/0.002135, allocations: 71.62 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4667, allocations: 176.1 MB / 1.321 GB, free: 2.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1924/0.659, allocations: 138.6 MB / 1.457 GB, free: 7.734 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.6592, allocations: 55.8 kB / 1.457 GB, free: 7.68 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.6593, allocations: 0 / 1.457 GB, free: 7.68 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.6594, allocations: 7.938 kB / 1.457 GB, free: 7.672 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.261e-05/0.6595, allocations: 15.91 kB / 1.457 GB, free: 7.656 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.6605, allocations: 245.1 kB / 1.457 GB, free: 7.418 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.896e-05/0.6606, allocations: 27.92 kB / 1.457 GB, free: 7.391 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 5.449e-05/0.6607, allocations: 7.984 kB / 1.457 GB, free: 7.383 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.6607, allocations: 15.92 kB / 1.457 GB, free: 7.367 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 9.742e-05/0.6608, allocations: 15.92 kB / 1.457 GB, free: 7.352 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.6608, allocations: 0 / 1.457 GB, free: 7.352 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.6613, allocations: 255.4 kB / 1.457 GB, free: 7.102 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.108e-05/0.6614, allocations: 11.97 kB / 1.457 GB, free: 7.09 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.6614, allocations: 7.938 kB / 1.457 GB, free: 7.082 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003775/0.6618, allocations: 183.6 kB / 1.457 GB, free: 6.902 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6618, allocations: 4 kB / 1.457 GB, free: 6.898 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.853e-06/0.6618, allocations: 3.938 kB / 1.457 GB, free: 6.895 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.141e-05/0.6618, allocations: 0 / 1.457 GB, free: 6.895 MB / 1.154 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.0005374/0.6624, allocations: 363.1 kB / 1.458 GB, free: 6.492 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6624, allocations: 15.98 kB / 1.458 GB, free: 6.477 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.374e-05/0.6624, allocations: 0.9375 kB / 1.458 GB, free: 6.477 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.6626, allocations: 164.4 kB / 1.458 GB, free: 6.277 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.247e-05/0.6627, allocations: 34.27 kB / 1.458 GB, free: 6.238 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.6627, allocations: 3.938 kB / 1.458 GB, free: 6.234 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.6628, allocations: 41.69 kB / 1.458 GB, free: 6.188 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.6629, allocations: 0 / 1.458 GB, free: 6.188 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.6629, allocations: 0 / 1.458 GB, free: 6.188 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6629, allocations: 4 kB / 1.458 GB, free: 6.184 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.287e-05/0.6629, allocations: 19.92 kB / 1.458 GB, free: 6.164 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009736/0.6639, allocations: 0.595 MB / 1.459 GB, free: 5.445 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.956e-05/0.664, allocations: 22.58 kB / 1.459 GB, free: 5.414 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.755e-05/0.664, allocations: 8.859 kB / 1.459 GB, free: 5.402 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002621/0.6642, allocations: 332.5 kB / 1.459 GB, free: 5.004 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.981e-05/0.6643, allocations: 34.56 kB / 1.459 GB, free: 4.961 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.6643, allocations: 0 / 1.459 GB, free: 4.961 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001641/0.6644, allocations: 41.58 kB / 1.459 GB, free: 4.914 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.23e-05/0.6645, allocations: 55.53 kB / 1.459 GB, free: 4.848 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.6646, allocations: 105.8 kB / 1.459 GB, free: 4.734 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.6646, allocations: 25.7 kB / 1.459 GB, free: 4.703 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.6647, allocations: 84.09 kB / 1.459 GB, free: 4.617 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.196e-05/0.6647, allocations: 11.94 kB / 1.459 GB, free: 4.605 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.6647, allocations: 13.72 kB / 1.459 GB, free: 4.586 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.6649, allocations: 314.8 kB / 1.46 GB, free: 4.27 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.066e-05/0.6649, allocations: 11.92 kB / 1.46 GB, free: 4.258 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.6649, allocations: 17.72 kB / 1.46 GB, free: 4.234 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.464e-05/0.665, allocations: 25.66 kB / 1.46 GB, free: 4.203 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.665, allocations: 0 / 1.46 GB, free: 4.203 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.547e-05/0.6651, allocations: 45.62 kB / 1.46 GB, free: 4.152 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.6651, allocations: 10.19 kB / 1.46 GB, free: 4.145 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.6651, allocations: 0 / 1.46 GB, free: 4.145 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.6651, allocations: 4.062 kB / 1.46 GB, free: 4.141 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.6652, allocations: 15.92 kB / 1.46 GB, free: 4.125 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.6652, allocations: 11.98 kB / 1.46 GB, free: 4.113 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.959e-05/0.6652, allocations: 3.953 kB / 1.46 GB, free: 4.109 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.6652, allocations: 3.938 kB / 1.46 GB, free: 4.105 MB / 1.154 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 9.95e-05/0.6653, allocations: 109.8 kB / 1.46 GB, free: 3.988 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.6653, allocations: 0 / 1.46 GB, free: 3.988 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.6655, allocations: 121 kB / 1.46 GB, free: 3.855 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.519e-05/0.6656, allocations: 184.2 kB / 1.46 GB, free: 3.668 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-05/0.6657, allocations: 176.3 kB / 1.46 GB, free: 3.488 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001055/0.6658, allocations: 188.2 kB / 1.461 GB, free: 3.297 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.6661, allocations: 405.2 kB / 1.461 GB, free: 2.844 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/0.6661, allocations: 105 kB / 1.461 GB, free: 2.734 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.09e-05/0.6662, allocations: 108.9 kB / 1.461 GB, free: 2.621 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.041e-05/0.6663, allocations: 180.2 kB / 1.461 GB, free: 2.438 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.662e-05/0.6664, allocations: 180.2 kB / 1.461 GB, free: 2.254 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.513e-05/0.6665, allocations: 180.3 kB / 1.462 GB, free: 2.07 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.46e-05/0.6666, allocations: 184.4 kB / 1.462 GB, free: 1.883 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.6668, allocations: 311.8 kB / 1.462 GB, free: 1.555 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.6669, allocations: 182 kB / 1.462 GB, free: 1.352 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.753e-05/0.667, allocations: 184.3 kB / 1.462 GB, free: 1.164 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.6671, allocations: 105 kB / 1.463 GB, free: 1.055 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/0.6672, allocations: 184.2 kB / 1.463 GB, free: 0.8672 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.6673, allocations: 105 kB / 1.463 GB, free: 0.7578 MB / 1.154 GB Notification: Performance of sorting global known variables: time 6.22e-05/0.6673, allocations: 91.2 kB / 1.463 GB, free: 0.668 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.6673, allocations: 0 / 1.463 GB, free: 0.668 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003296/0.6677, allocations: 51.75 kB / 1.463 GB, free: 0.6172 MB / 1.154 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.0003841/0.668, allocations: 262.4 kB / 1.463 GB, free: 356 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.42e-05/0.6681, allocations: 11.94 kB / 1.463 GB, free: 344 kB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.6681, allocations: 0 / 1.463 GB, free: 344 kB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.6681, allocations: 0 / 1.463 GB, free: 344 kB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004922/0.6686, allocations: 472 kB / 1.464 GB, free: 15.87 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.6689, allocations: 185.7 kB / 1.464 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.6693, allocations: 0.6806 MB / 1.464 GB, free: 14.96 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.6693, allocations: 11.92 kB / 1.465 GB, free: 14.95 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.6694, allocations: 7.438 kB / 1.465 GB, free: 14.94 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/0.6694, allocations: 4 kB / 1.465 GB, free: 14.93 MB / 1.17 GB Notification: Performance of Templates: time 0.004482/0.6738, allocations: 1.281 MB / 1.466 GB, free: 13.66 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.387774183880538]