Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|i",fileNamePrefix="Buildings_9_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_9_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 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.001343/0.001343, allocations: 176.3 kB / 487 MB, free: 5.375 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.284/1.284, allocations: 221.3 MB / 0.7819 GB, free: 1.359 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.001016/0.001016, allocations: 102.4 kB / 0.9213 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.688e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2377, allocations: 142.3 MB / 1.205 GB, free: 26.18 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6167/0.8544, allocations: 148.5 MB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.8548, allocations: 99.62 kB / 1.35 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.001688/0.8565, allocations: 397.4 kB / 1.351 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.8565, allocations: 1.312 kB / 1.351 GB, free: 15.91 MB / 0.8073 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.0001837/0.8567, allocations: 311.9 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.8568, allocations: 9.969 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.8568, allocations: 3.125 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.986e-05/0.8569, allocations: 163.8 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.8569, allocations: 0 / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.8569, allocations: 5.219 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.546e-05/0.857, allocations: 4.531 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.948e-05/0.8571, allocations: 31.02 kB / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.8571, allocations: 0 / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.8571, allocations: 0 / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.8571, allocations: 0 / 1.351 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.8573, allocations: 363.1 kB / 1.352 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.542e-05/0.8574, allocations: 173.7 kB / 1.352 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.796e-05/0.8574, allocations: 80.14 kB / 1.352 GB, free: 14.69 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.8574, allocations: 76.69 kB / 1.352 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.8574, allocations: 107.3 kB / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.8575, allocations: 0 / 1.352 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.343e-05/0.8575, allocations: 35.12 kB / 1.352 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.929e-05/0.8576, allocations: 52.91 kB / 1.352 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.8576, allocations: 95.22 kB / 1.352 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-06/0.8576, allocations: 25.7 kB / 1.352 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.194e-05/0.8577, allocations: 81.64 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-06/0.8577, allocations: 0 / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.8577, allocations: 1.203 kB / 1.352 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.8577, allocations: 316 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.32e-06/0.8577, allocations: 1.5 kB / 1.353 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.8578, allocations: 4.125 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.245e-05/0.8578, allocations: 1.5 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.8578, allocations: 3.938 kB / 1.353 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001041/0.8579, allocations: 32.81 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.8579, allocations: 5.094 kB / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.8579, allocations: 0 / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.8579, allocations: 0 / 1.353 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.615e-05/0.858, allocations: 6.312 kB / 1.353 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.858, allocations: 5.578 kB / 1.353 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.201e-05/0.858, allocations: 4 kB / 1.353 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.858, allocations: 4.094 kB / 1.353 GB, free: 13.82 MB / 0.8073 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.303e-05/0.8581, allocations: 185.1 kB / 1.353 GB, free: 13.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.8581, allocations: 103.7 kB / 1.353 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.886e-05/0.8582, allocations: 109 kB / 1.353 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/0.8582, allocations: 181.9 kB / 1.353 GB, free: 13.24 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.563e-05/0.8583, allocations: 181.5 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.8583, allocations: 177.5 kB / 1.354 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/0.8584, allocations: 385.8 kB / 1.354 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/0.8584, allocations: 105.6 kB / 1.354 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.043e-05/0.8585, allocations: 102.2 kB / 1.354 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.963e-05/0.8585, allocations: 181.4 kB / 1.354 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.429e-05/0.8586, allocations: 183.5 kB / 1.354 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.606e-05/0.8586, allocations: 177.6 kB / 1.355 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.809e-05/0.8586, allocations: 185.5 kB / 1.355 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.737e-05/0.8587, allocations: 302.3 kB / 1.355 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.8587, allocations: 192.8 kB / 1.355 GB, free: 11 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.784e-05/0.8588, allocations: 177.7 kB / 1.355 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.94e-05/0.8589, allocations: 102.3 kB / 1.356 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.8589, allocations: 182.8 kB / 1.356 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.8589, allocations: 102.2 kB / 1.356 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.476e-05/0.859, allocations: 75.28 kB / 1.356 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002285/0.8592, allocations: 5.344 kB / 1.356 GB, free: 10.34 MB / 0.8073 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.0001418/0.8593, allocations: 182.9 kB / 1.356 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.983e-05/0.8594, allocations: 3.828 kB / 1.356 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8594, allocations: 0 / 1.356 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.8594, allocations: 5.219 kB / 1.356 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.8597, allocations: 0.5198 MB / 1.357 GB, free: 25.66 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001435/0.8598, allocations: 116.9 kB / 1.357 GB, free: 25.52 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.8601, allocations: 0.6815 MB / 1.357 GB, free: 24.82 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/0.8601, allocations: 3.938 kB / 1.357 GB, free: 24.81 MB / 0.823 GB Notification: Performance of Templates: time 0.00177/0.8619, allocations: 182 kB / 1.358 GB, free: 24.79 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches