Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.AggregationWeightingFactors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|kappa.4.|kappa.5.|kappa.6.|kappa.7.",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.984/1.984, allocations: 387.2 MB / 394.5 MB, free: 13.71 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.001183/0.001183, allocations: 181.3 kB / 487 MB, free: 5.41 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.427/1.427, allocations: 221.3 MB / 0.7819 GB, free: 1.453 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.0009191/0.000919, allocations: 90.14 kB / 0.9213 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.266e-06/8.296e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2628, allocations: 142.3 MB / 1.205 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7425/1.005, allocations: 150.6 MB / 1.352 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/1.006, allocations: 103.2 kB / 1.352 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01191/1.018, allocations: 3.527 MB / 1.356 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.406e-06/1.018, allocations: 1.688 kB / 1.356 GB, free: 15.45 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003391/1.018, allocations: 383.6 kB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/1.018, allocations: 9.688 kB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/1.018, allocations: 10.59 kB / 1.356 GB, free: 15.07 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.035e-05/1.018, allocations: 171.6 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/1.018, allocations: 1.188 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/1.018, allocations: 3.984 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.146e-05/1.018, allocations: 34.16 kB / 1.356 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/1.018, allocations: 65.02 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/1.018, allocations: 0 / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/1.018, allocations: 0 / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/1.018, allocations: 5.406 kB / 1.357 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001742/1.019, allocations: 154.9 kB / 1.357 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.365e-05/1.019, allocations: 64.19 kB / 1.357 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/1.019, allocations: 43.53 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-06/1.019, allocations: 4.703 kB / 1.357 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.396e-05/1.019, allocations: 32.22 kB / 1.357 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 8.91e-07/1.019, allocations: 0 / 1.357 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0002351/1.019, allocations: 126.2 kB / 1.357 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.044e-05/1.019, allocations: 52.25 kB / 1.357 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/1.019, allocations: 113.8 kB / 1.357 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.657e-06/1.019, allocations: 26.42 kB / 1.357 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.671e-05/1.019, allocations: 86.52 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.84e-05/1.019, allocations: 37.42 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-06/1.019, allocations: 1.344 kB / 1.357 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.05e-05/1.019, allocations: 320.6 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/1.019, allocations: 32.73 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.129e-05/1.019, allocations: 30.55 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.913e-05/1.019, allocations: 41.67 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.019, allocations: 0.7812 kB / 1.358 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000157/1.02, allocations: 118.8 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/1.02, allocations: 4.812 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/1.02, allocations: 4.719 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/1.02, allocations: 0.9375 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/1.02, allocations: 0 / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/1.02, allocations: 1.391 kB / 1.358 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.062e-05/1.02, allocations: 5.688 kB / 1.358 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/1.02, allocations: 4.922 kB / 1.358 GB, free: 13.88 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: 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 4.474e-05/1.02, allocations: 102.1 kB / 1.358 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.279e-05/1.02, allocations: 10.33 kB / 1.358 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.749e-05/1.02, allocations: 7.984 kB / 1.358 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/1.02, allocations: 9.344 kB / 1.358 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.02, allocations: 0 / 1.358 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/1.02, allocations: 0.625 kB / 1.358 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001195/1.02, allocations: 155.8 kB / 1.358 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.02, allocations: 4 kB / 1.358 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-06/1.02, allocations: 5.328 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/1.02, allocations: 3.938 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/1.02, allocations: 2.266 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/1.02, allocations: 0.9062 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.02, allocations: 7.844 kB / 1.358 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001783/1.02, allocations: 148.9 kB / 1.358 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.489e-05/1.02, allocations: 82.64 kB / 1.358 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/1.02, allocations: 1.375 kB / 1.358 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/1.02, allocations: 0.8438 kB / 1.358 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/1.02, allocations: 2.312 kB / 1.358 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/1.02, allocations: 4.672 kB / 1.358 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.834e-05/1.02, allocations: 98.27 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003835/1.021, allocations: 82.47 kB / 1.358 GB, free: 13.32 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 (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.0003372/1.021, allocations: 185.6 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001675/1.021, allocations: 65.59 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.021, allocations: 0.8438 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/1.021, allocations: 35.28 kB / 1.359 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/1.021, allocations: 11.05 kB / 1.359 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/1.022, allocations: 147.2 kB / 1.359 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003312/1.022, allocations: 0.709 MB / 1.36 GB, free: 28.41 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.022, allocations: 4.688 kB / 1.36 GB, free: 28.41 MB / 0.823 GB Notification: Performance of Templates: time 0.004699/1.027, allocations: 1.547 MB / 1.361 GB, free: 28.3 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches