Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [: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.192/1.192, allocations: 249.4 MB / 256.7 MB, free: 6.973 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.001108/0.001108, allocations: 173.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.05/1.05, allocations: 205.2 MB / 0.5667 GB, free: 15.68 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.0007781/0.0007781, allocations: 86.09 kB / 0.671 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.943e-06/6.963e-06, allocations: 4 kB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.533, allocations: 132 MB / 1.013 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.5332, allocations: 102.1 kB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001283/0.5345, allocations: 380.3 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.5346, allocations: 0 / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001817/0.5347, allocations: 310.3 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.5348, allocations: 8.031 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.5348, allocations: 7.891 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.605e-05/0.5349, allocations: 161.7 kB / 1.014 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.5349, allocations: 4.844 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.17e-06/0.5349, allocations: 0 / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.938e-05/0.535, allocations: 3.5 kB / 1.014 GB, free: 5.742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.42e-05/0.535, allocations: 29.7 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.535, allocations: 0 / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-06/0.535, allocations: 3.188 kB / 1.014 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.535, allocations: 7.938 kB / 1.014 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002218/0.5353, allocations: 356 kB / 1.015 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.539e-05/0.5353, allocations: 168.3 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.5354, allocations: 92.11 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5354, allocations: 75.28 kB / 1.015 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/0.5354, allocations: 105.8 kB / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.5355, allocations: 0 / 1.015 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 6.961e-05/0.5355, allocations: 35.98 kB / 1.015 GB, free: 4.82 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.069e-05/0.5356, allocations: 51.41 kB / 1.015 GB, free: 4.758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.5356, allocations: 96.81 kB / 1.015 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/0.5356, allocations: 25.7 kB / 1.015 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.5357, allocations: 84.12 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.5357, allocations: 3.938 kB / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.5357, allocations: 0 / 1.015 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.5358, allocations: 310.8 kB / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-06/0.5358, allocations: 0 / 1.016 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.5358, allocations: 4 kB / 1.016 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.142e-05/0.5358, allocations: 4.188 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5358, allocations: 0 / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.699e-05/0.5359, allocations: 29.7 kB / 1.016 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.826e-06/0.5359, allocations: 4 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.5359, allocations: 3.906 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.5359, allocations: 0 / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.076e-05/0.536, allocations: 7.938 kB / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.536, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-06/0.536, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.446e-06/0.536, allocations: 0 / 1.016 GB, free: 4.168 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.511e-05/0.5361, allocations: 188.3 kB / 1.016 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.5361, allocations: 104.2 kB / 1.016 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.5362, allocations: 107.9 kB / 1.016 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/0.5362, allocations: 180.2 kB / 1.016 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.774e-05/0.5363, allocations: 180.3 kB / 1.017 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/0.5363, allocations: 184.2 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.5365, allocations: 381.2 kB / 1.017 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.731e-05/0.5365, allocations: 101 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/0.5365, allocations: 101 kB / 1.017 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.904e-05/0.5366, allocations: 188.2 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-05/0.5366, allocations: 176.3 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.095e-05/0.5367, allocations: 180.7 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.855e-05/0.5367, allocations: 180.2 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.698e-05/0.5369, allocations: 312.7 kB / 1.018 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.5369, allocations: 182 kB / 1.018 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.496e-05/0.537, allocations: 189.1 kB / 1.019 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.573e-05/0.537, allocations: 101 kB / 1.019 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.5371, allocations: 184.2 kB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.909e-05/0.5371, allocations: 104.9 kB / 1.019 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.355e-05/0.5372, allocations: 86.47 kB / 1.019 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001888/0.5374, allocations: 3.906 kB / 1.019 GB, free: 0.6367 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001098/0.5375, allocations: 178.6 kB / 1.019 GB, free: 460 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 4.096e-05/0.5375, allocations: 4 kB / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.5375, allocations: 0 / 1.019 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.374e-06/0.5375, allocations: 3.938 kB / 1.019 GB, free: 452 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.5378, allocations: 0.5147 MB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001285/0.5379, allocations: 130 kB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.5381, allocations: 0.6763 MB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of SimCode: time 2.21e-07/0.5381, allocations: 4 kB / 1.021 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.001344/0.5395, allocations: 181.6 kB / 1.021 GB, free: 14.94 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches