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.001585/0.001585, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001868/0.001868, allocations: 221.9 kB / 23.01 MB, free: 4.609 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 8.066 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 2.907/2.907, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.001879/0.001879, allocations: 78.97 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2911, allocations: 176.1 MB / 1.327 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1593/0.4503, allocations: 138.7 MB / 1.463 GB, free: 6.285 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001544/0.4505, allocations: 51.84 kB / 1.463 GB, free: 6.234 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.054e-05/0.4505, allocations: 4 kB / 1.463 GB, free: 6.23 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001004/0.4506, allocations: 7.938 kB / 1.463 GB, free: 6.223 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.4507, allocations: 11.92 kB / 1.463 GB, free: 6.211 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.4515, allocations: 247 kB / 1.463 GB, free: 5.969 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.273e-05/0.4516, allocations: 35.91 kB / 1.463 GB, free: 5.934 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.393e-05/0.4516, allocations: 0 / 1.463 GB, free: 5.934 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.4516, allocations: 19.92 kB / 1.463 GB, free: 5.914 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.4517, allocations: 15.92 kB / 1.463 GB, free: 5.898 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.4517, allocations: 4 kB / 1.463 GB, free: 5.895 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004793/0.4522, allocations: 255.4 kB / 1.463 GB, free: 5.645 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.105e-05/0.4522, allocations: 11.98 kB / 1.463 GB, free: 5.633 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.346e-05/0.4523, allocations: 11.88 kB / 1.463 GB, free: 5.621 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003822/0.4526, allocations: 187.5 kB / 1.463 GB, free: 5.438 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4526, allocations: 0 / 1.463 GB, free: 5.438 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.012e-06/0.4526, allocations: 4 kB / 1.463 GB, free: 5.434 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4527, allocations: 0 / 1.463 GB, free: 5.434 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.0004078/0.4531, allocations: 290 kB / 1.464 GB, free: 5.121 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.4531, allocations: 12.03 kB / 1.464 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.5e-05/0.4531, allocations: 0.9375 kB / 1.464 GB, free: 5.109 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.25e-05/0.4532, allocations: 106.5 kB / 1.464 GB, free: 4.98 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.554e-05/0.4533, allocations: 51.97 kB / 1.464 GB, free: 4.918 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-06/0.4533, allocations: 3.938 kB / 1.464 GB, free: 4.914 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.4534, allocations: 49.69 kB / 1.464 GB, free: 4.859 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.4534, allocations: 0 / 1.464 GB, free: 4.859 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.4534, allocations: 0 / 1.464 GB, free: 4.859 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.4535, allocations: 0 / 1.464 GB, free: 4.859 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.4535, allocations: 19.92 kB / 1.464 GB, free: 4.84 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.4541, allocations: 279.9 kB / 1.464 GB, free: 4.523 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.4541, allocations: 22.58 kB / 1.464 GB, free: 4.492 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.678e-05/0.4541, allocations: 8.859 kB / 1.464 GB, free: 4.48 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.64e-05/0.4542, allocations: 28.03 kB / 1.464 GB, free: 4.453 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4542, allocations: 30.56 kB / 1.464 GB, free: 4.414 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.4542, allocations: 0 / 1.464 GB, free: 4.414 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.4544, allocations: 41.64 kB / 1.464 GB, free: 4.367 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.4544, allocations: 51.41 kB / 1.464 GB, free: 4.305 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.534e-05/0.4545, allocations: 113.9 kB / 1.464 GB, free: 4.184 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.4545, allocations: 25.7 kB / 1.464 GB, free: 4.152 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 4.969e-05/0.4546, allocations: 88.09 kB / 1.465 GB, free: 4.062 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.972e-06/0.4546, allocations: 3.938 kB / 1.465 GB, free: 4.059 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.4546, allocations: 13.72 kB / 1.465 GB, free: 4.039 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.4548, allocations: 322.8 kB / 1.465 GB, free: 3.715 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.431e-05/0.4548, allocations: 4 kB / 1.465 GB, free: 3.711 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.545e-05/0.4548, allocations: 17.72 kB / 1.465 GB, free: 3.688 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.995e-05/0.4548, allocations: 29.64 kB / 1.465 GB, free: 3.652 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4548, allocations: 3.938 kB / 1.465 GB, free: 3.648 MB / 1.154 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.452e-05/0.4549, allocations: 41.7 kB / 1.465 GB, free: 3.602 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.4549, allocations: 7.984 kB / 1.465 GB, free: 3.594 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4549, allocations: 7.938 kB / 1.465 GB, free: 3.586 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.455, allocations: 4 kB / 1.465 GB, free: 3.582 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.842e-05/0.455, allocations: 8.062 kB / 1.465 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.455, allocations: 0 / 1.465 GB, free: 3.574 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.455, allocations: 3.953 kB / 1.465 GB, free: 3.57 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.455, allocations: 7.938 kB / 1.465 GB, free: 3.562 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 8.525e-05/0.4551, allocations: 109.8 kB / 1.465 GB, free: 3.445 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.659e-05/0.4551, allocations: 4 kB / 1.465 GB, free: 3.441 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.4553, allocations: 117 kB / 1.465 GB, free: 3.316 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.288e-05/0.4553, allocations: 188.2 kB / 1.465 GB, free: 3.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.776e-05/0.4554, allocations: 176.3 kB / 1.466 GB, free: 2.945 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.432e-05/0.4555, allocations: 180.2 kB / 1.466 GB, free: 2.762 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.4558, allocations: 380.2 kB / 1.466 GB, free: 2.34 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001082/0.4559, allocations: 105 kB / 1.466 GB, free: 2.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.456, allocations: 112.9 kB / 1.466 GB, free: 2.113 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.773e-05/0.4561, allocations: 180.3 kB / 1.466 GB, free: 1.93 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.463e-05/0.4561, allocations: 184.2 kB / 1.467 GB, free: 1.742 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.942e-05/0.4562, allocations: 176.3 kB / 1.467 GB, free: 1.562 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001117/0.4563, allocations: 184.4 kB / 1.467 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.4565, allocations: 315.8 kB / 1.467 GB, free: 1.043 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.4565, allocations: 104.9 kB / 1.467 GB, free: 0.9336 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.4566, allocations: 176.3 kB / 1.468 GB, free: 0.7539 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001514/0.4568, allocations: 112.9 kB / 1.468 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.4569, allocations: 176.3 kB / 1.468 GB, free: 468 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.4569, allocations: 109 kB / 1.468 GB, free: 352 kB / 1.154 GB Notification: Performance of sorting global known variables: time 5.994e-05/0.457, allocations: 91.2 kB / 1.468 GB, free: 260 kB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.457, allocations: 0 / 1.468 GB, free: 260 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003276/0.4573, allocations: 55.75 kB / 1.468 GB, free: 204 kB / 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.0003234/0.4576, allocations: 270.2 kB / 1.468 GB, free: 15.92 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 6.98e-05/0.4577, allocations: 11.98 kB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4577, allocations: 4 kB / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.182e-06/0.4577, allocations: 0 / 1.468 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.4582, allocations: 455.8 kB / 1.469 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.4585, allocations: 207.8 kB / 1.469 GB, free: 15.22 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.4588, allocations: 0.6729 MB / 1.47 GB, free: 14.52 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.4588, allocations: 11.44 kB / 1.47 GB, free: 14.51 MB / 1.17 GB Notification: Performance of SimCode: time 2.9e-07/0.4588, allocations: 0 / 1.47 GB, free: 14.51 MB / 1.17 GB Notification: Performance of Templates: time 0.002866/0.4617, allocations: 1.235 MB / 1.471 GB, free: 13.28 MB / 1.17 GB " [Timeout remaining time 300] 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/jenkins1/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: 10.303911713999696]