Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 192.4 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.8/2.8, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003223/0.003223, allocations: 71.88 kB / 1.109 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7459/0.7491, allocations: 168.7 MB / 1.274 GB, free: 4.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005028/0.7541, allocations: 3.322 MB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 9.858e-05/0.7542, allocations: 47.86 kB / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.657e-05/0.7542, allocations: 0 / 1.277 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.145e-05/0.7543, allocations: 3.938 kB / 1.277 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.7544, allocations: 27.91 kB / 1.277 GB, free: 1.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.755, allocations: 191.2 kB / 1.278 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.312e-05/0.755, allocations: 35.84 kB / 1.278 GB, free: 0.9688 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.7551, allocations: 4 kB / 1.278 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.7551, allocations: 15.98 kB / 1.278 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.21e-05/0.7552, allocations: 15.92 kB / 1.278 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.7552, allocations: 0 / 1.278 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003673/0.7556, allocations: 183.5 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.7556, allocations: 7.922 kB / 1.278 GB, free: 0.7461 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.7556, allocations: 12 kB / 1.278 GB, free: 0.7344 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002611/0.7559, allocations: 138.3 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7559, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7559, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.017e-06/0.7559, allocations: 0 / 1.278 GB, free: 0.6016 MB / 0.9669 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.0004507/0.7564, allocations: 351.3 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.7564, allocations: 12.03 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.7564, allocations: 0.9375 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.7566, allocations: 164.3 kB / 1.278 GB, free: 0 / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.7567, allocations: 34.31 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.7567, allocations: 384 / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.7568, allocations: 41.58 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.7568, allocations: 0 / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7568, allocations: 3.984 kB / 1.279 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.7568, allocations: 8 kB / 1.279 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.7569, allocations: 15.94 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.7575, allocations: 0.5793 MB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.551e-05/0.7576, allocations: 26.56 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.7576, allocations: 4.859 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002802/0.7579, allocations: 344.5 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.7579, allocations: 30.56 kB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.7579, allocations: 0 / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.7581, allocations: 41.58 kB / 1.28 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.7581, allocations: 59.39 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.7582, allocations: 101.8 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.7582, allocations: 25.7 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.7583, allocations: 92.08 kB / 1.28 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.7583, allocations: 12.06 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/0.7583, allocations: 17.72 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001591/0.7585, allocations: 314.8 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.7585, allocations: 4 kB / 1.28 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.973e-05/0.7585, allocations: 21.88 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.32e-05/0.7586, allocations: 25.66 kB / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.7586, allocations: 0 / 1.28 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.73e-05/0.7587, allocations: 53.62 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.7587, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7587, allocations: 3.984 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7587, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.7587, allocations: 4 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.7588, allocations: 4 kB / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.7588, allocations: 0 / 1.28 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.7588, allocations: 0 / 1.28 GB, free: 13.85 MB / 0.9825 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.998e-05/0.7589, allocations: 121.8 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.944e-05/0.7589, allocations: 4 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.759, allocations: 116.9 kB / 1.28 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.05e-05/0.7591, allocations: 180.2 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.625e-05/0.7592, allocations: 180.3 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.675e-05/0.7593, allocations: 188.2 kB / 1.281 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.7595, allocations: 409.2 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.291e-05/0.7596, allocations: 108.9 kB / 1.282 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.448e-05/0.7596, allocations: 101 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.47e-05/0.7597, allocations: 180.3 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.7598, allocations: 184.3 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.844e-05/0.7599, allocations: 184.3 kB / 1.282 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.635e-05/0.76, allocations: 188.2 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001868/0.7602, allocations: 307.7 kB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001/0.7603, allocations: 186 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.139e-05/0.7603, allocations: 184.3 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.7605, allocations: 104.9 kB / 1.283 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.228e-05/0.7606, allocations: 184.2 kB / 1.283 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.7606, allocations: 105 kB / 1.283 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.069e-05/0.7607, allocations: 79.28 kB / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.7607, allocations: 0 / 1.283 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002929/0.761, allocations: 43.8 kB / 1.283 GB, free: 10.37 MB / 0.9825 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.0002815/0.7613, allocations: 245.5 kB / 1.284 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.7613, allocations: 12 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7613, allocations: 0 / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.7613, allocations: 4 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004816/0.7618, allocations: 462.3 kB / 1.284 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.7621, allocations: 189.9 kB / 1.284 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.7624, allocations: 0.6768 MB / 1.285 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.632e-05/0.7625, allocations: 4 kB / 1.285 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.84e-05/0.7625, allocations: 7.438 kB / 1.285 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.7625, allocations: 4 kB / 1.285 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of Templates: time 0.003991/0.7665, allocations: 1.213 MB / 1.286 GB, free: 7.559 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.586492638103664]