Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001377/0.001377, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001522/0.001522, allocations: 220.6 kB / 23 MB, free: 4.918 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.306/3.306, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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.002335/0.002335, allocations: 64 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3891, allocations: 181.9 MB / 1.365 GB, free: 13.58 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1643/0.5534, allocations: 119 MB / 1.481 GB, free: 6.117 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001831/0.5536, allocations: 59.8 kB / 1.481 GB, free: 6.059 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.5536, allocations: 0 / 1.481 GB, free: 6.059 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.5537, allocations: 7.938 kB / 1.481 GB, free: 6.051 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.078e-05/0.5538, allocations: 15.92 kB / 1.481 GB, free: 6.035 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009399/0.5548, allocations: 235 kB / 1.481 GB, free: 5.805 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.318e-05/0.5549, allocations: 31.91 kB / 1.481 GB, free: 5.773 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.5549, allocations: 8 kB / 1.481 GB, free: 5.766 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.554e-05/0.555, allocations: 23.86 kB / 1.481 GB, free: 5.742 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.774e-05/0.555, allocations: 15.97 kB / 1.481 GB, free: 5.727 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.555, allocations: 0 / 1.481 GB, free: 5.727 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004561/0.5555, allocations: 171.5 kB / 1.481 GB, free: 5.559 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.5556, allocations: 11.98 kB / 1.481 GB, free: 5.547 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.377e-05/0.5556, allocations: 7.938 kB / 1.481 GB, free: 5.539 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.556, allocations: 167.6 kB / 1.482 GB, free: 5.375 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.556, allocations: 0 / 1.482 GB, free: 5.375 MB / 1.17 GB Notification: Performance of FrontEnd: time 7.81e-07/0.556, allocations: 0 / 1.482 GB, free: 5.375 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.556, allocations: 4 kB / 1.482 GB, free: 5.371 MB / 1.17 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.0004085/0.5564, allocations: 290 kB / 1.482 GB, free: 5.059 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5564, allocations: 8.031 kB / 1.482 GB, free: 5.051 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.5565, allocations: 4.938 kB / 1.482 GB, free: 5.047 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.5566, allocations: 106.5 kB / 1.482 GB, free: 4.918 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/0.5567, allocations: 59.95 kB / 1.482 GB, free: 4.848 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.187e-05/0.5567, allocations: 3.938 kB / 1.482 GB, free: 4.844 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.5568, allocations: 67.39 kB / 1.482 GB, free: 4.766 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.5568, allocations: 0 / 1.482 GB, free: 4.766 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.5569, allocations: 4 kB / 1.482 GB, free: 4.762 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.5569, allocations: 4 kB / 1.482 GB, free: 4.758 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.5569, allocations: 11.98 kB / 1.482 GB, free: 4.746 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000628/0.5575, allocations: 260.4 kB / 1.482 GB, free: 4.461 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.325e-05/0.5576, allocations: 18.58 kB / 1.482 GB, free: 4.434 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.583e-05/0.5576, allocations: 4.859 kB / 1.482 GB, free: 4.426 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/0.5577, allocations: 28.03 kB / 1.482 GB, free: 4.398 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.5577, allocations: 38.56 kB / 1.482 GB, free: 4.352 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 2.976e-06/0.5577, allocations: 3.984 kB / 1.482 GB, free: 4.348 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001491/0.5579, allocations: 37.64 kB / 1.482 GB, free: 4.305 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.5579, allocations: 55.39 kB / 1.482 GB, free: 4.238 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.655e-05/0.558, allocations: 101.9 kB / 1.483 GB, free: 4.129 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.558, allocations: 25.7 kB / 1.483 GB, free: 4.098 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.942e-05/0.5581, allocations: 92.02 kB / 1.483 GB, free: 4.004 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 7.074e-06/0.5581, allocations: 7.953 kB / 1.483 GB, free: 3.996 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.732e-05/0.5581, allocations: 17.72 kB / 1.483 GB, free: 3.973 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.5583, allocations: 314.8 kB / 1.483 GB, free: 3.656 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.589e-05/0.5583, allocations: 7.938 kB / 1.483 GB, free: 3.648 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.5583, allocations: 25.7 kB / 1.483 GB, free: 3.617 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.5583, allocations: 25.72 kB / 1.483 GB, free: 3.586 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5583, allocations: 0 / 1.483 GB, free: 3.586 MB / 1.17 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.355e-05/0.5584, allocations: 49.69 kB / 1.483 GB, free: 3.531 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5584, allocations: 4 kB / 1.483 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5584, allocations: 0 / 1.483 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5585, allocations: 0 / 1.483 GB, free: 3.527 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-05/0.5585, allocations: 11.94 kB / 1.483 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.5585, allocations: 0 / 1.483 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.5585, allocations: 4.062 kB / 1.483 GB, free: 3.512 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.5585, allocations: 4 kB / 1.483 GB, free: 3.508 MB / 1.17 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.861e-05/0.5586, allocations: 117.8 kB / 1.483 GB, free: 3.383 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.5587, allocations: 4 kB / 1.483 GB, free: 3.379 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001169/0.5588, allocations: 113 kB / 1.483 GB, free: 3.262 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.154e-05/0.5589, allocations: 188.2 kB / 1.484 GB, free: 3.07 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.121e-05/0.5589, allocations: 180.3 kB / 1.484 GB, free: 2.887 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.507e-05/0.559, allocations: 180.2 kB / 1.484 GB, free: 2.703 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.5592, allocations: 356.8 kB / 1.484 GB, free: 2.316 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.546e-05/0.5593, allocations: 105 kB / 1.484 GB, free: 2.207 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.027e-05/0.5593, allocations: 116.9 kB / 1.484 GB, free: 2.086 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.65e-05/0.5594, allocations: 176.3 kB / 1.485 GB, free: 1.906 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.307e-05/0.5595, allocations: 184.2 kB / 1.485 GB, free: 1.719 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.062e-05/0.5596, allocations: 176.3 kB / 1.485 GB, free: 1.539 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.736e-05/0.5597, allocations: 180.4 kB / 1.485 GB, free: 1.355 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.5598, allocations: 315.7 kB / 1.485 GB, free: 1.023 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.5599, allocations: 104.9 kB / 1.486 GB, free: 0.9141 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.56, allocations: 184.2 kB / 1.486 GB, free: 0.7266 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.5601, allocations: 105 kB / 1.486 GB, free: 0.6172 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.523e-05/0.5602, allocations: 184.2 kB / 1.486 GB, free: 440 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.5602, allocations: 105 kB / 1.486 GB, free: 328 kB / 1.17 GB Notification: Performance of sorting global known variables: time 5.872e-05/0.5603, allocations: 91.27 kB / 1.486 GB, free: 236 kB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5603, allocations: 0 / 1.486 GB, free: 236 kB / 1.17 GB Notification: Performance of remove unused functions: time 0.0003282/0.5606, allocations: 55.75 kB / 1.486 GB, free: 180 kB / 1.17 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.0003584/0.561, allocations: 254.1 kB / 1.486 GB, free: 15.91 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 8.306e-05/0.5611, allocations: 19.92 kB / 1.486 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5611, allocations: 0 / 1.486 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/0.5611, allocations: 0 / 1.486 GB, free: 15.89 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.5615, allocations: 462 kB / 1.487 GB, free: 15.44 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.5618, allocations: 211.8 kB / 1.487 GB, free: 15.2 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.262e-05/0.5619, allocations: 59.3 kB / 1.487 GB, free: 15.12 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.921e-05/0.5619, allocations: 15.55 kB / 1.487 GB, free: 15.11 MB / 1.186 GB Notification: Performance of SimCode: time 4.51e-07/0.5619, allocations: 4 kB / 1.487 GB, free: 15.11 MB / 1.186 GB Notification: Performance of Templates: time 0.003374/0.5653, allocations: 1.243 MB / 1.488 GB, free: 13.87 MB / 1.186 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.669992065057158]