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.FiniteLineSource_Erfint.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.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint") [: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.2/1.2, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.0009163/0.0009164, allocations: 189.2 kB / 316 MB, free: 3.602 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.071/1.071, allocations: 205.2 MB / 0.5667 GB, free: 15.82 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.0009045/0.0009045, allocations: 93.33 kB / 0.671 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.805e-06/7.825e-06, allocations: 0 / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1485, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5565, allocations: 132.9 MB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.5568, allocations: 107.6 kB / 1.014 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004743/0.5615, allocations: 1.472 MB / 1.016 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5615, allocations: 0 / 1.016 GB, free: 4.848 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002621/0.5618, allocations: 345.3 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5618, allocations: 8.031 kB / 1.016 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.562, allocations: 12 kB / 1.016 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.236e-05/0.5621, allocations: 167 kB / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.5621, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.5621, allocations: 0 / 1.016 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.122e-05/0.5622, allocations: 11.88 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.844e-05/0.5622, allocations: 37.59 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.5622, allocations: 0 / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.5623, allocations: 0 / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.5623, allocations: 4.812 kB / 1.016 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001277/0.5624, allocations: 129.1 kB / 1.017 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.5626, allocations: 49.92 kB / 1.017 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.419e-05/0.5626, allocations: 16.8 kB / 1.017 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008049/0.5634, allocations: 1.473 MB / 1.018 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/0.5634, allocations: 30.56 kB / 1.018 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.5635, allocations: 6.625 kB / 1.018 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001607/0.5636, allocations: 57.39 kB / 1.018 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.5636, allocations: 51.41 kB / 1.018 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.795e-05/0.5637, allocations: 85 kB / 1.018 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.5637, allocations: 25.7 kB / 1.018 GB, free: 1.859 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.376e-05/0.5637, allocations: 80.14 kB / 1.018 GB, free: 1.777 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.5638, allocations: 15.69 kB / 1.018 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-06/0.5638, allocations: 4 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.5639, allocations: 310.8 kB / 1.019 GB, free: 1.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.69e-05/0.5639, allocations: 15.62 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.5639, allocations: 7.984 kB / 1.019 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.829e-05/0.564, allocations: 12 kB / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.564, allocations: 0 / 1.019 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.594e-05/0.5641, allocations: 52 kB / 1.019 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.979e-06/0.5641, allocations: 6.5 kB / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.5641, allocations: 0 / 1.019 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.5641, allocations: 7.906 kB / 1.019 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.083e-05/0.5642, allocations: 7.984 kB / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.5642, allocations: 0 / 1.019 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.204e-05/0.5642, allocations: 8 kB / 1.019 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.5642, allocations: 0 / 1.019 GB, free: 1.34 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 4.784e-05/0.5643, allocations: 101 kB / 1.019 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.5643, allocations: 15.88 kB / 1.019 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.5644, allocations: 68.27 kB / 1.019 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.5644, allocations: 3.938 kB / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.5644, allocations: 0 / 1.019 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5644, allocations: 4 kB / 1.019 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.305e-05/0.5645, allocations: 142.1 kB / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.5645, allocations: 0 / 1.019 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.5646, allocations: 11.56 kB / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.5646, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.5646, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.5646, allocations: 0 / 1.019 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5646, allocations: 4 kB / 1.019 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001321/0.5648, allocations: 102.2 kB / 1.019 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.135e-05/0.5648, allocations: 81.17 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.199e-05/0.5648, allocations: 192 / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.497e-05/0.5648, allocations: 4 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.549e-05/0.5649, allocations: 4 kB / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.5649, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.151e-05/0.5649, allocations: 77.72 kB / 1.019 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002022/0.5651, allocations: 43.73 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: 1 (erfint_num) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0003237/0.5654, allocations: 183 kB / 1.02 GB, free: 456 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.509e-05/0.5655, allocations: 23.81 kB / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5655, allocations: 0 / 1.02 GB, free: 436 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.149e-05/0.5655, allocations: 19.31 kB / 1.02 GB, free: 424 kB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.194e-05/0.5656, allocations: 4 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.5658, allocations: 71.95 kB / 1.02 GB, free: 328 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.5661, allocations: 0.6954 MB / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of SimCode: time 2.3e-07/0.5661, allocations: 0 / 1.02 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.002669/0.5687, allocations: 0.9004 MB / 1.021 GB, free: 14.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,erfint,erfint_num,err Variables in the result:erfint,erfint_num,err,time