Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.303/2.303, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00126/0.00126, allocations: 176.2 kB / 498.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.693/1.693, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.000932/0.0009319, allocations: 100.3 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003984/0.0003985, allocations: 9.766 kB / 1.084 GB, free: 221 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3021, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.197/1.5, allocations: 361.2 MB / 1.576 GB, free: 33.55 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/1.5, allocations: 81.16 kB / 1.576 GB, free: 33.51 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.01732/1.517, allocations: 8.291 MB / 1.584 GB, free: 26.81 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.256e-06/1.517, allocations: 0 / 1.584 GB, free: 26.81 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 8.707e-06/1.517, allocations: 0 / 1.584 GB, free: 26.81 MB / 0.9167 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.0003625/1.518, allocations: 355.1 kB / 1.584 GB, free: 26.42 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.518, allocations: 8.031 kB / 1.584 GB, free: 26.41 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000215/1.518, allocations: 19.89 kB / 1.584 GB, free: 26.39 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/1.518, allocations: 167 kB / 1.584 GB, free: 26.19 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.518, allocations: 3.938 kB / 1.584 GB, free: 26.18 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/1.518, allocations: 7.625 kB / 1.584 GB, free: 26.18 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/1.518, allocations: 71.88 kB / 1.584 GB, free: 26.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/1.518, allocations: 0 / 1.584 GB, free: 26.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/1.519, allocations: 7.984 kB / 1.584 GB, free: 26.09 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/1.519, allocations: 0 / 1.584 GB, free: 26.09 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/1.519, allocations: 15.5 kB / 1.584 GB, free: 26.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/1.519, allocations: 466.6 kB / 1.585 GB, free: 25.57 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/1.519, allocations: 71.41 kB / 1.585 GB, free: 25.48 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/1.519, allocations: 8.125 kB / 1.585 GB, free: 25.47 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/1.519, allocations: 34.64 kB / 1.585 GB, free: 25.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/1.519, allocations: 0 / 1.585 GB, free: 25.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0006271/1.52, allocations: 305 kB / 1.585 GB, free: 25.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/1.52, allocations: 103.1 kB / 1.585 GB, free: 24.98 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.383e-05/1.52, allocations: 100.9 kB / 1.585 GB, free: 24.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/1.52, allocations: 29.7 kB / 1.585 GB, free: 24.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/1.52, allocations: 87.92 kB / 1.586 GB, free: 24.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/1.52, allocations: 35.22 kB / 1.586 GB, free: 24.72 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/1.52, allocations: 0 / 1.586 GB, free: 24.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.005e-05/1.52, allocations: 314.8 kB / 1.586 GB, free: 24.41 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.54e-05/1.52, allocations: 11.98 kB / 1.586 GB, free: 24.4 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.422e-05/1.52, allocations: 64.64 kB / 1.586 GB, free: 24.32 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/1.52, allocations: 19.69 kB / 1.586 GB, free: 24.31 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/1.52, allocations: 0 / 1.586 GB, free: 24.31 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001187/1.521, allocations: 89.05 kB / 1.586 GB, free: 24.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.521, allocations: 8.125 kB / 1.586 GB, free: 24.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.521, allocations: 4 kB / 1.586 GB, free: 24.22 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.521, allocations: 0 / 1.586 GB, free: 24.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/1.521, allocations: 19.94 kB / 1.586 GB, free: 24.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.521, allocations: 11.94 kB / 1.586 GB, free: 24.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/1.521, allocations: 3.75 kB / 1.586 GB, free: 24.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-06/1.521, allocations: 12.05 kB / 1.586 GB, free: 24.18 MB / 0.9167 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.331e-05/1.521, allocations: 113.7 kB / 1.586 GB, free: 24.06 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/1.521, allocations: 8.516 kB / 1.586 GB, free: 24.05 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.558e-05/1.521, allocations: 11.38 kB / 1.586 GB, free: 24.04 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/1.521, allocations: 4 kB / 1.586 GB, free: 24.04 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.361e-06/1.521, allocations: 0 / 1.586 GB, free: 24.04 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/1.521, allocations: 3.953 kB / 1.586 GB, free: 24.04 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003352/1.521, allocations: 173.4 kB / 1.586 GB, free: 23.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.521, allocations: 7.984 kB / 1.586 GB, free: 23.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.314e-05/1.521, allocations: 19.92 kB / 1.586 GB, free: 23.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/1.521, allocations: 0 / 1.586 GB, free: 23.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/1.522, allocations: 7.938 kB / 1.586 GB, free: 23.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/1.522, allocations: 0 / 1.586 GB, free: 23.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.522, allocations: 4 kB / 1.586 GB, free: 23.79 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/1.522, allocations: 352.3 kB / 1.587 GB, free: 23.43 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.594e-05/1.522, allocations: 92.98 kB / 1.587 GB, free: 23.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/1.522, allocations: 0 / 1.587 GB, free: 23.32 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/1.522, allocations: 11.95 kB / 1.587 GB, free: 23.31 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/1.522, allocations: 0 / 1.587 GB, free: 23.31 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/1.522, allocations: 7.5 kB / 1.587 GB, free: 23.3 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.371e-05/1.522, allocations: 83.27 kB / 1.587 GB, free: 23.22 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/1.522, allocations: 0 / 1.587 GB, free: 23.22 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003161/1.522, allocations: 15.56 kB / 1.587 GB, free: 23.21 MB / 0.9167 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.0001536/1.523, allocations: 114.9 kB / 1.587 GB, free: 23.09 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001286/1.523, allocations: 43.17 kB / 1.587 GB, free: 23.05 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/1.523, allocations: 0 / 1.587 GB, free: 23.05 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2.56e-05/1.523, allocations: 23.67 kB / 1.587 GB, free: 23.04 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/1.523, allocations: 4 kB / 1.587 GB, free: 23.03 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006134/1.524, allocations: 403.5 kB / 1.588 GB, free: 22.61 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001972/1.524, allocations: 0.6848 MB / 1.588 GB, free: 21.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 6.705e-05/1.524, allocations: 19.75 kB / 1.588 GB, free: 21.88 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.114e-05/1.524, allocations: 11.44 kB / 1.588 GB, free: 21.87 MB / 0.9167 GB Notification: Performance of SimCode: time 3.21e-07/1.524, allocations: 0 / 1.588 GB, free: 21.87 MB / 0.9167 GB Notification: Performance of Templates: time 0.002993/1.527, allocations: 0.584 MB / 1.589 GB, free: 21.33 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches