Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001212, allocations: 99.31 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.001459/0.001459, allocations: 177.3 kB / 15.95 MB, free: 216 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.367/1.367, allocations: 223.2 MB / 239.9 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.569/2.569, allocations: 436.5 MB / 0.7104 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003451/0.0003453, allocations: 8 kB / 0.8708 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6413/0.6417, allocations: 153.7 MB / 1.021 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001241/0.643, allocations: 0.9719 MB / 1.022 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002272/0.6453, allocations: 1.889 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.6453, allocations: 4 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.403e-05/0.6453, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.579e-05/0.6454, allocations: 7.984 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004166/0.6458, allocations: 115.6 kB / 1.024 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.509e-05/0.6459, allocations: 15.98 kB / 1.024 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.6459, allocations: 7.984 kB / 1.024 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.084e-05/0.646, allocations: 15.98 kB / 1.024 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.052e-05/0.646, allocations: 19.92 kB / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.646, allocations: 0 / 1.024 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.6463, allocations: 111.8 kB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.567e-05/0.6464, allocations: 7.984 kB / 1.024 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.6464, allocations: 29.7 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.6465, allocations: 42.06 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.6465, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.6465, allocations: 0 / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.616e-06/0.6466, allocations: 0 / 1.024 GB, free: 13.95 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003362/0.6469, allocations: 351.2 kB / 1.024 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.6469, allocations: 15.98 kB / 1.024 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002027/0.6471, allocations: 8 kB / 1.024 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.6473, allocations: 171 kB / 1.024 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6473, allocations: 11.89 kB / 1.025 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.6473, allocations: 8 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.6475, allocations: 68.25 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.6475, allocations: 4 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.6475, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6475, allocations: 0 / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.6476, allocations: 15.92 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.6482, allocations: 470.8 kB / 1.025 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.6483, allocations: 75.72 kB / 1.025 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.6483, allocations: 3.938 kB / 1.025 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.6484, allocations: 34.56 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.6484, allocations: 4 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005895/0.649, allocations: 306.6 kB / 1.025 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.649, allocations: 106.8 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.6491, allocations: 97.84 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.6491, allocations: 29.7 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.388e-05/0.6492, allocations: 84.3 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.767e-05/0.6492, allocations: 27.66 kB / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.6492, allocations: 0 / 1.026 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.6493, allocations: 330.7 kB / 1.026 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.6493, allocations: 12 kB / 1.026 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.6494, allocations: 49.08 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.185e-05/0.6494, allocations: 24 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.6495, allocations: 0 / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001248/0.6496, allocations: 93.45 kB / 1.026 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6496, allocations: 8 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6496, allocations: 3.984 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6496, allocations: 4 kB / 1.026 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.965e-05/0.6497, allocations: 20.06 kB / 1.026 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.6497, allocations: 4 kB / 1.026 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.6498, allocations: 11.94 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.6498, allocations: 4 kB / 1.026 GB, free: 11.21 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.138e-05/0.6499, allocations: 121.8 kB / 1.026 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.517e-05/0.6499, allocations: 4 kB / 1.026 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.21e-05/0.65, allocations: 7.562 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.65, allocations: 0 / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.65, allocations: 4 kB / 1.026 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.65, allocations: 4 kB / 1.026 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.6503, allocations: 181.6 kB / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.6504, allocations: 0 / 1.027 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.969e-05/0.6504, allocations: 23.92 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.6505, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.6505, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.6505, allocations: 8.062 kB / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6505, allocations: 0 / 1.027 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002286/0.6507, allocations: 349.4 kB / 1.027 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.6508, allocations: 85.05 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.6508, allocations: 7.938 kB / 1.027 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.651, allocations: 8.031 kB / 1.027 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.683e-05/0.651, allocations: 7.953 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.651, allocations: 4 kB / 1.027 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.5e-05/0.6511, allocations: 79.66 kB / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6511, allocations: 0 / 1.027 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003261/0.6514, allocations: 16 kB / 1.027 GB, free: 10.2 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.000123/0.6515, allocations: 107.4 kB / 1.027 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.6517, allocations: 43.91 kB / 1.027 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.6517, allocations: 4.25 kB / 1.027 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.646e-05/0.6517, allocations: 19.94 kB / 1.027 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.652, allocations: 11.92 kB / 1.027 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006122/0.6526, allocations: 404.3 kB / 1.028 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.6529, allocations: 0.6887 MB / 1.028 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.366e-05/0.6529, allocations: 8 kB / 1.028 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.319e-05/0.6529, allocations: 15.38 kB / 1.028 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.653, allocations: 0 / 1.028 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of Templates: time 0.002756/0.6557, allocations: 0.594 MB / 1.029 GB, free: 8.289 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches