Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.466/1.466, allocations: 249.3 MB / 261.8 MB, free: 5.977 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.001141/0.001141, allocations: 176.9 kB / 321.3 MB, free: 14.65 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.547/1.547, allocations: 205.2 MB / 0.572 GB, free: 10.67 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.0008894/0.0008895, allocations: 88.58 kB / 0.6764 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.485e-05, allocations: 4 kB / 0.7879 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2385, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9718/1.21, allocations: 345 MB / 1.229 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/1.211, allocations: 77.69 kB / 1.229 GB, free: 5.184 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.0187/1.229, allocations: 8.099 MB / 1.237 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.196e-06/1.229, allocations: 0 / 1.237 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.621e-06/1.23, allocations: 3.938 kB / 1.237 GB, free: 14.16 MB / 0.8542 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.0003164/1.23, allocations: 350.4 kB / 1.237 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.23, allocations: 8.031 kB / 1.237 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/1.23, allocations: 15.97 kB / 1.237 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001059/1.23, allocations: 175 kB / 1.237 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/1.23, allocations: 4 kB / 1.237 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/1.23, allocations: 7.938 kB / 1.237 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/1.23, allocations: 72.19 kB / 1.237 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/1.23, allocations: 0 / 1.237 GB, free: 13.44 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/1.23, allocations: 7.984 kB / 1.237 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/1.23, allocations: 0 / 1.237 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/1.231, allocations: 16 kB / 1.237 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006009/1.231, allocations: 466.8 kB / 1.238 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/1.231, allocations: 75.73 kB / 1.238 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/1.231, allocations: 18.64 kB / 1.238 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/1.231, allocations: 0 / 1.238 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.231, allocations: 42.64 kB / 1.238 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/1.231, allocations: 0 / 1.238 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005913/1.232, allocations: 294.1 kB / 1.238 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/1.232, allocations: 106.8 kB / 1.238 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.136e-05/1.232, allocations: 96.98 kB / 1.238 GB, free: 12.15 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/1.232, allocations: 29.7 kB / 1.238 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/1.232, allocations: 84.05 kB / 1.238 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/1.232, allocations: 27.64 kB / 1.238 GB, free: 12 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/1.232, allocations: 8.062 kB / 1.238 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.232, allocations: 314.8 kB / 1.239 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.722e-05/1.232, allocations: 16 kB / 1.239 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/1.232, allocations: 57.08 kB / 1.239 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/1.232, allocations: 16.38 kB / 1.239 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.232, allocations: 4 kB / 1.239 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/1.233, allocations: 93.44 kB / 1.239 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.233, allocations: 4 kB / 1.239 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/1.233, allocations: 4 kB / 1.239 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.989e-05/1.233, allocations: 0 / 1.239 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.721e-05/1.233, allocations: 23.92 kB / 1.239 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/1.233, allocations: 4.125 kB / 1.239 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/1.233, allocations: 15.95 kB / 1.239 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.213e-06/1.233, allocations: 4 kB / 1.239 GB, free: 11.41 MB / 0.8542 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 () * 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 7.008e-05/1.233, allocations: 105 kB / 1.239 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/1.233, allocations: 4 kB / 1.239 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/1.233, allocations: 11.55 kB / 1.239 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/1.233, allocations: 4 kB / 1.239 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.233, allocations: 0 / 1.239 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/1.233, allocations: 0 / 1.239 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003284/1.233, allocations: 185.5 kB / 1.239 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.233, allocations: 4 kB / 1.239 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.511e-05/1.234, allocations: 16 kB / 1.239 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/1.234, allocations: 0 / 1.239 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/1.234, allocations: 7.938 kB / 1.239 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.234, allocations: 3.984 kB / 1.239 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.234, allocations: 0 / 1.239 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/1.234, allocations: 353.4 kB / 1.24 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.893e-05/1.234, allocations: 89.14 kB / 1.24 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/1.234, allocations: 0 / 1.24 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/1.234, allocations: 4 kB / 1.24 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/1.234, allocations: 7.953 kB / 1.24 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/1.234, allocations: 7.984 kB / 1.24 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.947e-05/1.234, allocations: 83.28 kB / 1.24 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.2e-07/1.234, allocations: 0 / 1.24 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002813/1.235, allocations: 16 kB / 1.24 GB, free: 10.43 MB / 0.8542 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 () * 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.0001541/1.235, allocations: 103.2 kB / 1.24 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001041/1.235, allocations: 43.88 kB / 1.24 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.235, allocations: 3.984 kB / 1.24 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/1.235, allocations: 24.19 kB / 1.24 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/1.235, allocations: 4 kB / 1.24 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/1.236, allocations: 291.4 kB / 1.24 GB, free: 9.93 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/1.236, allocations: 0.6848 MB / 1.241 GB, free: 9.219 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.807e-05/1.236, allocations: 8 kB / 1.241 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/1.236, allocations: 11.44 kB / 1.241 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of SimCode: time 2.7e-07/1.236, allocations: 0 / 1.241 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of Templates: time 0.003248/1.239, allocations: 0.6092 MB / 1.242 GB, free: 8.605 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches