Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [: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 1.926/1.926, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001046/0.001046, allocations: 173.3 kB / 490.8 MB, free: 1.887 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.297/1.297, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008912/0.0008911, allocations: 97.5 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 7.865e-06/7.885e-06, allocations: 0 / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 143 MB / 1.212 GB, free: 40.03 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6858/0.954, allocations: 151.4 MB / 1.359 GB, free: 17.47 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003725/0.9544, allocations: 106.8 kB / 1.36 GB, free: 17.46 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01239/0.9669, allocations: 3.524 MB / 1.363 GB, free: 17.28 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.9669, allocations: 1.438 kB / 1.363 GB, free: 17.28 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004845/0.9674, allocations: 388.7 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9675, allocations: 9.531 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.9675, allocations: 5.25 kB / 1.363 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.9676, allocations: 178.5 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.504e-05/0.9676, allocations: 0 / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.9677, allocations: 0.9688 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001078/0.9678, allocations: 33.39 kB / 1.364 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.9679, allocations: 62.84 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.9679, allocations: 1.062 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.9679, allocations: 1.547 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/0.968, allocations: 3.625 kB / 1.364 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/0.9682, allocations: 158.6 kB / 1.364 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.114e-05/0.9683, allocations: 59.56 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.9684, allocations: 43.52 kB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.9684, allocations: 0 / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.9684, allocations: 31.94 kB / 1.364 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=10): time 8.11e-07/0.9684, allocations: 3.938 kB / 1.364 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10): time 0.0002691/0.9687, allocations: 125.7 kB / 1.364 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.9687, allocations: 51.41 kB / 1.364 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.9688, allocations: 121.2 kB / 1.364 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.9689, allocations: 26.42 kB / 1.364 GB, free: 32.17 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/0.9689, allocations: 83.58 kB / 1.364 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.969, allocations: 32.55 kB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.969, allocations: 0 / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9691, allocations: 324.4 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.727e-05/0.9692, allocations: 34.16 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.332e-05/0.9692, allocations: 32.83 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.9693, allocations: 41.09 kB / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9693, allocations: 0 / 1.365 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001692/0.9695, allocations: 124.1 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.9695, allocations: 3.938 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.9695, allocations: 1.312 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.9695, allocations: 0 / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.355e-06/0.9695, allocations: 0 / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.9696, allocations: 6.828 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.9696, allocations: 4.656 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.9696, allocations: 8.25 kB / 1.365 GB, free: 31.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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.627e-05/0.9697, allocations: 102.4 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.235e-05/0.9697, allocations: 6.531 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.978e-05/0.9697, allocations: 8.688 kB / 1.365 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.9697, allocations: 9.594 kB / 1.365 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.9698, allocations: 0 / 1.365 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.9698, allocations: 0 / 1.365 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.9699, allocations: 158.1 kB / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.9699, allocations: 0 / 1.365 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-07/0.9699, allocations: 4 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.9699, allocations: 1.312 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.9699, allocations: 5.297 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.97, allocations: 5.688 kB / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.97, allocations: 0 / 1.365 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001878/0.9702, allocations: 151 kB / 1.365 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.373e-05/0.9702, allocations: 82.39 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.037e-05/0.9702, allocations: 2.297 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.29e-05/0.9702, allocations: 4.031 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.9703, allocations: 1.312 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.9703, allocations: 6.281 kB / 1.365 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8.057e-05/0.9704, allocations: 102 kB / 1.366 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003775/0.9707, allocations: 78.09 kB / 1.366 GB, free: 31.14 MB / 0.8386 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0003975/0.9712, allocations: 190.4 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001759/0.9713, allocations: 65.19 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9714, allocations: 5.062 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.861e-05/0.9714, allocations: 34.83 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001289/0.9716, allocations: 2.438 kB / 1.366 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003036/0.9719, allocations: 141.5 kB / 1.366 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.9722, allocations: 0.7153 MB / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.9722, allocations: 0 / 1.367 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.004587/0.9768, allocations: 1.551 MB / 1.368 GB, free: 30.12 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches