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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.966/1.966, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001016/0.001016, allocations: 185.2 kB / 487 MB, free: 5.359 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.297/1.297, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.001056/0.001056, allocations: 95.28 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 6.152e-06/6.162e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2513, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8688/1.12, allocations: 360.4 MB / 1.557 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/1.12, allocations: 76.7 kB / 1.557 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of FrontEnd: time 0.01857/1.139, allocations: 7.917 MB / 1.565 GB, free: 7.332 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.139, allocations: 0 / 1.565 GB, free: 7.332 MB / 0.9948 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.0003106/1.139, allocations: 343.8 kB / 1.565 GB, free: 6.957 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/1.139, allocations: 12.03 kB / 1.565 GB, free: 6.945 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/1.14, allocations: 15.89 kB / 1.565 GB, free: 6.93 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/1.14, allocations: 159.1 kB / 1.565 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/1.14, allocations: 0 / 1.565 GB, free: 6.734 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/1.14, allocations: 11.38 kB / 1.565 GB, free: 6.727 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.048e-05/1.14, allocations: 4 kB / 1.565 GB, free: 6.723 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/1.14, allocations: 71.53 kB / 1.566 GB, free: 6.641 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/1.14, allocations: 3.938 kB / 1.566 GB, free: 6.637 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/1.14, allocations: 4 kB / 1.566 GB, free: 6.633 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/1.14, allocations: 4 kB / 1.566 GB, free: 6.629 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005464/1.141, allocations: 437 kB / 1.566 GB, free: 6.16 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/1.141, allocations: 62.11 kB / 1.566 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.813e-05/1.141, allocations: 25.64 kB / 1.566 GB, free: 6.047 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/1.141, allocations: 4 kB / 1.566 GB, free: 6.043 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.759e-05/1.141, allocations: 35.25 kB / 1.566 GB, free: 6 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/1.141, allocations: 0 / 1.566 GB, free: 6 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0005807/1.141, allocations: 282.7 kB / 1.566 GB, free: 5.684 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/1.142, allocations: 102.9 kB / 1.566 GB, free: 5.559 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/1.142, allocations: 96.89 kB / 1.567 GB, free: 5.461 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/1.142, allocations: 25.7 kB / 1.567 GB, free: 5.43 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.105e-05/1.142, allocations: 84.05 kB / 1.567 GB, free: 5.344 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/1.142, allocations: 31.48 kB / 1.567 GB, free: 5.316 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.142, allocations: 3.938 kB / 1.567 GB, free: 5.312 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001206/1.142, allocations: 317.9 kB / 1.567 GB, free: 4.996 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/1.142, allocations: 7.5 kB / 1.567 GB, free: 4.992 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.208e-05/1.142, allocations: 59.33 kB / 1.567 GB, free: 4.922 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/1.142, allocations: 15.53 kB / 1.567 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/1.142, allocations: 0 / 1.567 GB, free: 4.91 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001211/1.142, allocations: 84.05 kB / 1.567 GB, free: 4.828 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/1.142, allocations: 11.97 kB / 1.567 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/1.142, allocations: 0 / 1.567 GB, free: 4.816 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/1.142, allocations: 4 kB / 1.567 GB, free: 4.812 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.438e-05/1.142, allocations: 19.98 kB / 1.567 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/1.142, allocations: 0 / 1.567 GB, free: 4.793 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.93e-05/1.142, allocations: 4 kB / 1.567 GB, free: 4.789 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/1.142, allocations: 4 kB / 1.567 GB, free: 4.785 MB / 0.9948 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.443e-05/1.142, allocations: 107.7 kB / 1.567 GB, free: 4.676 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/1.142, allocations: 7.906 kB / 1.567 GB, free: 4.668 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/1.143, allocations: 19.17 kB / 1.567 GB, free: 4.656 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/1.143, allocations: 4 kB / 1.567 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.143, allocations: 0 / 1.567 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/1.143, allocations: 0 / 1.567 GB, free: 4.652 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/1.143, allocations: 153.5 kB / 1.567 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.143, allocations: 0 / 1.567 GB, free: 4.469 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.314e-05/1.143, allocations: 16 kB / 1.567 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.143, allocations: 0 / 1.567 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/1.143, allocations: 0 / 1.567 GB, free: 4.453 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/1.143, allocations: 4 kB / 1.567 GB, free: 4.449 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/1.143, allocations: 4 kB / 1.567 GB, free: 4.445 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002348/1.143, allocations: 347.1 kB / 1.568 GB, free: 4.09 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/1.143, allocations: 85.02 kB / 1.568 GB, free: 3.988 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/1.143, allocations: 3.984 kB / 1.568 GB, free: 3.984 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/1.144, allocations: 12.06 kB / 1.568 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.28e-05/1.144, allocations: 0 / 1.568 GB, free: 3.973 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/1.144, allocations: 7.938 kB / 1.568 GB, free: 3.969 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.178e-05/1.144, allocations: 79.28 kB / 1.568 GB, free: 3.891 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003077/1.144, allocations: 15.98 kB / 1.568 GB, free: 3.875 MB / 0.9948 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.0001355/1.144, allocations: 108.5 kB / 1.568 GB, free: 3.758 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 9.04e-05/1.144, allocations: 38.69 kB / 1.568 GB, free: 3.727 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.144, allocations: 7.938 kB / 1.568 GB, free: 3.719 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/1.144, allocations: 10.81 kB / 1.568 GB, free: 3.711 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/1.144, allocations: 15.98 kB / 1.568 GB, free: 3.695 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004997/1.145, allocations: 271.5 kB / 1.568 GB, free: 3.41 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002992/1.145, allocations: 0.6934 MB / 1.569 GB, free: 2.691 MB / 0.9948 GB Notification: Performance of SimCode: time 2.5e-07/1.145, allocations: 4 kB / 1.569 GB, free: 2.688 MB / 0.9948 GB Notification: Performance of Templates: time 0.002559/1.148, allocations: 0.6578 MB / 1.57 GB, free: 2.074 MB / 0.9948 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