Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.463/1.463, allocations: 249.3 MB / 261.8 MB, free: 5.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 192.7 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.633/1.633, allocations: 205.1 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008352/0.0008351, allocations: 82.53 kB / 0.6764 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.471e-05, allocations: 0 / 0.7879 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2602, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9225/1.183, allocations: 336.6 MB / 1.22 GB, free: 13.41 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.183, allocations: 78.08 kB / 1.221 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.01674/1.2, allocations: 7.712 MB / 1.228 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.2, allocations: 0 / 1.228 GB, free: 6.965 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.2, allocations: 0 / 1.228 GB, free: 6.965 MB / 0.8386 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.0003144/1.2, allocations: 350.4 kB / 1.228 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/1.2, allocations: 8.031 kB / 1.228 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.897e-05/1.2, allocations: 4 kB / 1.228 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/1.201, allocations: 167 kB / 1.229 GB, free: 6.363 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.854e-05/1.201, allocations: 25.7 kB / 1.229 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/1.201, allocations: 4 kB / 1.229 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/1.201, allocations: 49.61 kB / 1.229 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/1.201, allocations: 0 / 1.229 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/1.201, allocations: 8 kB / 1.229 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/1.201, allocations: 0 / 1.229 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/1.201, allocations: 11.98 kB / 1.229 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/1.202, allocations: 0.5989 MB / 1.229 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.621e-05/1.202, allocations: 18.58 kB / 1.229 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/1.202, allocations: 8.797 kB / 1.229 GB, free: 5.492 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/1.202, allocations: 367.1 kB / 1.23 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/1.202, allocations: 38.55 kB / 1.23 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.202, allocations: 0 / 1.23 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/1.202, allocations: 33.61 kB / 1.23 GB, free: 4.977 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/1.202, allocations: 55.41 kB / 1.23 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.313e-05/1.202, allocations: 92.95 kB / 1.23 GB, free: 4.812 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/1.202, allocations: 29.7 kB / 1.23 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/1.202, allocations: 92.16 kB / 1.23 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-06/1.202, allocations: 3.906 kB / 1.23 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.025e-06/1.202, allocations: 0 / 1.23 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.202, allocations: 310.8 kB / 1.23 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/1.202, allocations: 4 kB / 1.23 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.166e-05/1.202, allocations: 21.66 kB / 1.23 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/1.202, allocations: 11.98 kB / 1.23 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/1.202, allocations: 0 / 1.23 GB, free: 4.324 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.213e-05/1.203, allocations: 49.69 kB / 1.23 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/1.203, allocations: 4 kB / 1.23 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/1.203, allocations: 0 / 1.23 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/1.203, allocations: 0 / 1.23 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/1.203, allocations: 11.88 kB / 1.23 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.203, allocations: 4 kB / 1.23 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.811e-05/1.203, allocations: 3.938 kB / 1.23 GB, free: 4.246 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/1.203, allocations: 3.953 kB / 1.23 GB, free: 4.242 MB / 0.8386 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 () * 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 6.397e-05/1.203, allocations: 109 kB / 1.23 GB, free: 4.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/1.203, allocations: 3.906 kB / 1.23 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/1.203, allocations: 124.9 kB / 1.231 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.343e-05/1.203, allocations: 180.2 kB / 1.231 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.336e-05/1.203, allocations: 176.3 kB / 1.231 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.482e-05/1.203, allocations: 188.2 kB / 1.231 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/1.203, allocations: 405.2 kB / 1.231 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/1.203, allocations: 109 kB / 1.232 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.062e-05/1.203, allocations: 104.9 kB / 1.232 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.459e-05/1.204, allocations: 176.4 kB / 1.232 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-05/1.204, allocations: 184.2 kB / 1.232 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-05/1.204, allocations: 184.3 kB / 1.232 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.76e-05/1.204, allocations: 184.2 kB / 1.232 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/1.204, allocations: 307.7 kB / 1.233 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.592e-05/1.204, allocations: 186.3 kB / 1.233 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.629e-05/1.204, allocations: 188.2 kB / 1.233 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.204, allocations: 105 kB / 1.233 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/1.204, allocations: 180.2 kB / 1.233 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.552e-05/1.204, allocations: 112.9 kB / 1.233 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.84e-05/1.204, allocations: 91.28 kB / 1.234 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.204, allocations: 0 / 1.234 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002574/1.205, allocations: 28 kB / 1.234 GB, free: 0.7695 MB / 0.8386 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 () * 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.0002523/1.205, allocations: 235.3 kB / 1.234 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 5.854e-05/1.205, allocations: 12 kB / 1.234 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.205, allocations: 0 / 1.234 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/1.205, allocations: 0 / 1.234 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/1.205, allocations: 0.5302 MB / 1.234 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001796/1.206, allocations: 132.8 kB / 1.234 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.206, allocations: 0.6811 MB / 1.235 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.017e-05/1.206, allocations: 6.391 kB / 1.235 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.878e-05/1.206, allocations: 11.44 kB / 1.235 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/1.206, allocations: 0 / 1.235 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.003256/1.209, allocations: 1.098 MB / 1.236 GB, free: 14.06 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches