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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.204/1.204, allocations: 249.4 MB / 256.7 MB, free: 7.051 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.0009764/0.0009765, allocations: 185.2 kB / 316 MB, free: 3.543 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 205.1 MB / 0.5667 GB, free: 15.59 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.0008146/0.0008146, allocations: 94.81 kB / 0.671 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.869e-06/4.889e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1398, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5681/0.708, allocations: 345.3 MB / 1.222 GB, free: 9.164 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.7082, allocations: 80.12 kB / 1.222 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 0.01655/0.7248, allocations: 7.74 MB / 1.229 GB, free: 3.02 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.7248, allocations: 0 / 1.229 GB, free: 3.02 MB / 0.8386 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.0003513/0.7252, allocations: 355.3 kB / 1.23 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.7252, allocations: 12.03 kB / 1.23 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.7255, allocations: 15.98 kB / 1.23 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.7256, allocations: 167.9 kB / 1.23 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.7256, allocations: 0 / 1.23 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.7256, allocations: 7 kB / 1.23 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.979e-05/0.7257, allocations: 4 kB / 1.23 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.7259, allocations: 63.69 kB / 1.23 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.7259, allocations: 0 / 1.23 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.7259, allocations: 4 kB / 1.23 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.7259, allocations: 4 kB / 1.23 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.7265, allocations: 437.5 kB / 1.23 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.7266, allocations: 58.7 kB / 1.23 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.611e-05/0.7267, allocations: 38.36 kB / 1.23 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.481e-05/0.7267, allocations: 0 / 1.23 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.7267, allocations: 33.75 kB / 1.231 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.7268, allocations: 0 / 1.231 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0006686/0.7274, allocations: 281 kB / 1.231 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.7275, allocations: 114.1 kB / 1.231 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.7276, allocations: 93.17 kB / 1.231 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.7276, allocations: 25.7 kB / 1.231 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.7276, allocations: 87.36 kB / 1.231 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.7277, allocations: 26.95 kB / 1.231 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.7277, allocations: 0 / 1.231 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.463e-05/0.7278, allocations: 314.8 kB / 1.231 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.7278, allocations: 11.12 kB / 1.231 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.7278, allocations: 51.7 kB / 1.231 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.269e-05/0.7279, allocations: 11.12 kB / 1.231 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.7279, allocations: 0 / 1.231 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001159/0.728, allocations: 98.08 kB / 1.232 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.728, allocations: 4 kB / 1.232 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.728, allocations: 0 / 1.232 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.7281, allocations: 4 kB / 1.232 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.7281, allocations: 19.98 kB / 1.232 GB, free: 488 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.7282, allocations: 3.938 kB / 1.232 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.875e-05/0.7282, allocations: 7.906 kB / 1.232 GB, free: 476 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.7282, allocations: 4 kB / 1.232 GB, free: 472 kB / 0.8386 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.292e-05/0.7283, allocations: 108.4 kB / 1.232 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.7283, allocations: 7.906 kB / 1.232 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.042e-05/0.7284, allocations: 7 kB / 1.232 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.7284, allocations: 7.984 kB / 1.232 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.7284, allocations: 0 / 1.232 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.7284, allocations: 0 / 1.232 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.7287, allocations: 145.5 kB / 1.232 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7287, allocations: 4.062 kB / 1.232 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.278e-05/0.7288, allocations: 23.92 kB / 1.232 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.7288, allocations: 4 kB / 1.232 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.7288, allocations: 0 / 1.232 GB, free: 132 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7288, allocations: 7.906 kB / 1.232 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.7288, allocations: 0 / 1.232 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001999/0.729, allocations: 345.5 kB / 1.232 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.822e-05/0.7291, allocations: 85.02 kB / 1.232 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.7291, allocations: 0 / 1.232 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.7293, allocations: 11.92 kB / 1.232 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.365e-05/0.7293, allocations: 2.875 kB / 1.232 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.7293, allocations: 4 kB / 1.232 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.183e-05/0.7294, allocations: 86.47 kB / 1.232 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002872/0.7297, allocations: 12 kB / 1.232 GB, free: 15.55 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.0001331/0.7298, allocations: 107.8 kB / 1.233 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.614e-05/0.7299, allocations: 34.31 kB / 1.233 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.7299, allocations: 4 kB / 1.233 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.882e-05/0.7299, allocations: 15.12 kB / 1.233 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.7301, allocations: 7.984 kB / 1.233 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005056/0.7307, allocations: 290.7 kB / 1.233 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002998/0.731, allocations: 0.6919 MB / 1.234 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of SimCode: time 2.31e-07/0.731, allocations: 0 / 1.234 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.002562/0.7335, allocations: 0.6646 MB / 1.234 GB, free: 13.74 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