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.001297/0.001297, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001429/0.001429, allocations: 215.1 kB / 23 MB, free: 4.965 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.443/1.443, allocations: 230.6 MB / 256.8 MB, free: 7.832 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.247/3.247, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002042/0.002042, allocations: 68.02 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3007, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1488/0.4495, allocations: 119 MB / 1.443 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.0001569/0.4496, allocations: 51.86 kB / 1.443 GB, free: 9.531 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.981e-05/0.4497, allocations: 8 kB / 1.443 GB, free: 9.523 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.4498, allocations: 3.938 kB / 1.443 GB, free: 9.52 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.4498, allocations: 15.91 kB / 1.443 GB, free: 9.504 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008332/0.4507, allocations: 246.5 kB / 1.444 GB, free: 9.266 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.4508, allocations: 35.84 kB / 1.444 GB, free: 9.23 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.474e-05/0.4508, allocations: 0 / 1.444 GB, free: 9.23 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.794e-05/0.4508, allocations: 19.97 kB / 1.444 GB, free: 9.211 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 7.499e-05/0.4509, allocations: 15.92 kB / 1.444 GB, free: 9.195 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.4509, allocations: 0 / 1.444 GB, free: 9.195 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.4513, allocations: 175.6 kB / 1.444 GB, free: 9.023 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.4513, allocations: 7.922 kB / 1.444 GB, free: 9.016 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.4514, allocations: 15.94 kB / 1.444 GB, free: 9 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003295/0.4517, allocations: 171.5 kB / 1.444 GB, free: 8.832 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.4517, allocations: 0 / 1.444 GB, free: 8.832 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.372e-06/0.4517, allocations: 4 kB / 1.444 GB, free: 8.828 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.4517, allocations: 0 / 1.444 GB, free: 8.828 MB / 1.139 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.000419/0.4521, allocations: 287.8 kB / 1.444 GB, free: 8.52 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.4522, allocations: 8.031 kB / 1.444 GB, free: 8.512 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.4522, allocations: 0.9375 kB / 1.444 GB, free: 8.512 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.928e-05/0.4523, allocations: 114.5 kB / 1.444 GB, free: 8.375 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.4524, allocations: 51.97 kB / 1.444 GB, free: 8.312 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.4524, allocations: 3.938 kB / 1.444 GB, free: 8.309 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.4525, allocations: 71.39 kB / 1.445 GB, free: 8.227 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.4525, allocations: 4 kB / 1.445 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4526, allocations: 0 / 1.445 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.4526, allocations: 0 / 1.445 GB, free: 8.223 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.4526, allocations: 19.98 kB / 1.445 GB, free: 8.203 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.4532, allocations: 252.5 kB / 1.445 GB, free: 7.926 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 3.886e-05/0.4532, allocations: 18.52 kB / 1.445 GB, free: 7.898 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.736e-05/0.4533, allocations: 4.859 kB / 1.445 GB, free: 7.891 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.437e-05/0.4533, allocations: 36.03 kB / 1.445 GB, free: 7.855 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.4534, allocations: 34.5 kB / 1.445 GB, free: 7.812 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.4534, allocations: 4 kB / 1.445 GB, free: 7.809 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001391/0.4535, allocations: 33.7 kB / 1.445 GB, free: 7.77 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.4535, allocations: 55.34 kB / 1.445 GB, free: 7.703 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.4536, allocations: 105.8 kB / 1.445 GB, free: 7.59 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4536, allocations: 25.7 kB / 1.445 GB, free: 7.559 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.4537, allocations: 96.03 kB / 1.445 GB, free: 7.461 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 6.402e-06/0.4537, allocations: 3.984 kB / 1.445 GB, free: 7.457 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.4537, allocations: 17.7 kB / 1.445 GB, free: 7.434 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.4539, allocations: 314.8 kB / 1.445 GB, free: 7.117 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.675e-05/0.4539, allocations: 8 kB / 1.446 GB, free: 7.109 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.4539, allocations: 21.83 kB / 1.446 GB, free: 7.082 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.945e-05/0.454, allocations: 21.72 kB / 1.446 GB, free: 7.055 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.454, allocations: 0 / 1.446 GB, free: 7.055 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.468e-05/0.454, allocations: 49.62 kB / 1.446 GB, free: 7 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.4541, allocations: 4 kB / 1.446 GB, free: 6.996 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.4541, allocations: 4 kB / 1.446 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.4541, allocations: 0 / 1.446 GB, free: 6.992 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.4541, allocations: 4 kB / 1.446 GB, free: 6.988 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.4541, allocations: 4.062 kB / 1.446 GB, free: 6.984 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.4541, allocations: 7.953 kB / 1.446 GB, free: 6.977 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4541, allocations: 0 / 1.446 GB, free: 6.977 MB / 1.139 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.65e-05/0.4542, allocations: 125.6 kB / 1.446 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.4543, allocations: 0 / 1.446 GB, free: 6.844 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4544, allocations: 117.3 kB / 1.446 GB, free: 6.719 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.449e-05/0.4544, allocations: 180.2 kB / 1.446 GB, free: 6.535 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.953e-05/0.4545, allocations: 109 kB / 1.446 GB, free: 6.422 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.4545, allocations: 105 kB / 1.446 GB, free: 6.312 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.923e-05/0.4546, allocations: 184.2 kB / 1.446 GB, free: 6.125 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.4548, allocations: 112.9 kB / 1.447 GB, free: 6.008 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/0.4549, allocations: 188.2 kB / 1.447 GB, free: 5.816 MB / 1.139 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001027/0.455, allocations: 255.5 kB / 1.447 GB, free: 5.559 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001948/0.4552, allocations: 379.2 kB / 1.447 GB, free: 5.164 MB / 1.139 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.097e-05/0.4552, allocations: 113 kB / 1.447 GB, free: 5.047 MB / 1.139 GB Notification: Performance of sorting global known variables: time 5.352e-05/0.4553, allocations: 83.28 kB / 1.447 GB, free: 4.965 MB / 1.139 GB Notification: Performance of Backend: time 1.41e-07/0.4553, allocations: 0 / 1.447 GB, free: 4.965 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0005221/0.4558, allocations: 172 kB / 1.448 GB, free: 4.789 MB / 1.139 GB Notification: Performance of SimCode: time 0.0005984/0.4564, allocations: 0.8524 MB / 1.448 GB, free: 3.887 MB / 1.139 GB Notification: Performance of Templates: time 0.003894/0.4603, allocations: 1.253 MB / 1.45 GB, free: 2.637 MB / 1.139 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: 8.674333281000145]