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/2, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009972/0.0009973, allocations: 188.9 kB / 487.4 MB, free: 5.043 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.38/1.38, allocations: 221.5 MB / 0.7824 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009083/0.0009083, allocations: 103.8 kB / 0.9219 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.735e-05, allocations: 0 / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2395, allocations: 142.4 MB / 1.206 GB, free: 44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9752/1.215, allocations: 360.4 MB / 1.558 GB, free: 12.97 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/1.215, allocations: 77.64 kB / 1.558 GB, free: 12.93 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.01961/1.235, allocations: 8.215 MB / 1.566 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.263e-06/1.235, allocations: 0 / 1.566 GB, free: 6.383 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 5.701e-06/1.235, allocations: 4 kB / 1.566 GB, free: 6.379 MB / 0.9792 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.0003427/1.235, allocations: 346.2 kB / 1.566 GB, free: 6 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/1.235, allocations: 16.02 kB / 1.566 GB, free: 5.984 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/1.235, allocations: 9.281 kB / 1.566 GB, free: 5.977 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/1.236, allocations: 163 kB / 1.567 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.085e-05/1.236, allocations: 0 / 1.567 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/1.236, allocations: 11.89 kB / 1.567 GB, free: 5.766 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.24e-05/1.236, allocations: 10.75 kB / 1.567 GB, free: 5.758 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.59e-05/1.236, allocations: 64.14 kB / 1.567 GB, free: 5.684 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/1.236, allocations: 4 kB / 1.567 GB, free: 5.68 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.64e-05/1.236, allocations: 7.938 kB / 1.567 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/1.236, allocations: 0 / 1.567 GB, free: 5.672 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005206/1.236, allocations: 443.2 kB / 1.567 GB, free: 5.195 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/1.236, allocations: 70.61 kB / 1.567 GB, free: 5.105 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/1.237, allocations: 18.8 kB / 1.567 GB, free: 5.078 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/1.237, allocations: 3.984 kB / 1.567 GB, free: 5.074 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/1.237, allocations: 42.5 kB / 1.567 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/1.237, allocations: 0 / 1.567 GB, free: 5.023 MB / 0.9792 GB Notification: Performance of matching and sorting (n=7): time 0.0005544/1.237, allocations: 275.8 kB / 1.567 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.769e-05/1.237, allocations: 106.8 kB / 1.568 GB, free: 4.586 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.827e-05/1.237, allocations: 92.86 kB / 1.568 GB, free: 4.492 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/1.237, allocations: 29.7 kB / 1.568 GB, free: 4.457 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/1.237, allocations: 92.06 kB / 1.568 GB, free: 4.363 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/1.237, allocations: 26.95 kB / 1.568 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/1.237, allocations: 0 / 1.568 GB, free: 4.34 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/1.237, allocations: 314.1 kB / 1.568 GB, free: 4.027 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/1.238, allocations: 11.38 kB / 1.568 GB, free: 4.02 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.892e-05/1.238, allocations: 44.91 kB / 1.568 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.798e-05/1.238, allocations: 23.11 kB / 1.568 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/1.238, allocations: 0 / 1.568 GB, free: 3.941 MB / 0.9792 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001161/1.238, allocations: 85.2 kB / 1.568 GB, free: 3.859 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.238, allocations: 4 kB / 1.568 GB, free: 3.855 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/1.238, allocations: 4 kB / 1.568 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.238, allocations: 96 / 1.568 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.535e-05/1.238, allocations: 35.84 kB / 1.568 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/1.238, allocations: 64 / 1.568 GB, free: 3.82 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/1.238, allocations: 8 kB / 1.568 GB, free: 3.812 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/1.238, allocations: 7.953 kB / 1.568 GB, free: 3.805 MB / 0.9792 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 6.129e-05/1.238, allocations: 108.9 kB / 1.568 GB, free: 3.691 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/1.238, allocations: 4 kB / 1.568 GB, free: 3.688 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.001e-05/1.238, allocations: 7.938 kB / 1.568 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.238, allocations: 4 kB / 1.568 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.238, allocations: 0 / 1.568 GB, free: 3.68 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/1.238, allocations: 7.984 kB / 1.568 GB, free: 3.672 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002763/1.238, allocations: 153.3 kB / 1.569 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.238, allocations: 0 / 1.569 GB, free: 3.488 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/1.239, allocations: 15.98 kB / 1.569 GB, free: 3.473 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/1.239, allocations: 4 kB / 1.569 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/1.239, allocations: 0 / 1.569 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/1.239, allocations: 0 / 1.569 GB, free: 3.469 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/1.239, allocations: 4 kB / 1.569 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/1.239, allocations: 359.8 kB / 1.569 GB, free: 3.098 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/1.239, allocations: 81.02 kB / 1.569 GB, free: 3 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/1.239, allocations: 4 kB / 1.569 GB, free: 2.996 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/1.239, allocations: 4.031 kB / 1.569 GB, free: 2.992 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/1.239, allocations: 7.953 kB / 1.569 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/1.239, allocations: 7.688 kB / 1.569 GB, free: 2.98 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 3.228e-05/1.239, allocations: 79.28 kB / 1.569 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.4e-07/1.239, allocations: 0 / 1.569 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002952/1.239, allocations: 12 kB / 1.569 GB, free: 2.891 MB / 0.9792 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.0001526/1.24, allocations: 115.1 kB / 1.569 GB, free: 2.766 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.165e-05/1.24, allocations: 34.56 kB / 1.569 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.24, allocations: 256 / 1.569 GB, free: 2.738 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/1.24, allocations: 19.69 kB / 1.569 GB, free: 2.723 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/1.24, allocations: 4.562 kB / 1.569 GB, free: 2.719 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/1.24, allocations: 289.2 kB / 1.57 GB, free: 2.418 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/1.241, allocations: 0.6807 MB / 1.57 GB, free: 1.711 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.01e-05/1.241, allocations: 15.77 kB / 1.57 GB, free: 1.695 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/1.241, allocations: 11.44 kB / 1.57 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of SimCode: time 2.31e-07/1.241, allocations: 0 / 1.57 GB, free: 1.684 MB / 0.9792 GB Notification: Performance of Templates: time 0.002409/1.243, allocations: 0.5658 MB / 1.571 GB, free: 1.156 MB / 0.9792 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