Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.007/2.007, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001194/0.001194, allocations: 173.3 kB / 487 MB, free: 5.344 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.32/1.32, allocations: 221.3 MB / 0.7819 GB, free: 1.332 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.0009754/0.0009754, allocations: 100.2 kB / 0.9213 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.075e-06/8.115e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2521, allocations: 142.3 MB / 1.205 GB, free: 26.22 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8488/1.101, allocations: 418.4 MB / 1.614 GB, free: 5.141 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/1.101, allocations: 92.38 kB / 1.614 GB, free: 5.094 MB / 1.042 GB Notification: Performance of FrontEnd: time 6.931/8.032, allocations: 2.254 GB / 3.868 GB, free: 49.56 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009607/8.033, allocations: 199.8 kB / 3.868 GB, free: 49.37 MB / 1.167 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.0195/8.052, allocations: 6.084 MB / 3.874 GB, free: 43.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/8.052, allocations: 12.02 kB / 3.874 GB, free: 43.19 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005/8.057, allocations: 0.8577 MB / 3.875 GB, free: 42.32 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01883/8.076, allocations: 8.007 MB / 3.882 GB, free: 34.25 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000369/8.077, allocations: 196 kB / 3.883 GB, free: 34.06 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002596/8.079, allocations: 363.9 kB / 3.883 GB, free: 33.71 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0159/8.095, allocations: 6.51 MB / 3.889 GB, free: 27.19 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/8.113, allocations: 7.6 MB / 3.897 GB, free: 19.27 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002599/8.114, allocations: 23.78 kB / 3.897 GB, free: 19.25 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001357/8.115, allocations: 8 kB / 3.897 GB, free: 19.24 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001757/8.115, allocations: 251.5 kB / 3.897 GB, free: 18.99 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4518/8.567, allocations: 33.91 MB / 3.93 GB, free: 260.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/8.571, allocations: 3.967 MB / 3.934 GB, free: 260.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/8.575, allocations: 3.15 MB / 3.937 GB, free: 260.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009896/8.576, allocations: 0.9693 MB / 3.938 GB, free: 259.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002923/8.579, allocations: 2.25 MB / 3.94 GB, free: 259.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=317): time 4.368e-06/8.579, allocations: 0 / 3.94 GB, free: 259.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=317): time 0.007377/8.586, allocations: 4.751 MB / 3.945 GB, free: 259.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/8.586, allocations: 84.69 kB / 3.945 GB, free: 259.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006722/8.593, allocations: 4.424 MB / 3.949 GB, free: 259.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0007541/8.593, allocations: 29.58 kB / 3.949 GB, free: 259.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002489/8.596, allocations: 2.428 MB / 3.952 GB, free: 258.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001823/8.598, allocations: 1.076 MB / 3.953 GB, free: 257.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/8.598, allocations: 0 / 3.953 GB, free: 257.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001933/8.598, allocations: 489.6 kB / 3.953 GB, free: 257.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002322/8.601, allocations: 2.059 MB / 3.955 GB, free: 257.6 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002779/8.603, allocations: 3.565 MB / 3.959 GB, free: 255.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/8.607, allocations: 3.123 MB / 3.962 GB, free: 255.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.85e-05/8.607, allocations: 15.06 kB / 3.962 GB, free: 255.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.008837/8.616, allocations: 6.456 MB / 3.968 GB, free: 255.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/8.616, allocations: 7.406 kB / 3.968 GB, free: 255.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.389e-05/8.616, allocations: 47.22 kB / 3.968 GB, free: 255.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008065/8.617, allocations: 439.7 kB / 3.968 GB, free: 255.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003558/8.621, allocations: 1.02 MB / 3.969 GB, free: 255.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004371/8.625, allocations: 5.015 MB / 3.974 GB, free: 252.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006011/8.631, allocations: 0.603 MB / 3.975 GB, free: 252.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007271/8.632, allocations: 217.3 kB / 3.975 GB, free: 252.6 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * 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 (540): * Single equations (assignments): 537 * 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.0008963/8.633, allocations: 252.2 kB / 3.975 GB, free: 252.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/8.634, allocations: 479.8 kB / 3.976 GB, free: 252.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008586/8.643, allocations: 5.304 MB / 3.981 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/8.643, allocations: 28.78 kB / 3.981 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/8.643, allocations: 3.469 kB / 3.981 GB, free: 252 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005975/8.649, allocations: 4.635 MB / 3.986 GB, free: 251.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/8.667, allocations: 11.52 MB / 3.997 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/8.667, allocations: 7.156 kB / 3.997 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/8.67, allocations: 0.6175 MB / 3.997 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006981/8.671, allocations: 364.4 kB / 3.998 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/8.671, allocations: 46.12 kB / 3.998 GB, free: 250.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004113/8.675, allocations: 4.914 MB / 4.003 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/8.675, allocations: 6.906 kB / 4.003 GB, free: 248.2 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01022/8.685, allocations: 7.956 MB / 4.01 GB, free: 247.4 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003935/8.689, allocations: 1.27 MB / 4.012 GB, free: 247.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001431/8.691, allocations: 13.55 kB / 4.012 GB, free: 247.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004585/8.695, allocations: 319.8 kB / 4.012 GB, free: 247.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005433/8.696, allocations: 175.4 kB / 4.012 GB, free: 247.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004517/8.696, allocations: 136.9 kB / 4.012 GB, free: 247.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.005518/8.702, allocations: 3.363 MB / 4.015 GB, free: 246.9 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008282/8.71, allocations: 2.026 MB / 4.017 GB, free: 246.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (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,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 (296): * Single equations (assignments): 289 * 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.001627/8.712, allocations: 0.7802 MB / 4.018 GB, free: 246.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.006173/8.718, allocations: 5.099 MB / 4.023 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/8.718, allocations: 3.156 kB / 4.023 GB, free: 246.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002545/8.721, allocations: 2.412 MB / 4.026 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01139/8.732, allocations: 2.36 MB / 4.028 GB, free: 246.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/8.757, allocations: 11.73 MB / 4.039 GB, free: 244.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007499/8.765, allocations: 5.177 MB / 4.044 GB, free: 243.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.774e-06/8.765, allocations: 0 / 4.044 GB, free: 243.3 MB / 1.167 GB Notification: Performance of Templates: time 0.1498/8.915, allocations: 95.94 MB / 4.138 GB, free: 239.5 MB / 1.167 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & ./Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.csv","../files/Buildings_9_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches