Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001748/0.001748, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002391/0.002391, allocations: 209.1 kB / 22.24 MB, free: 5.262 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.833/2.833, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_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.002176/0.002176, allocations: 67.19 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3735, allocations: 169.9 MB / 1.283 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1791/0.5526, allocations: 119 MB / 1.399 GB, free: 4.645 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0002159/0.5528, allocations: 43.88 kB / 1.399 GB, free: 4.602 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.647e-05/0.5528, allocations: 0 / 1.399 GB, free: 4.602 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.553, allocations: 7.938 kB / 1.399 GB, free: 4.594 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 8.814e-05/0.5531, allocations: 11.91 kB / 1.399 GB, free: 4.582 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.5541, allocations: 247 kB / 1.399 GB, free: 4.34 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.5543, allocations: 27.92 kB / 1.4 GB, free: 4.312 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 5.02e-05/0.5543, allocations: 0 / 1.4 GB, free: 4.312 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 5.352e-05/0.5544, allocations: 27.84 kB / 1.4 GB, free: 4.285 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.5544, allocations: 11.98 kB / 1.4 GB, free: 4.273 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.5545, allocations: 4 kB / 1.4 GB, free: 4.27 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.555, allocations: 171.5 kB / 1.4 GB, free: 4.102 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 6.549e-05/0.5551, allocations: 15.97 kB / 1.4 GB, free: 4.086 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.5551, allocations: 11.94 kB / 1.4 GB, free: 4.074 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.5557, allocations: 159.6 kB / 1.4 GB, free: 3.918 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5557, allocations: 0 / 1.4 GB, free: 3.918 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5557, allocations: 0 / 1.4 GB, free: 3.918 MB / 1.092 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.5557, allocations: 4 kB / 1.4 GB, free: 3.914 MB / 1.092 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.0005806/0.5562, allocations: 286 kB / 1.4 GB, free: 3.605 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5563, allocations: 12.02 kB / 1.4 GB, free: 3.594 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.344e-05/0.5563, allocations: 8.828 kB / 1.4 GB, free: 3.586 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.5565, allocations: 106.5 kB / 1.4 GB, free: 3.457 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.5566, allocations: 63.95 kB / 1.4 GB, free: 3.383 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.5566, allocations: 7.938 kB / 1.4 GB, free: 3.375 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.5568, allocations: 63.39 kB / 1.4 GB, free: 3.301 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5568, allocations: 0 / 1.4 GB, free: 3.301 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.5568, allocations: 0 / 1.4 GB, free: 3.301 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.5568, allocations: 0 / 1.4 GB, free: 3.301 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.168e-05/0.5569, allocations: 23.98 kB / 1.4 GB, free: 3.277 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007314/0.5576, allocations: 256.4 kB / 1.401 GB, free: 2.996 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 7.34e-05/0.5577, allocations: 18.58 kB / 1.401 GB, free: 2.969 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.5577, allocations: 12.92 kB / 1.401 GB, free: 2.953 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 9.381e-05/0.5578, allocations: 27.97 kB / 1.401 GB, free: 2.926 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.5578, allocations: 30.56 kB / 1.401 GB, free: 2.887 MB / 1.092 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5578, allocations: 0 / 1.401 GB, free: 2.887 MB / 1.092 GB Notification: Performance of matching and sorting (n=1): time 0.0001778/0.558, allocations: 45.62 kB / 1.401 GB, free: 2.836 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.558, allocations: 51.41 kB / 1.401 GB, free: 2.773 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.5581, allocations: 101.8 kB / 1.401 GB, free: 2.664 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.5582, allocations: 29.7 kB / 1.401 GB, free: 2.629 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.5582, allocations: 88.06 kB / 1.401 GB, free: 2.539 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.5582, allocations: 3.953 kB / 1.401 GB, free: 2.535 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.5583, allocations: 17.84 kB / 1.401 GB, free: 2.512 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002379/0.5585, allocations: 326.7 kB / 1.401 GB, free: 2.184 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.5585, allocations: 0 / 1.401 GB, free: 2.184 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.01e-05/0.5586, allocations: 17.7 kB / 1.401 GB, free: 2.16 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.364e-05/0.5586, allocations: 25.66 kB / 1.401 GB, free: 2.129 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.5586, allocations: 3.938 kB / 1.401 GB, free: 2.125 MB / 1.092 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.516e-05/0.5587, allocations: 45.69 kB / 1.402 GB, free: 2.074 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5587, allocations: 8 kB / 1.402 GB, free: 2.066 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5587, allocations: 4.062 kB / 1.402 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.5587, allocations: 0 / 1.402 GB, free: 2.062 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.5588, allocations: 7.938 kB / 1.402 GB, free: 2.055 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5588, allocations: 4 kB / 1.402 GB, free: 2.051 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.736e-05/0.5588, allocations: 0 / 1.402 GB, free: 2.051 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.5588, allocations: 3.984 kB / 1.402 GB, free: 2.047 MB / 1.092 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.0001037/0.5589, allocations: 113.8 kB / 1.402 GB, free: 1.926 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.702e-05/0.5589, allocations: 3.953 kB / 1.402 GB, free: 1.922 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.5591, allocations: 117 kB / 1.402 GB, free: 1.797 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-05/0.5592, allocations: 188.2 kB / 1.402 GB, free: 1.605 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001065/0.5593, allocations: 180.3 kB / 1.402 GB, free: 1.422 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.904e-05/0.5594, allocations: 180.2 kB / 1.402 GB, free: 1.238 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.5596, allocations: 360.8 kB / 1.403 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.452e-05/0.5597, allocations: 101 kB / 1.403 GB, free: 0.7422 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-05/0.5598, allocations: 108.9 kB / 1.403 GB, free: 0.6289 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001364/0.5599, allocations: 176.3 kB / 1.403 GB, free: 460 kB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.56, allocations: 184.2 kB / 1.403 GB, free: 268 kB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001044/0.5601, allocations: 184.3 kB / 1.403 GB, free: 76 kB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001119/0.5602, allocations: 180.3 kB / 1.404 GB, free: 15.89 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.5605, allocations: 308.1 kB / 1.404 GB, free: 15.57 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 6.195e-05/0.5605, allocations: 112.9 kB / 1.404 GB, free: 15.45 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.5606, allocations: 188.3 kB / 1.404 GB, free: 15.26 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.5608, allocations: 105 kB / 1.404 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.5609, allocations: 188.2 kB / 1.404 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.6e-05/0.561, allocations: 101 kB / 1.404 GB, free: 14.85 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.902e-05/0.561, allocations: 87.27 kB / 1.405 GB, free: 14.77 MB / 1.107 GB Notification: Performance of sort global known variables: time 5e-08/0.561, allocations: 0 / 1.405 GB, free: 14.77 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003679/0.5614, allocations: 63.73 kB / 1.405 GB, free: 14.7 MB / 1.107 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.0003605/0.5618, allocations: 246.2 kB / 1.405 GB, free: 14.45 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.5619, allocations: 19.92 kB / 1.405 GB, free: 14.43 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.5619, allocations: 0 / 1.405 GB, free: 14.43 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.5619, allocations: 0 / 1.405 GB, free: 14.43 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.5623, allocations: 459.6 kB / 1.405 GB, free: 13.98 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.5627, allocations: 190.2 kB / 1.405 GB, free: 13.76 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.5628, allocations: 59.3 kB / 1.406 GB, free: 13.68 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 3.916e-05/0.5629, allocations: 7.984 kB / 1.406 GB, free: 13.68 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.285e-05/0.5629, allocations: 11.44 kB / 1.406 GB, free: 13.66 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/0.5629, allocations: 0 / 1.406 GB, free: 13.66 MB / 1.107 GB Notification: Performance of Templates: time 0.004641/0.5675, allocations: 1.343 MB / 1.407 GB, free: 12.34 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.SteamTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_SteamTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.562903774902225]