Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.529/2.529, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 179.4 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.628/1.628, allocations: 223.2 MB / 0.7949 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009058/0.0009062, allocations: 97.23 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003928/0.0003927, allocations: 6.906 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3629, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.185/1.548, allocations: 352.8 MB / 1.567 GB, free: 46.89 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/1.549, allocations: 78.52 kB / 1.567 GB, free: 46.84 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02019/1.569, allocations: 9.176 MB / 1.576 GB, free: 39.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.339e-06/1.569, allocations: 0 / 1.576 GB, free: 39.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.197e-05/1.569, allocations: 4 kB / 1.576 GB, free: 39.4 MB / 0.9167 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.0004791/1.569, allocations: 347 kB / 1.577 GB, free: 39.02 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/1.57, allocations: 12.03 kB / 1.577 GB, free: 39 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.09e-05/1.57, allocations: 0 / 1.577 GB, free: 39 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/1.57, allocations: 167 kB / 1.577 GB, free: 38.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.969e-05/1.57, allocations: 29.7 kB / 1.577 GB, free: 38.77 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/1.57, allocations: 0 / 1.577 GB, free: 38.77 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/1.57, allocations: 45.19 kB / 1.577 GB, free: 38.72 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/1.57, allocations: 4 kB / 1.577 GB, free: 38.71 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/1.57, allocations: 0 / 1.577 GB, free: 38.71 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.289e-05/1.57, allocations: 0 / 1.577 GB, free: 38.71 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.652e-05/1.57, allocations: 11.98 kB / 1.577 GB, free: 38.7 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/1.571, allocations: 0.5899 MB / 1.578 GB, free: 38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/1.571, allocations: 22.14 kB / 1.578 GB, free: 37.98 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001984/1.571, allocations: 347.8 kB / 1.578 GB, free: 37.57 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/1.571, allocations: 38.5 kB / 1.578 GB, free: 37.52 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/1.571, allocations: 0 / 1.578 GB, free: 37.52 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001567/1.571, allocations: 33.69 kB / 1.578 GB, free: 37.48 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/1.571, allocations: 59.36 kB / 1.578 GB, free: 37.41 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.796e-05/1.571, allocations: 92.56 kB / 1.578 GB, free: 37.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/1.571, allocations: 25.7 kB / 1.578 GB, free: 37.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/1.571, allocations: 87.98 kB / 1.578 GB, free: 37.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/1.571, allocations: 12.11 kB / 1.578 GB, free: 37.19 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/1.571, allocations: 7.812 kB / 1.578 GB, free: 37.18 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.231e-05/1.572, allocations: 310.8 kB / 1.579 GB, free: 36.87 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/1.572, allocations: 0 / 1.579 GB, free: 36.87 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.791e-05/1.572, allocations: 13.72 kB / 1.579 GB, free: 36.85 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.09e-05/1.572, allocations: 11.86 kB / 1.579 GB, free: 36.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.572, allocations: 3.938 kB / 1.579 GB, free: 36.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.969e-05/1.572, allocations: 57.33 kB / 1.579 GB, free: 36.78 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/1.572, allocations: 4 kB / 1.579 GB, free: 36.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.572, allocations: 0 / 1.579 GB, free: 36.78 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.572, allocations: 3.984 kB / 1.579 GB, free: 36.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.134e-05/1.572, allocations: 12 kB / 1.579 GB, free: 36.76 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/1.572, allocations: 0 / 1.579 GB, free: 36.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.95e-05/1.572, allocations: 3.953 kB / 1.579 GB, free: 36.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/1.572, allocations: 7.984 kB / 1.579 GB, free: 36.75 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.289e-05/1.572, allocations: 110.4 kB / 1.579 GB, free: 36.63 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/1.572, allocations: 4 kB / 1.579 GB, free: 36.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.844e-05/1.572, allocations: 126.9 kB / 1.579 GB, free: 36.5 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.714e-05/1.572, allocations: 176.3 kB / 1.579 GB, free: 36.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.124e-05/1.572, allocations: 180.3 kB / 1.579 GB, free: 36.14 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.06e-05/1.572, allocations: 180.2 kB / 1.579 GB, free: 35.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001517/1.572, allocations: 412.7 kB / 1.58 GB, free: 35.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.276e-05/1.572, allocations: 108.9 kB / 1.58 GB, free: 35.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.7e-05/1.572, allocations: 101 kB / 1.58 GB, free: 35.28 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.819e-05/1.572, allocations: 180 kB / 1.58 GB, free: 35.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.16e-05/1.572, allocations: 184.3 kB / 1.58 GB, free: 34.91 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.019e-05/1.572, allocations: 184.3 kB / 1.581 GB, free: 34.72 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.914e-05/1.573, allocations: 180.2 kB / 1.581 GB, free: 34.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.678e-05/1.573, allocations: 307.7 kB / 1.581 GB, free: 34.22 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/1.573, allocations: 189.9 kB / 1.581 GB, free: 34.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/1.573, allocations: 180.2 kB / 1.581 GB, free: 33.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/1.573, allocations: 116.5 kB / 1.582 GB, free: 33.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/1.573, allocations: 176.3 kB / 1.582 GB, free: 33.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/1.573, allocations: 101 kB / 1.582 GB, free: 33.42 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.111e-05/1.573, allocations: 91.2 kB / 1.582 GB, free: 33.33 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.1e-07/1.573, allocations: 3.938 kB / 1.582 GB, free: 33.33 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002852/1.573, allocations: 31.38 kB / 1.582 GB, free: 33.3 MB / 0.9167 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002325/1.573, allocations: 239.3 kB / 1.582 GB, free: 33.06 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.915e-05/1.574, allocations: 15.86 kB / 1.582 GB, free: 33.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.574, allocations: 4.125 kB / 1.582 GB, free: 33.04 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/1.574, allocations: 0 / 1.582 GB, free: 33.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/1.574, allocations: 0.5224 MB / 1.583 GB, free: 32.52 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002705/1.574, allocations: 191.5 kB / 1.583 GB, free: 32.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001973/1.574, allocations: 0.6809 MB / 1.584 GB, free: 31.59 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 4.726e-05/1.574, allocations: 6.109 kB / 1.584 GB, free: 31.59 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/1.574, allocations: 11.44 kB / 1.584 GB, free: 31.58 MB / 0.9167 GB Notification: Performance of SimCode: time 2.1e-07/1.574, allocations: 0 / 1.584 GB, free: 31.58 MB / 0.9167 GB Notification: Performance of Templates: time 0.003363/1.578, allocations: 1.116 MB / 1.585 GB, free: 30.51 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches