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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.923/2.923, allocations: 390.3 MB / 402.8 MB, free: 6.699 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.001146/0.001146, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.0009569/0.0009567, allocations: 91.89 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.467e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3504/0.3504, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.362/1.713, allocations: 353.6 MB / 1.564 GB, free: 15.67 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/1.713, allocations: 83.83 kB / 1.564 GB, free: 15.63 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.02262/1.736, allocations: 9.143 MB / 1.573 GB, free: 7.879 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.445e-06/1.736, allocations: 0 / 1.573 GB, free: 7.879 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.044e-05/1.736, allocations: 0 / 1.573 GB, free: 7.879 MB / 1.026 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.0004735/1.736, allocations: 339.6 kB / 1.573 GB, free: 7.504 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 6.428e-05/1.737, allocations: 8.031 kB / 1.573 GB, free: 7.496 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.305e-05/1.737, allocations: 4 kB / 1.573 GB, free: 7.492 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/1.737, allocations: 175 kB / 1.574 GB, free: 7.281 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.91e-05/1.737, allocations: 29.7 kB / 1.574 GB, free: 7.246 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/1.737, allocations: 0 / 1.574 GB, free: 7.246 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/1.737, allocations: 37.69 kB / 1.574 GB, free: 7.203 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/1.737, allocations: 0 / 1.574 GB, free: 7.203 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/1.737, allocations: 4 kB / 1.574 GB, free: 7.199 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/1.737, allocations: 4 kB / 1.574 GB, free: 7.195 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/1.737, allocations: 15.92 kB / 1.574 GB, free: 7.18 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/1.738, allocations: 0.6019 MB / 1.574 GB, free: 6.457 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 4.446e-05/1.738, allocations: 14.58 kB / 1.574 GB, free: 6.434 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/1.738, allocations: 8.922 kB / 1.574 GB, free: 6.422 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003189/1.739, allocations: 360.4 kB / 1.575 GB, free: 5.996 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/1.739, allocations: 30.56 kB / 1.575 GB, free: 5.957 MB / 1.026 GB Notification: Performance of pre-optimization done (n=1): time 1.723e-06/1.739, allocations: 0 / 1.575 GB, free: 5.957 MB / 1.026 GB Notification: Performance of matching and sorting (n=1): time 0.0001834/1.739, allocations: 49.5 kB / 1.575 GB, free: 5.902 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.739, allocations: 51.41 kB / 1.575 GB, free: 5.84 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/1.739, allocations: 104.9 kB / 1.575 GB, free: 5.73 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/1.739, allocations: 25.7 kB / 1.575 GB, free: 5.699 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/1.739, allocations: 91.98 kB / 1.575 GB, free: 5.605 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 7.274e-06/1.739, allocations: 0 / 1.575 GB, free: 5.605 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/1.739, allocations: 0 / 1.575 GB, free: 5.605 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.739, allocations: 318.8 kB / 1.575 GB, free: 5.285 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/1.739, allocations: 8.031 kB / 1.575 GB, free: 5.277 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.754e-05/1.739, allocations: 17.7 kB / 1.575 GB, free: 5.254 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/1.739, allocations: 4 kB / 1.575 GB, free: 5.25 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/1.739, allocations: 0 / 1.575 GB, free: 5.25 MB / 1.026 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.241e-05/1.739, allocations: 49.62 kB / 1.575 GB, free: 5.195 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/1.74, allocations: 9.406 kB / 1.575 GB, free: 5.188 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.74, allocations: 64 / 1.575 GB, free: 5.188 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.74, allocations: 4 kB / 1.575 GB, free: 5.184 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/1.74, allocations: 4 kB / 1.575 GB, free: 5.18 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/1.74, allocations: 3.953 kB / 1.575 GB, free: 5.176 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.293e-05/1.74, allocations: 4 kB / 1.575 GB, free: 5.172 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/1.74, allocations: 0 / 1.575 GB, free: 5.172 MB / 1.026 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 8.26e-05/1.74, allocations: 105 kB / 1.575 GB, free: 5.062 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.795e-05/1.74, allocations: 15.84 kB / 1.575 GB, free: 5.047 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/1.74, allocations: 121 kB / 1.576 GB, free: 4.922 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.676e-05/1.74, allocations: 176.3 kB / 1.576 GB, free: 4.742 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.475e-05/1.74, allocations: 180.2 kB / 1.576 GB, free: 4.559 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-05/1.74, allocations: 188.2 kB / 1.576 GB, free: 4.367 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/1.74, allocations: 405.2 kB / 1.576 GB, free: 3.914 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.741, allocations: 101 kB / 1.577 GB, free: 3.809 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/1.741, allocations: 113 kB / 1.577 GB, free: 3.691 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.556e-05/1.741, allocations: 180.2 kB / 1.577 GB, free: 3.508 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.363e-05/1.741, allocations: 176.3 kB / 1.577 GB, free: 3.328 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-05/1.741, allocations: 180.2 kB / 1.577 GB, free: 3.145 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.991e-05/1.741, allocations: 188.3 kB / 1.577 GB, free: 2.953 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/1.741, allocations: 311.7 kB / 1.578 GB, free: 2.625 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 8.608e-05/1.741, allocations: 182.1 kB / 1.578 GB, free: 2.422 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-05/1.741, allocations: 180.2 kB / 1.578 GB, free: 2.238 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/1.741, allocations: 109 kB / 1.578 GB, free: 2.125 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/1.742, allocations: 188.2 kB / 1.578 GB, free: 1.934 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/1.742, allocations: 105 kB / 1.578 GB, free: 1.824 MB / 1.026 GB Notification: Performance of sorting global known variables: time 5.069e-05/1.742, allocations: 79.28 kB / 1.578 GB, free: 1.746 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.91e-07/1.742, allocations: 0 / 1.578 GB, free: 1.746 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0003296/1.742, allocations: 39.94 kB / 1.578 GB, free: 1.707 MB / 1.026 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.0003565/1.742, allocations: 230 kB / 1.579 GB, free: 1.473 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/1.742, allocations: 15.88 kB / 1.579 GB, free: 1.457 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.742, allocations: 3.938 kB / 1.579 GB, free: 1.453 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/1.742, allocations: 4 kB / 1.579 GB, free: 1.449 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/1.743, allocations: 0.5275 MB / 1.579 GB, free: 0.918 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002354/1.743, allocations: 128.3 kB / 1.579 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/1.743, allocations: 0.677 MB / 1.58 GB, free: 68 kB / 1.026 GB Notification: Performance of simCode: alias equations: time 5.66e-05/1.743, allocations: 4 kB / 1.58 GB, free: 64 kB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/1.744, allocations: 15.42 kB / 1.58 GB, free: 48 kB / 1.026 GB Notification: Performance of SimCode: time 7.11e-07/1.744, allocations: 0 / 1.58 GB, free: 48 kB / 1.026 GB Notification: Performance of Templates: time 0.004314/1.748, allocations: 1.143 MB / 1.581 GB, free: 14.95 MB / 1.042 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches