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.001904/0.001904, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.002288/0.002288, allocations: 207.8 kB / 22.99 MB, free: 4.957 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.166/3.166, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.00205/0.00205, allocations: 74.03 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3003, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1499/0.4502, allocations: 119 MB / 1.443 GB, free: 9.527 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.000155/0.4504, allocations: 55.64 kB / 1.443 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.082e-05/0.4504, allocations: 0 / 1.443 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 9.9e-05/0.4505, allocations: 0 / 1.443 GB, free: 9.477 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.4506, allocations: 15.91 kB / 1.443 GB, free: 9.461 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000831/0.4514, allocations: 247 kB / 1.444 GB, free: 9.219 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 7.989e-05/0.4515, allocations: 35.84 kB / 1.444 GB, free: 9.184 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.333e-05/0.4515, allocations: 4 kB / 1.444 GB, free: 9.18 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 3.331e-05/0.4516, allocations: 11.98 kB / 1.444 GB, free: 9.168 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 6.985e-05/0.4516, allocations: 19.91 kB / 1.444 GB, free: 9.148 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.4516, allocations: 0 / 1.444 GB, free: 9.148 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003668/0.452, allocations: 175.5 kB / 1.444 GB, free: 8.977 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 4.335e-05/0.4521, allocations: 15.97 kB / 1.444 GB, free: 8.961 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.4521, allocations: 4 kB / 1.444 GB, free: 8.957 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.4524, allocations: 175.5 kB / 1.444 GB, free: 8.785 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4524, allocations: 0 / 1.444 GB, free: 8.785 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4524, allocations: 0 / 1.444 GB, free: 8.785 MB / 1.139 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.4524, allocations: 3.938 kB / 1.444 GB, free: 8.781 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.0004216/0.4528, allocations: 282 kB / 1.444 GB, free: 8.477 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.4529, allocations: 8.031 kB / 1.444 GB, free: 8.469 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.203e-05/0.4529, allocations: 4.938 kB / 1.444 GB, free: 8.465 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.958e-05/0.453, allocations: 106.5 kB / 1.444 GB, free: 8.336 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.374e-05/0.4531, allocations: 59.97 kB / 1.444 GB, free: 8.266 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.4531, allocations: 3.938 kB / 1.444 GB, free: 8.262 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.4532, allocations: 71.38 kB / 1.445 GB, free: 8.18 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4532, allocations: 0 / 1.445 GB, free: 8.18 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.4533, allocations: 0 / 1.445 GB, free: 8.18 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.694e-05/0.4533, allocations: 11.88 kB / 1.445 GB, free: 8.168 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.094e-05/0.4533, allocations: 11.98 kB / 1.445 GB, free: 8.156 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.4539, allocations: 256.5 kB / 1.445 GB, free: 7.875 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 4.23e-05/0.4539, allocations: 18.58 kB / 1.445 GB, free: 7.848 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.454, allocations: 8.859 kB / 1.445 GB, free: 7.836 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 8.095e-05/0.454, allocations: 32.03 kB / 1.445 GB, free: 7.805 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.4541, allocations: 34.5 kB / 1.445 GB, free: 7.762 MB / 1.139 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.4541, allocations: 4 kB / 1.445 GB, free: 7.758 MB / 1.139 GB Notification: Performance of matching and sorting (n=1): time 0.0001293/0.4542, allocations: 29.7 kB / 1.445 GB, free: 7.723 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.4542, allocations: 51.41 kB / 1.445 GB, free: 7.66 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.4543, allocations: 113.8 kB / 1.445 GB, free: 7.539 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.4544, allocations: 25.7 kB / 1.445 GB, free: 7.508 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.4544, allocations: 88.03 kB / 1.445 GB, free: 7.418 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 4.858e-05/0.4545, allocations: 12.11 kB / 1.445 GB, free: 7.406 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.4545, allocations: 17.72 kB / 1.445 GB, free: 7.383 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.4547, allocations: 314.8 kB / 1.445 GB, free: 7.066 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.075e-05/0.4548, allocations: 4 kB / 1.445 GB, free: 7.062 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.4548, allocations: 25.64 kB / 1.446 GB, free: 7.031 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.798e-05/0.4549, allocations: 13.72 kB / 1.446 GB, free: 7.012 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4549, allocations: 0 / 1.446 GB, free: 7.012 MB / 1.139 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001633/0.4551, allocations: 53.62 kB / 1.446 GB, free: 6.953 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.4551, allocations: 8.062 kB / 1.446 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4551, allocations: 0 / 1.446 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4551, allocations: 0 / 1.446 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.4552, allocations: 8 kB / 1.446 GB, free: 6.938 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.4552, allocations: 0 / 1.446 GB, free: 6.938 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.187e-05/0.4552, allocations: 3.953 kB / 1.446 GB, free: 6.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.4552, allocations: 0 / 1.446 GB, free: 6.934 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 0.000124/0.4554, allocations: 121.8 kB / 1.446 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.4554, allocations: 0 / 1.446 GB, free: 6.805 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.4556, allocations: 116.9 kB / 1.446 GB, free: 6.68 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001042/0.4557, allocations: 188.3 kB / 1.446 GB, free: 6.488 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/0.4558, allocations: 184.2 kB / 1.446 GB, free: 6.301 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001021/0.4559, allocations: 184.1 kB / 1.446 GB, free: 6.113 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003425/0.4562, allocations: 356.8 kB / 1.447 GB, free: 5.727 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.126e-05/0.4563, allocations: 112.9 kB / 1.447 GB, free: 5.609 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.189e-05/0.4564, allocations: 105 kB / 1.447 GB, free: 5.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001044/0.4565, allocations: 184.2 kB / 1.447 GB, free: 5.312 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.4566, allocations: 180.3 kB / 1.447 GB, free: 5.129 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.985e-05/0.4567, allocations: 176.4 kB / 1.447 GB, free: 4.949 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00011/0.4568, allocations: 184.2 kB / 1.448 GB, free: 4.762 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.457, allocations: 315.7 kB / 1.448 GB, free: 4.43 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 7.677e-05/0.4571, allocations: 105 kB / 1.448 GB, free: 4.32 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/0.4572, allocations: 184.2 kB / 1.448 GB, free: 4.133 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.4575, allocations: 108.9 kB / 1.448 GB, free: 4.02 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4576, allocations: 180.3 kB / 1.448 GB, free: 3.836 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.517e-05/0.4577, allocations: 104.9 kB / 1.449 GB, free: 3.727 MB / 1.139 GB Notification: Performance of sorting global known variables: time 8.788e-05/0.4578, allocations: 87.27 kB / 1.449 GB, free: 3.641 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4578, allocations: 0 / 1.449 GB, free: 3.641 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0005987/0.4584, allocations: 55.75 kB / 1.449 GB, free: 3.586 MB / 1.139 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.0005124/0.4589, allocations: 261.2 kB / 1.449 GB, free: 3.32 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.000102/0.459, allocations: 7.984 kB / 1.449 GB, free: 3.312 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.459, allocations: 0 / 1.449 GB, free: 3.312 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-06/0.459, allocations: 0 / 1.449 GB, free: 3.312 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000699/0.4597, allocations: 472.5 kB / 1.449 GB, free: 2.848 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.46, allocations: 182.1 kB / 1.45 GB, free: 2.645 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.484e-05/0.4601, allocations: 55.36 kB / 1.45 GB, free: 2.57 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 6.124e-05/0.4602, allocations: 7.984 kB / 1.45 GB, free: 2.562 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.794e-05/0.4602, allocations: 11.44 kB / 1.45 GB, free: 2.551 MB / 1.139 GB Notification: Performance of SimCode: time 5.41e-07/0.4602, allocations: 0 / 1.45 GB, free: 2.551 MB / 1.139 GB Notification: Performance of Templates: time 0.005962/0.4662, allocations: 1.347 MB / 1.451 GB, free: 1.207 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 -s gbode -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.617543768006726]