Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") translateModel(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tanEnh.vol.1..T|tanEnh.vol.2..T|tanEnh.vol.3..T|tanEnh.vol.4..T|tanEnh.vol.5..T|tanEnh.vol.6..T|tanEnh.vol.7..T|dHTan.y|dHTanEnh.y|tan.vol.1..T|tan.vol.2..T|tan.vol.3..T|tan.vol.4..T|tan.vol.5..T|tan.vol.6..T|tan.vol.7..T",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading") [: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.218/1.218, allocations: 249.4 MB / 256.7 MB, free: 6.98 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.001013/0.001013, allocations: 177.3 kB / 316 MB, free: 3.531 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.075/1.075, allocations: 205.2 MB / 0.5667 GB, free: 15.69 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.0008538/0.0008538, allocations: 89.47 kB / 0.671 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.131e-06/6.151e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1621, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.914/1.076, allocations: 399.9 MB / 1.275 GB, free: 327.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/1.076, allocations: 86.84 kB / 1.275 GB, free: 327.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.586/6.662, allocations: 2.128 GB / 3.404 GB, free: 131.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005844/6.663, allocations: 193.9 kB / 3.404 GB, free: 131.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01257/6.675, allocations: 6.049 MB / 3.41 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/6.675, allocations: 9.562 kB / 3.41 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003089/6.678, allocations: 0.8483 MB / 3.411 GB, free: 128.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01432/6.693, allocations: 7.781 MB / 3.418 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/6.693, allocations: 199.1 kB / 3.418 GB, free: 128.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008079/6.694, allocations: 361.4 kB / 3.419 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009183/6.703, allocations: 6.56 MB / 3.425 GB, free: 128 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009788/6.713, allocations: 7.474 MB / 3.432 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/6.713, allocations: 13.06 kB / 3.432 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005262/6.713, allocations: 13.53 kB / 3.432 GB, free: 127.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001228/6.714, allocations: 195.2 kB / 3.433 GB, free: 127.1 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0352/6.749, allocations: 33.04 MB / 3.465 GB, free: 109.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005315/6.754, allocations: 4.066 MB / 3.469 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004201/6.758, allocations: 3.169 MB / 3.472 GB, free: 107.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/6.759, allocations: 0.9726 MB / 3.473 GB, free: 106.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003087/6.762, allocations: 2.23 MB / 3.475 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=329): time 4.348e-06/6.763, allocations: 2.938 kB / 3.475 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=329): time 0.008352/6.771, allocations: 4.845 MB / 3.48 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/6.771, allocations: 87.88 kB / 3.48 GB, free: 103.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006523/6.777, allocations: 4.328 MB / 3.484 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004146/6.778, allocations: 29.73 kB / 3.484 GB, free: 102.1 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002699/6.781, allocations: 2.387 MB / 3.486 GB, free: 100.4 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.002425/6.783, allocations: 1.118 MB / 3.488 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002633/6.783, allocations: 0.7188 kB / 3.488 GB, free: 99.53 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0003697/6.784, allocations: 499.8 kB / 3.488 GB, free: 99.14 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003675/6.787, allocations: 2.068 MB / 3.49 GB, free: 98.42 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/6.791, allocations: 3.542 MB / 3.493 GB, free: 95.02 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004569/6.796, allocations: 3.183 MB / 3.497 GB, free: 92.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/6.796, allocations: 21.12 kB / 3.497 GB, free: 92.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=577) (initialization): time 0.00976/6.805, allocations: 6.528 MB / 3.503 GB, free: 86.92 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/6.805, allocations: 4.609 kB / 3.503 GB, free: 86.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-05/6.806, allocations: 48 kB / 3.503 GB, free: 86.87 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008699/6.806, allocations: 434.4 kB / 3.503 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003549/6.81, allocations: 1.037 MB / 3.504 GB, free: 85.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004372/6.814, allocations: 5.008 MB / 3.509 GB, free: 80.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005177/6.82, allocations: 0.5894 MB / 3.51 GB, free: 80.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004105/6.82, allocations: 222.5 kB / 3.51 GB, free: 80.17 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 214 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (548): * Single equations (assignments): 545 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007179/6.821, allocations: 251.2 kB / 3.51 GB, free: 79.92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007733/6.821, allocations: 470.8 kB / 3.511 GB, free: 79.45 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007841/6.829, allocations: 5.415 MB / 3.516 GB, free: 74.24 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/6.829, allocations: 32 kB / 3.516 GB, free: 74.21 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/6.829, allocations: 8 kB / 3.516 GB, free: 74.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005595/6.835, allocations: 4.729 MB / 3.521 GB, free: 69.38 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01931/6.854, allocations: 11.64 MB / 3.532 GB, free: 57.69 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/6.854, allocations: 4 kB / 3.532 GB, free: 57.69 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002727/6.857, allocations: 0.6389 MB / 3.533 GB, free: 57.05 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000695/6.858, allocations: 365 kB / 3.533 GB, free: 56.7 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/6.858, allocations: 43.95 kB / 3.533 GB, free: 56.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/6.862, allocations: 4.93 MB / 3.538 GB, free: 51.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/6.862, allocations: 15.73 kB / 3.538 GB, free: 51.51 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009271/6.871, allocations: 8.114 MB / 3.546 GB, free: 43.29 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003057/6.874, allocations: 1.248 MB / 3.547 GB, free: 42.02 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009407/6.875, allocations: 16 kB / 3.547 GB, free: 42 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003132/6.878, allocations: 321.1 kB / 3.547 GB, free: 41.71 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/6.879, allocations: 170.3 kB / 3.548 GB, free: 41.55 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/6.879, allocations: 135.9 kB / 3.548 GB, free: 41.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.003759/6.883, allocations: 3.295 MB / 3.551 GB, free: 38.12 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006448/6.889, allocations: 2.02 MB / 3.553 GB, free: 36.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 20 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (308): * Single equations (assignments): 301 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001335/6.891, allocations: 0.7765 MB / 3.554 GB, free: 35.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.006177/6.897, allocations: 5.15 MB / 3.559 GB, free: 30.31 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/6.897, allocations: 4 kB / 3.559 GB, free: 30.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002578/6.899, allocations: 2.444 MB / 3.561 GB, free: 27.85 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01121/6.911, allocations: 2.376 MB / 3.563 GB, free: 25.68 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02361/6.934, allocations: 11.92 MB / 3.575 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005919/6.94, allocations: 5.168 MB / 3.58 GB, free: 8.66 MB / 0.8855 GB Notification: Performance of SimCode: time 8.82e-07/6.94, allocations: 4 kB / 3.58 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of Templates: time 0.4012/7.341, allocations: 95.63 MB / 3.674 GB, free: 206.9 MB / 0.9011 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches