Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001445/0.001445, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001117/0.001117, allocations: 177 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9994/0.9994, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.526/2.526, allocations: 438.8 MB / 0.6827 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.507e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003903/0.003928, allocations: 3.505 MB / 0.8421 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 9.053e-05/0.004019, allocations: 51.75 kB / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.483e-05/0.004043, allocations: 0 / 0.8421 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 9.94e-05/0.004143, allocations: 7.984 kB / 0.8421 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 7.855e-05/0.004221, allocations: 15.86 kB / 0.8421 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004961/0.004717, allocations: 223.1 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.247e-05/0.00479, allocations: 35.78 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.371e-05/0.004824, allocations: 4 kB / 0.8424 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.004876, allocations: 19.97 kB / 0.8424 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.336e-05/0.00494, allocations: 11.98 kB / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.004951, allocations: 0 / 0.8424 GB, free: 10.3 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002586/0.00521, allocations: 151.5 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.158e-05/0.005251, allocations: 7.984 kB / 0.8426 GB, free: 10.15 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.84e-05/0.00527, allocations: 7.984 kB / 0.8426 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.005455, allocations: 131.6 kB / 0.8427 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.005457, allocations: 0 / 0.8427 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.12e-07/0.005458, allocations: 0 / 0.8427 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.005461, allocations: 0 / 0.8427 GB, free: 10.01 MB / 0.8073 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.0002592/0.00572, allocations: 248.4 kB / 0.8429 GB, free: 9.746 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.005751, allocations: 12.56 kB / 0.8429 GB, free: 9.734 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.005781, allocations: 8.938 kB / 0.8429 GB, free: 9.727 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.467e-05/0.005856, allocations: 105.8 kB / 0.843 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.005903, allocations: 59.95 kB / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.00591, allocations: 384 / 0.8431 GB, free: 9.527 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001015/0.006011, allocations: 79.48 kB / 0.8432 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.006019, allocations: 4.125 kB / 0.8432 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.006027, allocations: 3.938 kB / 0.8432 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.006046, allocations: 0 / 0.8432 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.804e-05/0.006064, allocations: 4 kB / 0.8432 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003303/0.006394, allocations: 193.9 kB / 0.8434 GB, free: 9.215 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 2.857e-05/0.006423, allocations: 22.61 kB / 0.8434 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-06/0.006431, allocations: 8.859 kB / 0.8434 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.822e-05/0.00649, allocations: 39.91 kB / 0.8434 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.006514, allocations: 46.5 kB / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.006516, allocations: 0 / 0.8435 GB, free: 9.078 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001047/0.00662, allocations: 29.7 kB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.00665, allocations: 51.41 kB / 0.8436 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.747e-05/0.006707, allocations: 114.6 kB / 0.8437 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.00672, allocations: 25.7 kB / 0.8437 GB, free: 8.824 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.343e-05/0.006753, allocations: 84.09 kB / 0.8438 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.006757, allocations: 0 / 0.8438 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.006781, allocations: 21.83 kB / 0.8438 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.006853, allocations: 318.8 kB / 0.8441 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.332e-06/0.006859, allocations: 7.938 kB / 0.8441 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.485e-05/0.006874, allocations: 13.72 kB / 0.8441 GB, free: 8.363 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.41e-05/0.006898, allocations: 20.53 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0069, allocations: 4 kB / 0.8441 GB, free: 8.332 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.572e-05/0.006946, allocations: 37.64 kB / 0.8442 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.006962, allocations: 11.92 kB / 0.8442 GB, free: 8.277 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.006967, allocations: 12 kB / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.006978, allocations: 0 / 0.8442 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.29e-05/0.007011, allocations: 4 kB / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.007014, allocations: 0 / 0.8442 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.007033, allocations: 4 kB / 0.8442 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007041, allocations: 3.984 kB / 0.8442 GB, free: 8.254 MB / 0.8073 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 5.296e-05/0.007094, allocations: 108.7 kB / 0.8443 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.786e-05/0.007112, allocations: 11.92 kB / 0.8443 GB, free: 8.125 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.007204, allocations: 124.9 kB / 0.8445 GB, free: 7.992 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-05/0.007247, allocations: 180.5 kB / 0.8446 GB, free: 7.809 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-05/0.007285, allocations: 180.2 kB / 0.8448 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/0.007325, allocations: 184.2 kB / 0.845 GB, free: 7.438 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.007454, allocations: 325.3 kB / 0.8453 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.733e-05/0.007482, allocations: 109 kB / 0.8454 GB, free: 6.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.531e-05/0.007507, allocations: 101 kB / 0.8455 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-05/0.007555, allocations: 188.2 kB / 0.8457 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.007601, allocations: 176.3 kB / 0.8458 GB, free: 6.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.44e-05/0.007646, allocations: 184.1 kB / 0.846 GB, free: 6.316 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-05/0.007691, allocations: 180.3 kB / 0.8462 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.986e-05/0.007791, allocations: 308 kB / 0.8465 GB, free: 5.809 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.007835, allocations: 113 kB / 0.8466 GB, free: 5.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.152e-05/0.007887, allocations: 180.2 kB / 0.8468 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.536e-05/0.007982, allocations: 112.9 kB / 0.8469 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.489e-05/0.008027, allocations: 176.3 kB / 0.847 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.008052, allocations: 104.9 kB / 0.8471 GB, free: 5.102 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.688e-05/0.008069, allocations: 12.86 kB / 0.8471 GB, free: 5.086 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.008069, allocations: 4 kB / 0.8471 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001831/0.008252, allocations: 39.8 kB / 0.8472 GB, free: 5.043 MB / 0.8073 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.000208/0.00846, allocations: 219.5 kB / 0.8474 GB, free: 4.82 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.122e-05/0.008511, allocations: 8.859 kB / 0.8474 GB, free: 4.809 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.008515, allocations: 3.938 kB / 0.8474 GB, free: 4.805 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.008518, allocations: 7.938 kB / 0.8474 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.008749, allocations: 463.7 kB / 0.8479 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.009115, allocations: 187 kB / 0.848 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.223e-05/0.009147, allocations: 55.36 kB / 0.8481 GB, free: 4.055 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.009174, allocations: 3.984 kB / 0.8481 GB, free: 4.051 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.221e-05/0.009237, allocations: 63.36 kB / 0.8481 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of SimCode: time 8.82e-07/0.009238, allocations: 0 / 0.8481 GB, free: 3.988 MB / 0.8073 GB Notification: Performance of Templates: time 0.00294/0.01218, allocations: 1.35 MB / 0.8495 GB, free: 2.688 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.42272777389735]