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.001406/0.001406, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.001727/0.001727, allocations: 177 kB / 23.36 MB, free: 1.133 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.9661/0.9661, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.512/2.512, allocations: 438.8 MB / 0.6827 GB, free: 13.58 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.744e-06/1.744e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.66e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003858/0.003885, allocations: 3.466 MB / 0.842 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 9.085e-05/0.003975, allocations: 51.8 kB / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.004002, allocations: 0 / 0.842 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.00411, allocations: 3.938 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 8.083e-05/0.004191, allocations: 23.91 kB / 0.842 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.004641, allocations: 211 kB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 7.446e-05/0.004715, allocations: 35.84 kB / 0.8423 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.809e-05/0.004753, allocations: 4 kB / 0.8423 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 5.464e-05/0.004808, allocations: 23.95 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.294e-05/0.004871, allocations: 8 kB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.004883, allocations: 0 / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.005103, allocations: 147.5 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.005148, allocations: 7.984 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.573e-05/0.005164, allocations: 4 kB / 0.8425 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.005353, allocations: 131.6 kB / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005357, allocations: 0 / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.005358, allocations: 0 / 0.8426 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.005361, allocations: 4 kB / 0.8426 GB, free: 10.07 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.0002834/0.005645, allocations: 256.4 kB / 0.8428 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.005684, allocations: 8.625 kB / 0.8428 GB, free: 9.793 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.005716, allocations: 4.938 kB / 0.8428 GB, free: 9.789 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.138e-05/0.005797, allocations: 101.8 kB / 0.8429 GB, free: 9.664 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.124e-05/0.005869, allocations: 55.97 kB / 0.843 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.005884, allocations: 4.359 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.005997, allocations: 83.42 kB / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.006003, allocations: 192 / 0.8431 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.006013, allocations: 7.938 kB / 0.8431 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.006034, allocations: 0 / 0.8431 GB, free: 9.488 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.849e-05/0.006053, allocations: 8 kB / 0.8431 GB, free: 9.48 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.006373, allocations: 189.9 kB / 0.8433 GB, free: 9.277 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.342e-05/0.006407, allocations: 26.53 kB / 0.8433 GB, free: 9.242 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.979e-06/0.006417, allocations: 8.922 kB / 0.8433 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.542e-05/0.006472, allocations: 39.91 kB / 0.8433 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.006493, allocations: 34.5 kB / 0.8434 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.006494, allocations: 0 / 0.8434 GB, free: 9.148 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.717e-05/0.006582, allocations: 33.7 kB / 0.8434 GB, free: 9.109 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.00661, allocations: 55.34 kB / 0.8435 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.78e-05/0.006668, allocations: 110.8 kB / 0.8436 GB, free: 8.922 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.006678, allocations: 29.7 kB / 0.8436 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.006716, allocations: 92.09 kB / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-06/0.00672, allocations: 0 / 0.8437 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.277e-05/0.006743, allocations: 17.7 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.006827, allocations: 314.8 kB / 0.844 GB, free: 8.453 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.006835, allocations: 4 kB / 0.844 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.867e-05/0.006853, allocations: 13.72 kB / 0.844 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.609e-05/0.00688, allocations: 20.53 kB / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006881, allocations: 0 / 0.844 GB, free: 8.402 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.427e-05/0.006926, allocations: 49.58 kB / 0.8441 GB, free: 8.348 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.006939, allocations: 14.11 kB / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.006944, allocations: 0 / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.006957, allocations: 0 / 0.8441 GB, free: 8.336 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.188e-05/0.006989, allocations: 8 kB / 0.8441 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.006991, allocations: 4 kB / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/0.007002, allocations: 0 / 0.8441 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.00701, allocations: 0 / 0.8441 GB, free: 8.324 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.071e-05/0.00706, allocations: 116.6 kB / 0.8442 GB, free: 8.199 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.341e-05/0.007074, allocations: 8 kB / 0.8442 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.279e-05/0.007167, allocations: 128.9 kB / 0.8444 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.356e-05/0.00721, allocations: 184.2 kB / 0.8445 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-05/0.007252, allocations: 180.3 kB / 0.8447 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.162e-05/0.007294, allocations: 180.2 kB / 0.8449 GB, free: 7.5 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.007419, allocations: 321.4 kB / 0.8452 GB, free: 7.16 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.607e-05/0.007445, allocations: 101 kB / 0.8453 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.712e-05/0.007472, allocations: 108.9 kB / 0.8454 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.711e-05/0.007519, allocations: 180.2 kB / 0.8455 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.007565, allocations: 176.3 kB / 0.8457 GB, free: 6.578 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.536e-05/0.007611, allocations: 196.1 kB / 0.8459 GB, free: 6.379 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.513e-05/0.007656, allocations: 180.2 kB / 0.8461 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.007771, allocations: 312 kB / 0.8464 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.194e-05/0.007803, allocations: 101 kB / 0.8465 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.007863, allocations: 184.2 kB / 0.8466 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.13e-05/0.007954, allocations: 108.9 kB / 0.8468 GB, free: 5.461 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.208e-05/0.008006, allocations: 188.2 kB / 0.8469 GB, free: 5.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.008032, allocations: 101 kB / 0.847 GB, free: 5.164 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.57e-05/0.008058, allocations: 8.859 kB / 0.847 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.008058, allocations: 0 / 0.847 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001782/0.008236, allocations: 43.8 kB / 0.8471 GB, free: 5.109 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.0002403/0.008476, allocations: 219.7 kB / 0.8473 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.939e-05/0.008536, allocations: 20.77 kB / 0.8473 GB, free: 4.863 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.008541, allocations: 8.125 kB / 0.8473 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.008541, allocations: 0 / 0.8473 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.008811, allocations: 463.7 kB / 0.8478 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.009154, allocations: 190.8 kB / 0.8479 GB, free: 4.184 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.983e-05/0.009184, allocations: 51.36 kB / 0.848 GB, free: 4.113 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.908e-05/0.009213, allocations: 15.84 kB / 0.848 GB, free: 4.098 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.009269, allocations: 59.36 kB / 0.8481 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.00927, allocations: 0 / 0.8481 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of Templates: time 0.002941/0.01221, allocations: 1.339 MB / 0.8494 GB, free: 2.75 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 -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.369445739779621]