Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001412/0.001412, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001679/0.001679, allocations: 213.9 kB / 22.25 MB, free: 5.242 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.789 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.549/3.549, allocations: 0.5107 GB / 0.8158 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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [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.002123/0.002123, allocations: 62.81 kB / 1.186 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4443/0.4465, allocations: 181.9 MB / 1.364 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.007289/0.4537, allocations: 3.902 MB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.454, allocations: 147.5 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.523e-05/0.454, allocations: 0 / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.4541, allocations: 3.938 kB / 1.368 GB, free: 9.477 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.4542, allocations: 7.984 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.4546, allocations: 87.69 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.4547, allocations: 39.84 kB / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.105e-05/0.4547, allocations: 0 / 1.368 GB, free: 9.344 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.4548, allocations: 15.98 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.4548, allocations: 15.91 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.4549, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.4551, allocations: 55.81 kB / 1.368 GB, free: 9.258 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.702e-05/0.4551, allocations: 3.984 kB / 1.368 GB, free: 9.254 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.4551, allocations: 11.94 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.4553, allocations: 67.8 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.4553, allocations: 3.938 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4553, allocations: 0 / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.513e-06/0.4553, allocations: 4 kB / 1.368 GB, free: 9.168 MB / 1.061 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.0005648/0.4559, allocations: 254.3 kB / 1.368 GB, free: 8.891 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4559, allocations: 8.031 kB / 1.368 GB, free: 8.883 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.456, allocations: 4.938 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4561, allocations: 110.5 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002199/0.4563, allocations: 51.97 kB / 1.368 GB, free: 8.684 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.4563, allocations: 8.359 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.4565, allocations: 79.31 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4565, allocations: 0 / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.4565, allocations: 0 / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.4565, allocations: 4 kB / 1.369 GB, free: 8.582 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/0.4566, allocations: 15.92 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.457, allocations: 208.5 kB / 1.369 GB, free: 8.332 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.4571, allocations: 18.58 kB / 1.369 GB, free: 8.305 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.83e-05/0.4571, allocations: 8.859 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.4572, allocations: 4.062 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/0.4572, allocations: 38.56 kB / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.4572, allocations: 0 / 1.369 GB, free: 8.242 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0003492/0.4576, allocations: 37.62 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.4576, allocations: 51.41 kB / 1.369 GB, free: 8.137 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.4577, allocations: 105.8 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.4577, allocations: 29.64 kB / 1.369 GB, free: 7.988 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.22e-05/0.4578, allocations: 84.09 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.4578, allocations: 11.95 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.4578, allocations: 13.72 kB / 1.369 GB, free: 7.871 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002567/0.4581, allocations: 318.8 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.4581, allocations: 12.12 kB / 1.369 GB, free: 7.539 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.4581, allocations: 13.72 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.4583, allocations: 21.66 kB / 1.37 GB, free: 7.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.4583, allocations: 4 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.704e-05/0.4584, allocations: 41.69 kB / 1.37 GB, free: 7.441 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.4584, allocations: 4 kB / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4584, allocations: 0 / 1.37 GB, free: 7.438 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4584, allocations: 7.938 kB / 1.37 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.566e-05/0.4584, allocations: 16.05 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4585, allocations: 0 / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.4585, allocations: 4 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4585, allocations: 4 kB / 1.37 GB, free: 7.406 MB / 1.061 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.617e-05/0.4586, allocations: 113.7 kB / 1.37 GB, free: 7.285 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.4586, allocations: 4 kB / 1.37 GB, free: 7.281 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.4587, allocations: 120.9 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.901e-05/0.4588, allocations: 184.2 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.628e-05/0.4589, allocations: 176.3 kB / 1.37 GB, free: 6.789 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.379e-05/0.459, allocations: 184.2 kB / 1.37 GB, free: 6.602 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.4593, allocations: 364.8 kB / 1.371 GB, free: 6.207 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.567e-05/0.4593, allocations: 101 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.725e-05/0.4594, allocations: 104.9 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.4595, allocations: 180.3 kB / 1.371 GB, free: 5.809 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/0.4596, allocations: 188.2 kB / 1.371 GB, free: 5.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001491/0.4597, allocations: 176.3 kB / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.704e-05/0.4598, allocations: 184.2 kB / 1.372 GB, free: 5.25 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.46, allocations: 303.8 kB / 1.372 GB, free: 4.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4601, allocations: 109.2 kB / 1.372 GB, free: 4.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4602, allocations: 184.3 kB / 1.372 GB, free: 4.629 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4605, allocations: 112.9 kB / 1.372 GB, free: 4.512 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.4606, allocations: 184.2 kB / 1.372 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.696e-05/0.4606, allocations: 101 kB / 1.373 GB, free: 4.219 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6e-05/0.4607, allocations: 91.22 kB / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4607, allocations: 0 / 1.373 GB, free: 4.129 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003675/0.4611, allocations: 15.94 kB / 1.373 GB, free: 4.113 MB / 1.061 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.0001995/0.4613, allocations: 194.4 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 8.561e-05/0.4614, allocations: 8 kB / 1.373 GB, free: 3.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.4614, allocations: 0 / 1.373 GB, free: 3.902 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.4614, allocations: 4.125 kB / 1.373 GB, free: 3.898 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008255/0.4622, allocations: 463.6 kB / 1.373 GB, free: 3.441 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.4625, allocations: 194.2 kB / 1.373 GB, free: 3.227 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.942e-05/0.4626, allocations: 59.34 kB / 1.374 GB, free: 3.148 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.089e-05/0.4627, allocations: 7.938 kB / 1.374 GB, free: 3.141 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.4627, allocations: 7.438 kB / 1.374 GB, free: 3.133 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/0.4627, allocations: 4 kB / 1.374 GB, free: 3.129 MB / 1.061 GB Notification: Performance of Templates: time 0.003454/0.4661, allocations: 0.6718 MB / 1.374 GB, free: 2.469 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.684981368482113]