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") [: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 10.0.0-master/package.mo): time 2.04/2.04, allocations: 390.4 MB / 397.7 MB, free: 11.05 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.001053/0.001053, allocations: 181.3 kB / 490.8 MB, free: 1.73 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.511/1.511, allocations: 221.4 MB / 0.7863 GB, free: 13.48 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.0009551/0.0009552, allocations: 96.28 kB / 0.9264 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.274e-06/7.294e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3116, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.357, allocations: 361.2 MB / 1.564 GB, free: 4.992 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.358, allocations: 84.19 kB / 1.564 GB, free: 4.945 MB / 0.9792 GB Notification: Performance of FrontEnd: time 0.01881/1.376, allocations: 7.9 MB / 1.572 GB, free: 14.71 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.725e-06/1.376, allocations: 4 kB / 1.572 GB, free: 14.7 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.0003396/1.377, allocations: 346 kB / 1.572 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.377, allocations: 12.03 kB / 1.572 GB, free: 14.31 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/1.377, allocations: 15.89 kB / 1.572 GB, free: 14.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/1.377, allocations: 163.1 kB / 1.573 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/1.377, allocations: 4 kB / 1.573 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/1.377, allocations: 11.17 kB / 1.573 GB, free: 14.09 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.811e-05/1.377, allocations: 4 kB / 1.573 GB, free: 14.08 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/1.377, allocations: 67.48 kB / 1.573 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.377, allocations: 4 kB / 1.573 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/1.378, allocations: 0 / 1.573 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/1.378, allocations: 4 kB / 1.573 GB, free: 14 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/1.378, allocations: 433 kB / 1.573 GB, free: 13.53 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/1.378, allocations: 67.61 kB / 1.573 GB, free: 13.45 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.954e-05/1.378, allocations: 18.7 kB / 1.573 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.366e-05/1.378, allocations: 0 / 1.573 GB, free: 13.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/1.378, allocations: 37.81 kB / 1.573 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/1.378, allocations: 0 / 1.573 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=7): time 0.0006166/1.379, allocations: 286.9 kB / 1.573 GB, free: 13.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.379, allocations: 106.8 kB / 1.574 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.374e-05/1.379, allocations: 91.25 kB / 1.574 GB, free: 12.83 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.379, allocations: 25.7 kB / 1.574 GB, free: 12.8 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 4.372e-05/1.379, allocations: 84.05 kB / 1.574 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/1.379, allocations: 33.7 kB / 1.574 GB, free: 12.69 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.379, allocations: 4.062 kB / 1.574 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.379, allocations: 314.8 kB / 1.574 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.426e-05/1.379, allocations: 11.31 kB / 1.574 GB, free: 12.36 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.296e-05/1.379, allocations: 56.52 kB / 1.574 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/1.379, allocations: 22.92 kB / 1.574 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/1.379, allocations: 0 / 1.574 GB, free: 12.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001198/1.38, allocations: 76.19 kB / 1.574 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.38, allocations: 6.656 kB / 1.574 GB, free: 12.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.38, allocations: 7.906 kB / 1.574 GB, free: 12.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/1.38, allocations: 3.984 kB / 1.574 GB, free: 12.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/1.38, allocations: 23.94 kB / 1.574 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.38, allocations: 0 / 1.574 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.305e-05/1.38, allocations: 8.125 kB / 1.574 GB, free: 12.15 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/1.38, allocations: 0 / 1.574 GB, free: 12.15 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.729e-05/1.38, allocations: 111.6 kB / 1.574 GB, free: 12.04 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.314e-05/1.38, allocations: 11.89 kB / 1.574 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.867e-05/1.38, allocations: 7.188 kB / 1.574 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/1.38, allocations: 0 / 1.574 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.38, allocations: 4 kB / 1.574 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.38, allocations: 4.406 kB / 1.574 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/1.38, allocations: 157.1 kB / 1.575 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/1.38, allocations: 4 kB / 1.575 GB, free: 11.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/1.381, allocations: 12 kB / 1.575 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/1.381, allocations: 4 kB / 1.575 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/1.381, allocations: 0 / 1.575 GB, free: 11.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.381, allocations: 3.984 kB / 1.575 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.381, allocations: 4 kB / 1.575 GB, free: 11.81 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003326/1.381, allocations: 354.9 kB / 1.575 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.242e-05/1.381, allocations: 89 kB / 1.575 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/1.381, allocations: 0 / 1.575 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/1.381, allocations: 4 kB / 1.575 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/1.381, allocations: 0 / 1.575 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.381, allocations: 11.67 kB / 1.575 GB, free: 11.33 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.092e-05/1.381, allocations: 75.28 kB / 1.575 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003188/1.382, allocations: 16 kB / 1.575 GB, free: 11.24 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.0001627/1.382, allocations: 107.2 kB / 1.575 GB, free: 11.12 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001055/1.382, allocations: 34.69 kB / 1.575 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.382, allocations: 0 / 1.575 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/1.382, allocations: 23.61 kB / 1.575 GB, free: 11.07 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/1.382, allocations: 12.22 kB / 1.575 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005457/1.383, allocations: 275.3 kB / 1.576 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002753/1.383, allocations: 0.6997 MB / 1.576 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of SimCode: time 4.51e-07/1.383, allocations: 0 / 1.576 GB, free: 10.04 MB / 0.9948 GB Notification: Performance of Templates: time 0.002882/1.386, allocations: 0.653 MB / 1.577 GB, free: 9.43 MB / 0.9948 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