Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.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.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea|hMir|h",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hRea|hMir|h",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent") [: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.869/1.869, allocations: 390.4 MB / 397.7 MB, free: 10.7 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.001103/0.001103, allocations: 180.5 kB / 490.8 MB, free: 11.25 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.259/1.259, allocations: 221.4 MB / 0.7863 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009388/0.0009386, allocations: 102.7 kB / 0.9264 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of FrontEnd - loaded program: time 9.678e-06/9.718e-06, allocations: 4 kB / 1.072 GB, free: 15.52 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.7567, allocations: 143 MB / 1.212 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1892/0.946, allocations: 154.8 MB / 1.363 GB, free: 36.93 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.9463, allocations: 112.5 kB / 1.363 GB, free: 36.82 MB / 0.8855 GB Notification: Performance of FrontEnd: time 0.01743/0.9638, allocations: 6.209 MB / 1.369 GB, free: 30.71 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.9638, allocations: 0 / 1.369 GB, free: 30.71 MB / 0.8855 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.0004034/0.9643, allocations: 410.8 kB / 1.369 GB, free: 30.27 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.9643, allocations: 8.656 kB / 1.369 GB, free: 30.26 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.9643, allocations: 4.406 kB / 1.369 GB, free: 30.26 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.746e-05/0.9644, allocations: 180.7 kB / 1.37 GB, free: 30.04 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.9645, allocations: 5.438 kB / 1.37 GB, free: 30.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.9645, allocations: 0 / 1.37 GB, free: 30.04 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001282/0.9646, allocations: 47.89 kB / 1.37 GB, free: 29.99 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.9647, allocations: 60.16 kB / 1.37 GB, free: 29.93 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.9647, allocations: 0 / 1.37 GB, free: 29.93 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.9648, allocations: 0.9375 kB / 1.37 GB, free: 29.93 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.9648, allocations: 4 kB / 1.37 GB, free: 29.93 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.9649, allocations: 150.9 kB / 1.37 GB, free: 29.74 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.965, allocations: 59.11 kB / 1.37 GB, free: 29.68 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.9651, allocations: 25.5 kB / 1.37 GB, free: 29.65 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.9651, allocations: 12.66 kB / 1.37 GB, free: 29.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.9651, allocations: 31.94 kB / 1.37 GB, free: 29.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.9651, allocations: 0 / 1.37 GB, free: 29.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4): time 0.0002671/0.9654, allocations: 86.61 kB / 1.37 GB, free: 29.51 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.9654, allocations: 51.41 kB / 1.37 GB, free: 29.45 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.339e-05/0.9655, allocations: 105.5 kB / 1.37 GB, free: 29.34 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.9655, allocations: 26.64 kB / 1.37 GB, free: 29.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 1.413e-05/0.9656, allocations: 88.12 kB / 1.37 GB, free: 29.21 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.9656, allocations: 15.81 kB / 1.37 GB, free: 29.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.491e-06/0.9656, allocations: 0 / 1.37 GB, free: 29.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.9657, allocations: 318.8 kB / 1.371 GB, free: 28.88 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.9657, allocations: 19.55 kB / 1.371 GB, free: 28.86 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.714e-05/0.9657, allocations: 19.98 kB / 1.371 GB, free: 28.84 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.814e-05/0.9658, allocations: 27.92 kB / 1.371 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9659, allocations: 0 / 1.371 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001615/0.966, allocations: 85.56 kB / 1.371 GB, free: 28.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.966, allocations: 4 kB / 1.371 GB, free: 28.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9661, allocations: 4 kB / 1.371 GB, free: 28.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9661, allocations: 0 / 1.371 GB, free: 28.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.9661, allocations: 11.98 kB / 1.371 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.9662, allocations: 0 / 1.371 GB, free: 28.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.9662, allocations: 4 kB / 1.371 GB, free: 28.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.9662, allocations: 4 kB / 1.371 GB, free: 28.7 MB / 0.8855 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 (4): * Single equations (assignments): 4 * 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.887e-05/0.9663, allocations: 104.9 kB / 1.371 GB, free: 28.59 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.9663, allocations: 0 / 1.371 GB, free: 28.59 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002902/0.9666, allocations: 159.3 kB / 1.371 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.9666, allocations: 0 / 1.371 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9666, allocations: 192 / 1.371 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.9666, allocations: 0 / 1.371 GB, free: 28.43 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.46e-05/0.9667, allocations: 158.2 kB / 1.371 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.9667, allocations: 0 / 1.371 GB, free: 28.24 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.9667, allocations: 11.98 kB / 1.371 GB, free: 28.23 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.9668, allocations: 4 kB / 1.371 GB, free: 28.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.9668, allocations: 3.906 kB / 1.371 GB, free: 28.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9668, allocations: 0 / 1.371 GB, free: 28.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.9668, allocations: 0 / 1.371 GB, free: 28.22 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001791/0.967, allocations: 119.1 kB / 1.371 GB, free: 28.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.967, allocations: 92.89 kB / 1.371 GB, free: 27.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.967, allocations: 3.984 kB / 1.371 GB, free: 27.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.964e-05/0.9671, allocations: 0 / 1.371 GB, free: 27.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.9671, allocations: 4 kB / 1.371 GB, free: 27.97 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.9671, allocations: 4 kB / 1.371 GB, free: 27.97 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.981e-05/0.9671, allocations: 92.58 kB / 1.371 GB, free: 27.88 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004138/0.9675, allocations: 139.8 kB / 1.372 GB, free: 27.74 MB / 0.8855 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 (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 Backend phase and start with SimCode phase: time 0.0005721/0.9681, allocations: 308.6 kB / 1.372 GB, free: 27.43 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001104/0.9682, allocations: 39.98 kB / 1.372 GB, free: 27.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.9682, allocations: 0 / 1.372 GB, free: 27.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.008e-05/0.9683, allocations: 27.92 kB / 1.372 GB, free: 27.36 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.9684, allocations: 14.25 kB / 1.372 GB, free: 27.35 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002334/0.9687, allocations: 91.81 kB / 1.372 GB, free: 27.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.9688, allocations: 0.6993 MB / 1.373 GB, free: 26.51 MB / 0.8855 GB Notification: Performance of SimCode: time 2.91e-07/0.9688, allocations: 0 / 1.373 GB, free: 26.51 MB / 0.8855 GB Notification: Performance of Templates: time 0.004915/0.9738, allocations: 2.675 MB / 1.375 GB, free: 23.91 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_Equivalent.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_Equivalent.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches