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.512/1.512, allocations: 249.5 MB / 257 MB, free: 6.922 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.001066/0.001066, allocations: 179.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.709/1.709, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0008956/0.0008955, allocations: 97.84 kB / 0.6714 GB, free: 4.988 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.844e-05/1.847e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2159, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.919/1.135, allocations: 336.8 MB / 1.214 GB, free: 168 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.135, allocations: 81.39 kB / 1.214 GB, free: 124 kB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01666/1.152, allocations: 7.672 MB / 1.222 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.396e-06/1.152, allocations: 3.938 kB / 1.222 GB, free: 10.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.831e-06/1.152, allocations: 3.938 kB / 1.222 GB, free: 10.02 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.0003505/1.152, allocations: 345.9 kB / 1.222 GB, free: 9.641 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/1.152, allocations: 12.02 kB / 1.222 GB, free: 9.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/1.152, allocations: 4 kB / 1.222 GB, free: 9.625 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/1.153, allocations: 163 kB / 1.222 GB, free: 9.426 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.308e-05/1.153, allocations: 25.7 kB / 1.222 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/1.153, allocations: 4 kB / 1.222 GB, free: 9.391 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.986e-05/1.153, allocations: 19.73 kB / 1.222 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.951e-05/1.153, allocations: 37.69 kB / 1.222 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/1.153, allocations: 0 / 1.222 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/1.153, allocations: 0 / 1.222 GB, free: 9.332 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/1.153, allocations: 7.984 kB / 1.222 GB, free: 9.324 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006494/1.154, allocations: 0.5806 MB / 1.223 GB, free: 8.648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.808e-05/1.154, allocations: 18.58 kB / 1.223 GB, free: 8.621 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.636e-05/1.154, allocations: 4.859 kB / 1.223 GB, free: 8.613 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/1.154, allocations: 367.3 kB / 1.223 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/1.154, allocations: 30.56 kB / 1.223 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/1.154, allocations: 0 / 1.223 GB, free: 8.148 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0002469/1.154, allocations: 41.59 kB / 1.223 GB, free: 8.102 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/1.154, allocations: 63.38 kB / 1.223 GB, free: 8.027 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.882e-05/1.154, allocations: 94.06 kB / 1.223 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/1.154, allocations: 25.7 kB / 1.224 GB, free: 7.902 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/1.154, allocations: 83.64 kB / 1.224 GB, free: 7.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/1.154, allocations: 7.906 kB / 1.224 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-06/1.154, allocations: 0 / 1.224 GB, free: 7.812 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.155, allocations: 318.8 kB / 1.224 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/1.155, allocations: 0 / 1.224 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/1.155, allocations: 21.41 kB / 1.224 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/1.155, allocations: 19.98 kB / 1.224 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.155, allocations: 0 / 1.224 GB, free: 7.449 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001688/1.155, allocations: 61.42 kB / 1.224 GB, free: 7.387 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/1.155, allocations: 4 kB / 1.224 GB, free: 7.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/1.155, allocations: 4 kB / 1.224 GB, free: 7.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/1.155, allocations: 3.938 kB / 1.224 GB, free: 7.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.707e-05/1.155, allocations: 7.984 kB / 1.224 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/1.155, allocations: 4.062 kB / 1.224 GB, free: 7.363 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/1.155, allocations: 7.938 kB / 1.224 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/1.155, allocations: 0 / 1.224 GB, free: 7.355 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.129e-05/1.155, allocations: 104.9 kB / 1.224 GB, free: 7.246 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/1.155, allocations: 7.906 kB / 1.224 GB, free: 7.238 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/1.155, allocations: 120.9 kB / 1.224 GB, free: 7.109 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.153e-05/1.155, allocations: 192.2 kB / 1.224 GB, free: 6.914 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.389e-05/1.155, allocations: 176.3 kB / 1.225 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-05/1.156, allocations: 180.2 kB / 1.225 GB, free: 6.551 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/1.156, allocations: 389.6 kB / 1.225 GB, free: 6.129 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.065e-05/1.156, allocations: 105 kB / 1.225 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/1.156, allocations: 104.9 kB / 1.225 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.361e-05/1.156, allocations: 180.3 kB / 1.226 GB, free: 5.727 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.948e-05/1.156, allocations: 184.2 kB / 1.226 GB, free: 5.539 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.048e-05/1.156, allocations: 180.2 kB / 1.226 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.405e-05/1.156, allocations: 176.3 kB / 1.226 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000131/1.156, allocations: 307.5 kB / 1.226 GB, free: 4.855 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.513e-05/1.156, allocations: 190 kB / 1.227 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.333e-05/1.156, allocations: 176.3 kB / 1.227 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/1.157, allocations: 112.9 kB / 1.227 GB, free: 4.348 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/1.157, allocations: 180 kB / 1.227 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/1.157, allocations: 105 kB / 1.227 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.007e-05/1.157, allocations: 83.28 kB / 1.227 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.157, allocations: 4 kB / 1.227 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002483/1.157, allocations: 31.48 kB / 1.227 GB, free: 3.945 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.0002508/1.157, allocations: 234 kB / 1.227 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.661e-05/1.157, allocations: 7.438 kB / 1.227 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.157, allocations: 4 kB / 1.227 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/1.157, allocations: 0 / 1.227 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/1.158, allocations: 0.5193 MB / 1.228 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001835/1.158, allocations: 135 kB / 1.228 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/1.158, allocations: 0.6806 MB / 1.229 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.094e-05/1.158, allocations: 4.281 kB / 1.229 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/1.158, allocations: 7.438 kB / 1.229 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.158, allocations: 3.938 kB / 1.229 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of Templates: time 0.003342/1.162, allocations: 1.028 MB / 1.23 GB, free: 1.332 MB / 0.8386 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