Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.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.ThermalResponseFactors.Validation.FiniteLineSource_Erfint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|erfint|erfint_num|err",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.99/1.99, allocations: 387.2 MB / 394.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001725/0.001725, allocations: 189.2 kB / 487 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.4 MB / 0.7819 GB, free: 6.844 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009538/0.0009538, allocations: 110.9 kB / 0.9213 GB, free: 43.7 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 1.956e-05/1.966e-05, allocations: 4 kB / 1.066 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7496, allocations: 142.3 MB / 1.205 GB, free: 72.83 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/0.9362, allocations: 149.4 MB / 1.351 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/0.9366, allocations: 104.6 kB / 1.351 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.005437/0.942, allocations: 1.5 MB / 1.353 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.9421, allocations: 0 / 1.353 GB, free: 12.39 MB / 0.8542 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.0003368/0.9424, allocations: 350.3 kB / 1.353 GB, free: 12 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.9425, allocations: 8.031 kB / 1.353 GB, free: 12 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.9426, allocations: 4 kB / 1.353 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.9427, allocations: 167 kB / 1.353 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.9427, allocations: 4 kB / 1.353 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.9428, allocations: 0 / 1.353 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.9428, allocations: 16 kB / 1.353 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.107e-05/0.9429, allocations: 33.69 kB / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.9429, allocations: 0 / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.943, allocations: 0 / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.943, allocations: 0 / 1.353 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.9432, allocations: 138.1 kB / 1.353 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.9433, allocations: 42.61 kB / 1.353 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/0.9434, allocations: 20.86 kB / 1.353 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.9444, allocations: 1.474 MB / 1.355 GB, free: 9.66 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.9444, allocations: 39.06 kB / 1.355 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.9445, allocations: 0 / 1.355 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4): time 0.0002056/0.9447, allocations: 49.67 kB / 1.355 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.9447, allocations: 51.41 kB / 1.355 GB, free: 9.496 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.123e-05/0.9448, allocations: 89 kB / 1.355 GB, free: 9.402 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.9448, allocations: 29.7 kB / 1.355 GB, free: 9.367 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.067e-05/0.9448, allocations: 84.08 kB / 1.355 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.9448, allocations: 11.75 kB / 1.355 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.9449, allocations: 0 / 1.355 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.945, allocations: 315.4 kB / 1.356 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.635e-05/0.945, allocations: 4 kB / 1.356 GB, free: 8.949 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.7e-05/0.945, allocations: 11.98 kB / 1.356 GB, free: 8.938 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.294e-05/0.9451, allocations: 8.562 kB / 1.356 GB, free: 8.93 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.9451, allocations: 4 kB / 1.356 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001168/0.9452, allocations: 58.28 kB / 1.356 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.9453, allocations: 5.125 kB / 1.356 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.9453, allocations: 0 / 1.356 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.9453, allocations: 0 / 1.356 GB, free: 8.859 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.876e-05/0.9453, allocations: 11.98 kB / 1.356 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.9454, allocations: 0 / 1.356 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.9454, allocations: 0.9375 kB / 1.356 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.9454, allocations: 4 kB / 1.356 GB, free: 8.844 MB / 0.8542 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 7.608e-05/0.9455, allocations: 112.8 kB / 1.356 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-06/0.9455, allocations: 0 / 1.356 GB, free: 8.727 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001516/0.9456, allocations: 69.23 kB / 1.356 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.9457, allocations: 0 / 1.356 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9457, allocations: 0 / 1.356 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.9457, allocations: 1.375 kB / 1.356 GB, free: 8.652 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.9458, allocations: 138.1 kB / 1.356 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9458, allocations: 0 / 1.356 GB, free: 8.48 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.432e-05/0.9459, allocations: 12 kB / 1.356 GB, free: 8.469 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.9459, allocations: 4 kB / 1.356 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.9459, allocations: 1.625 kB / 1.356 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9459, allocations: 3.188 kB / 1.356 GB, free: 8.465 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.9459, allocations: 3.938 kB / 1.356 GB, free: 8.461 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001707/0.9461, allocations: 101 kB / 1.356 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.276e-05/0.9461, allocations: 84.95 kB / 1.356 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.382e-05/0.9462, allocations: 4 kB / 1.356 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.601e-05/0.9462, allocations: 0 / 1.356 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.9462, allocations: 4.062 kB / 1.356 GB, free: 8.234 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.505e-06/0.9462, allocations: 5 kB / 1.356 GB, free: 8.23 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.948e-05/0.9463, allocations: 75.28 kB / 1.356 GB, free: 8.156 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000258/0.9465, allocations: 35.92 kB / 1.356 GB, free: 8.121 MB / 0.8542 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.0004027/0.9469, allocations: 187.1 kB / 1.356 GB, free: 7.93 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.9471, allocations: 27.94 kB / 1.356 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9471, allocations: 0 / 1.356 GB, free: 7.902 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.512e-05/0.9471, allocations: 16 kB / 1.356 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.442e-05/0.9472, allocations: 0.9375 kB / 1.356 GB, free: 7.887 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.9475, allocations: 86.86 kB / 1.357 GB, free: 7.781 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/0.9477, allocations: 0.6876 MB / 1.357 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of SimCode: time 2.5e-07/0.9478, allocations: 0 / 1.357 GB, free: 7.07 MB / 0.8542 GB Notification: Performance of Templates: time 0.003201/0.951, allocations: 0.9001 MB / 1.358 GB, free: 6.215 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Erfint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Erfint.csv","../files/Buildings_9_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