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.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [: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.213/1.213, allocations: 249.4 MB / 256.7 MB, free: 6.934 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.001018/0.001018, allocations: 173.3 kB / 316 MB, free: 3.543 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.06/1.06, allocations: 205.1 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.0008309/0.0008309, allocations: 89.83 kB / 0.671 GB, free: 4.801 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 4 kB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1422, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4263/0.5686, allocations: 146.8 MB / 1.028 GB, free: 7.965 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5689, allocations: 112.1 kB / 1.028 GB, free: 7.895 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.07501/0.6439, allocations: 21.55 MB / 1.049 GB, free: 5.383 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.349e-05/0.644, allocations: 12 kB / 1.049 GB, free: 5.371 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001795/0.6458, allocations: 1.005 MB / 1.05 GB, free: 4.371 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.6458, allocations: 15.97 kB / 1.05 GB, free: 4.355 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.6462, allocations: 98.73 kB / 1.05 GB, free: 4.258 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005477/0.6468, allocations: 427.2 kB / 1.051 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.6468, allocations: 0 / 1.051 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.033e-05/0.6469, allocations: 27.55 kB / 1.051 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000332/0.6472, allocations: 423.3 kB / 1.051 GB, free: 3.359 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.6475, allocations: 377.7 kB / 1.051 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.6476, allocations: 7.938 kB / 1.051 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.6476, allocations: 0 / 1.051 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.6476, allocations: 0 / 1.051 GB, free: 2.977 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.6482, allocations: 0.6992 MB / 1.052 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.6486, allocations: 0.5506 MB / 1.053 GB, free: 1.785 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002553/0.6489, allocations: 336.9 kB / 1.053 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009329/0.6498, allocations: 1.036 MB / 1.054 GB, free: 204 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.6502, allocations: 391.2 kB / 1.054 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.193e-06/0.6502, allocations: 0 / 1.054 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0007171/0.6509, allocations: 0.7595 MB / 1.055 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.651, allocations: 85.05 kB / 1.055 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008447/0.6518, allocations: 1.015 MB / 1.056 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.6519, allocations: 25.7 kB / 1.056 GB, free: 14.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000169/0.652, allocations: 255.3 kB / 1.056 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.6521, allocations: 22.73 kB / 1.056 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.6521, allocations: 0 / 1.056 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.6523, allocations: 419.9 kB / 1.057 GB, free: 13.51 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.6534, allocations: 1.217 MB / 1.058 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.6545, allocations: 1.349 MB / 1.059 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.6559, allocations: 1.611 MB / 1.061 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.6559, allocations: 0 / 1.061 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005072/0.661, allocations: 7.13 MB / 1.068 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.661, allocations: 8 kB / 1.068 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.661, allocations: 0 / 1.068 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.661, allocations: 4 kB / 1.068 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.6617, allocations: 146.5 kB / 1.068 GB, free: 4.156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.6617, allocations: 4 kB / 1.068 GB, free: 4.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.6622, allocations: 232.3 kB / 1.068 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.6623, allocations: 61.42 kB / 1.068 GB, free: 3.867 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001143/0.6624, allocations: 114.9 kB / 1.068 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.6625, allocations: 73.95 kB / 1.069 GB, free: 3.68 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007004/0.6632, allocations: 0.7134 MB / 1.069 GB, free: 2.965 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.6632, allocations: 4 kB / 1.069 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6632, allocations: 0 / 1.069 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.6632, allocations: 11.92 kB / 1.069 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003433/0.6636, allocations: 475.3 kB / 1.07 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6636, allocations: 0 / 1.07 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.362e-05/0.6637, allocations: 7.984 kB / 1.07 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.6637, allocations: 4 kB / 1.07 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.6637, allocations: 0 / 1.07 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.6637, allocations: 0 / 1.07 GB, free: 2.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6637, allocations: 11.97 kB / 1.07 GB, free: 2.508 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005757/0.6643, allocations: 0.7832 MB / 1.07 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.6644, allocations: 151.9 kB / 1.071 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.771e-05/0.6645, allocations: 3.984 kB / 1.071 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001435/0.6646, allocations: 4 kB / 1.071 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.6647, allocations: 11.98 kB / 1.071 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.6647, allocations: 11.98 kB / 1.071 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0005423/0.6652, allocations: 0.6098 MB / 1.071 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001279/0.6665, allocations: 481.8 kB / 1.072 GB, free: 0.5586 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0014/0.6679, allocations: 0.5984 MB / 1.072 GB, free: 15.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001707/0.6697, allocations: 2.351 MB / 1.075 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.6697, allocations: 0 / 1.075 GB, free: 14.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002534/0.6699, allocations: 334.4 kB / 1.075 GB, free: 14.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.6701, allocations: 34.42 kB / 1.075 GB, free: 14.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.6717, allocations: 1.476 MB / 1.076 GB, free: 12.57 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.6723, allocations: 1.033 MB / 1.077 GB, free: 11.51 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/0.6723, allocations: 0 / 1.077 GB, free: 11.51 MB / 0.698 GB Notification: Performance of Templates: time 0.01473/0.687, allocations: 9.498 MB / 1.087 GB, free: 2.078 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches