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/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.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/Buildings 10.0.0-master/package.mo): time 2.556/2.556, allocations: 390.3 MB / 402.8 MB, free: 6.695 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.00128/0.00128, allocations: 172.9 kB / 496.1 MB, free: 12.86 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.702/1.702, allocations: 221.3 MB / 0.7915 GB, free: 5.359 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.0009077/0.0009077, allocations: 95.84 kB / 0.9317 GB, free: 5.668 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.902e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3799, allocations: 143 MB / 1.219 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.389/1.769, allocations: 361.9 MB / 1.572 GB, free: 7.473 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.77, allocations: 76.56 kB / 1.572 GB, free: 7.43 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 0.02154/1.791, allocations: 8.24 MB / 1.58 GB, free: 244 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.034e-06/1.791, allocations: 0 / 1.58 GB, free: 244 kB / 1.026 GB Notification: Performance of Transformations before backend: time 8.506e-06/1.791, allocations: 4 kB / 1.58 GB, free: 240 kB / 1.026 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.0004776/1.792, allocations: 351.3 kB / 1.581 GB, free: 15.85 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/1.792, allocations: 12.03 kB / 1.581 GB, free: 15.84 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002563/1.792, allocations: 11.98 kB / 1.581 GB, free: 15.82 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/1.792, allocations: 167.6 kB / 1.581 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/1.792, allocations: 4 kB / 1.581 GB, free: 15.62 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/1.792, allocations: 11.91 kB / 1.581 GB, free: 15.61 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/1.793, allocations: 72.2 kB / 1.581 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.793, allocations: 4 kB / 1.581 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/1.793, allocations: 0 / 1.581 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/1.793, allocations: 0 / 1.581 GB, free: 15.52 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.621e-05/1.793, allocations: 8 kB / 1.581 GB, free: 15.51 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000791/1.793, allocations: 470.9 kB / 1.581 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/1.794, allocations: 75.66 kB / 1.581 GB, free: 14.88 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.301e-05/1.794, allocations: 30.7 kB / 1.581 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.794, allocations: 0 / 1.581 GB, free: 14.84 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/1.794, allocations: 30.56 kB / 1.582 GB, free: 14.8 MB / 1.042 GB Notification: Performance of pre-optimization done (n=5): time 3.096e-06/1.794, allocations: 3.938 kB / 1.582 GB, free: 14.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0007288/1.794, allocations: 306.2 kB / 1.582 GB, free: 14.45 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/1.795, allocations: 106.8 kB / 1.582 GB, free: 14.32 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.027e-05/1.795, allocations: 89 kB / 1.582 GB, free: 14.23 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/1.795, allocations: 33.64 kB / 1.582 GB, free: 14.19 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.772e-05/1.795, allocations: 92.03 kB / 1.582 GB, free: 14.09 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/1.795, allocations: 23.64 kB / 1.582 GB, free: 14.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/1.795, allocations: 4 kB / 1.582 GB, free: 14.07 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.795, allocations: 318.8 kB / 1.582 GB, free: 13.75 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-05/1.795, allocations: 16 kB / 1.582 GB, free: 13.73 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/1.795, allocations: 45.16 kB / 1.583 GB, free: 13.67 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.023e-05/1.795, allocations: 20.36 kB / 1.583 GB, free: 13.65 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.795, allocations: 3.938 kB / 1.583 GB, free: 13.64 MB / 1.042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000147/1.795, allocations: 105.4 kB / 1.583 GB, free: 13.54 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.795, allocations: 4 kB / 1.583 GB, free: 13.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.795, allocations: 0 / 1.583 GB, free: 13.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/1.795, allocations: 4 kB / 1.583 GB, free: 13.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/1.795, allocations: 23.89 kB / 1.583 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/1.795, allocations: 7.984 kB / 1.583 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.087e-05/1.796, allocations: 0 / 1.583 GB, free: 13.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/1.796, allocations: 8 kB / 1.583 GB, free: 13.49 MB / 1.042 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 8.856e-05/1.796, allocations: 109.1 kB / 1.583 GB, free: 13.38 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/1.796, allocations: 8 kB / 1.583 GB, free: 13.37 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/1.796, allocations: 11.5 kB / 1.583 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/1.796, allocations: 0 / 1.583 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.796, allocations: 3.953 kB / 1.583 GB, free: 13.36 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.796, allocations: 4 kB / 1.583 GB, free: 13.35 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003512/1.796, allocations: 169.7 kB / 1.583 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.796, allocations: 0 / 1.583 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.563e-05/1.796, allocations: 19.98 kB / 1.583 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.796, allocations: 0 / 1.583 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/1.796, allocations: 4 kB / 1.583 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-06/1.796, allocations: 4 kB / 1.583 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/1.796, allocations: 0 / 1.583 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/1.797, allocations: 357.4 kB / 1.583 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.97e-05/1.797, allocations: 81.11 kB / 1.583 GB, free: 12.63 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/1.797, allocations: 8.016 kB / 1.583 GB, free: 12.62 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/1.797, allocations: 12 kB / 1.583 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.478e-05/1.797, allocations: 3.984 kB / 1.583 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.978e-06/1.797, allocations: 4 kB / 1.583 GB, free: 12.61 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.172e-05/1.797, allocations: 83.22 kB / 1.584 GB, free: 12.52 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.5e-07/1.797, allocations: 0 / 1.584 GB, free: 12.52 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002956/1.797, allocations: 16 kB / 1.584 GB, free: 12.51 MB / 1.042 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.0001967/1.798, allocations: 115.2 kB / 1.584 GB, free: 12.39 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001232/1.798, allocations: 39.88 kB / 1.584 GB, free: 12.35 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.798, allocations: 4 kB / 1.584 GB, free: 12.34 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.597e-05/1.798, allocations: 16 kB / 1.584 GB, free: 12.33 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/1.798, allocations: 9.422 kB / 1.584 GB, free: 12.32 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/1.799, allocations: 300.1 kB / 1.584 GB, free: 12 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/1.799, allocations: 0.6859 MB / 1.585 GB, free: 11.29 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.109e-05/1.799, allocations: 15.77 kB / 1.585 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.29e-05/1.799, allocations: 11.44 kB / 1.585 GB, free: 11.26 MB / 1.042 GB Notification: Performance of SimCode: time 3.91e-07/1.799, allocations: 0 / 1.585 GB, free: 11.26 MB / 1.042 GB Notification: Performance of Templates: time 0.003167/1.802, allocations: 0.6074 MB / 1.585 GB, free: 10.69 MB / 1.042 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