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.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001222, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.546/2.546, allocations: 436.5 MB / 0.7104 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 8 kB / 0.8707 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6464/0.6468, allocations: 153.7 MB / 1.021 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003067/0.6499, allocations: 2.46 MB / 1.023 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003656/0.6502, allocations: 323.3 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.58e-05/0.6503, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.367e-05/0.6504, allocations: 3.938 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.67e-05/0.6504, allocations: 7.984 kB / 1.024 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.6508, allocations: 150.6 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.026e-05/0.6508, allocations: 23.95 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.845e-05/0.6509, allocations: 3.938 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.859e-05/0.6509, allocations: 8 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.651, allocations: 19.84 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.651, allocations: 4 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002556/0.6512, allocations: 99.88 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.301e-05/0.6513, allocations: 3.984 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.379e-05/0.6513, allocations: 29.7 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.6515, allocations: 57.91 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.6515, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6515, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.6515, allocations: 0 / 1.024 GB, free: 13.91 MB / 0.7794 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.0003611/0.6519, allocations: 347.2 kB / 1.024 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.6519, allocations: 15.98 kB / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.6519, allocations: 0 / 1.024 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.6521, allocations: 163 kB / 1.024 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.6521, allocations: 33.66 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.6521, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.6523, allocations: 41.69 kB / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.6523, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.6523, allocations: 0 / 1.024 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.6523, allocations: 11.98 kB / 1.024 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.6524, allocations: 12 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005937/0.653, allocations: 0.5716 MB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.653, allocations: 26.52 kB / 1.025 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.6533, allocations: 340.4 kB / 1.025 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.6533, allocations: 30.56 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.6533, allocations: 4 kB / 1.025 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.6534, allocations: 37.7 kB / 1.025 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.6535, allocations: 51.41 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.301e-05/0.6536, allocations: 113.6 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.6536, allocations: 29.7 kB / 1.026 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.6536, allocations: 80.14 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-06/0.6536, allocations: 3.906 kB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.6537, allocations: 0 / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.571e-05/0.6538, allocations: 318.9 kB / 1.026 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.357e-05/0.6538, allocations: 11.98 kB / 1.026 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.6538, allocations: 13.72 kB / 1.026 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.845e-05/0.6538, allocations: 4 kB / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6538, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.695e-05/0.6539, allocations: 49.62 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.6539, allocations: 8 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.6539, allocations: 4.062 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.654, allocations: 3.938 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.751e-05/0.654, allocations: 4 kB / 1.026 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.654, allocations: 3.984 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.948e-05/0.654, allocations: 7.938 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.6541, allocations: 0 / 1.026 GB, free: 11.23 MB / 0.7794 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 7.478e-05/0.6541, allocations: 117.8 kB / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.6542, allocations: 0 / 1.026 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.6543, allocations: 128.8 kB / 1.026 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.164e-05/0.6543, allocations: 176.3 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.955e-05/0.6544, allocations: 184.2 kB / 1.027 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.168e-05/0.6545, allocations: 180.3 kB / 1.027 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.6547, allocations: 405.2 kB / 1.027 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.541e-05/0.6547, allocations: 116.9 kB / 1.027 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.915e-05/0.6548, allocations: 101 kB / 1.028 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.944e-05/0.6548, allocations: 184.2 kB / 1.028 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/0.6549, allocations: 176.3 kB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.587e-05/0.655, allocations: 180.3 kB / 1.028 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-05/0.655, allocations: 180.2 kB / 1.028 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.6551, allocations: 315.7 kB / 1.028 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.101e-05/0.6552, allocations: 178.1 kB / 1.029 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.391e-05/0.6553, allocations: 188.3 kB / 1.029 GB, free: 8.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.6555, allocations: 112.9 kB / 1.029 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.6555, allocations: 180.3 kB / 1.029 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.6556, allocations: 104.9 kB / 1.029 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.6556, allocations: 87.27 kB / 1.029 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6556, allocations: 0 / 1.029 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002583/0.6559, allocations: 35.94 kB / 1.029 GB, free: 7.746 MB / 0.7794 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.0002376/0.6561, allocations: 225.2 kB / 1.03 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.6562, allocations: 8 kB / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6562, allocations: 0 / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.6562, allocations: 0 / 1.03 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.6566, allocations: 0.5363 MB / 1.03 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002421/0.6568, allocations: 195.8 kB / 1.03 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.657, allocations: 0.677 MB / 1.031 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.6571, allocations: 11.98 kB / 1.031 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.48e-05/0.6571, allocations: 7.438 kB / 1.031 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6571, allocations: 0 / 1.031 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of Templates: time 0.003365/0.6605, allocations: 1.128 MB / 1.032 GB, free: 4.945 MB / 0.7794 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