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_SmallScaleValidation.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_SmallScaleValidation,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_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,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_SmallScaleValidation") [: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.208/1.208, allocations: 249.4 MB / 256.7 MB, free: 7.039 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.0009969/0.0009969, allocations: 181.2 kB / 316 MB, free: 3.527 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.079/1.079, allocations: 205.1 MB / 0.5667 GB, free: 15.56 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.0008624/0.0008625, allocations: 82.58 kB / 0.671 GB, free: 4.684 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.242e-06/6.272e-06, allocations: 0 / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.578, allocations: 151.3 MB / 1.032 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.5783, allocations: 112.1 kB / 1.033 GB, free: 3.363 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.09524/0.6736, allocations: 29.32 MB / 1.061 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.526e-05/0.6736, allocations: 15.94 kB / 1.061 GB, free: 10.5 MB / 0.6823 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.001713/0.6754, allocations: 1.045 MB / 1.062 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.6754, allocations: 8.031 kB / 1.062 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003531/0.6758, allocations: 106.6 kB / 1.062 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.6764, allocations: 474.2 kB / 1.063 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.6764, allocations: 0 / 1.063 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.6765, allocations: 20 kB / 1.063 GB, free: 8.832 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003376/0.6768, allocations: 430.7 kB / 1.063 GB, free: 8.418 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.6771, allocations: 381.8 kB / 1.064 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6772, allocations: 0 / 1.064 GB, free: 8.039 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.6772, allocations: 4 kB / 1.064 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.6772, allocations: 7.938 kB / 1.064 GB, free: 8.027 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006227/0.6778, allocations: 0.7125 MB / 1.064 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.6782, allocations: 0.5587 MB / 1.065 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.6785, allocations: 337 kB / 1.065 GB, free: 6.496 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008735/0.6794, allocations: 1.04 MB / 1.066 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.6797, allocations: 398.8 kB / 1.067 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.6797, allocations: 0 / 1.067 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0007094/0.6804, allocations: 0.7497 MB / 1.067 GB, free: 4.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.6805, allocations: 89.03 kB / 1.067 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.6814, allocations: 1.082 MB / 1.068 GB, free: 3.121 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.6814, allocations: 25.7 kB / 1.068 GB, free: 3.09 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.6816, allocations: 268.5 kB / 1.069 GB, free: 2.883 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.583e-05/0.6816, allocations: 15.62 kB / 1.069 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.6817, allocations: 0 / 1.069 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.6819, allocations: 427.1 kB / 1.069 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009719/0.6828, allocations: 1.215 MB / 1.07 GB, free: 1.699 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.6839, allocations: 1.349 MB / 1.072 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.6852, allocations: 1.61 MB / 1.073 GB, free: 15.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6852, allocations: 3.938 kB / 1.073 GB, free: 15.59 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00525/0.6905, allocations: 7.141 MB / 1.08 GB, free: 9.273 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6905, allocations: 4 kB / 1.08 GB, free: 9.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.6905, allocations: 4 kB / 1.08 GB, free: 9.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.6906, allocations: 4 kB / 1.08 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006589/0.6912, allocations: 139.5 kB / 1.08 GB, free: 9.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.6912, allocations: 12.05 kB / 1.08 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005252/0.6918, allocations: 232.3 kB / 1.081 GB, free: 8.887 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.753e-05/0.6919, allocations: 53.98 kB / 1.081 GB, free: 8.84 MB / 0.698 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.0001218/0.692, allocations: 115.8 kB / 1.081 GB, free: 8.723 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.6921, allocations: 70.69 kB / 1.081 GB, free: 8.652 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000749/0.6928, allocations: 0.7346 MB / 1.081 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6928, allocations: 0 / 1.081 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6928, allocations: 0 / 1.081 GB, free: 7.918 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6929, allocations: 4.031 kB / 1.081 GB, free: 7.914 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003791/0.6932, allocations: 0.4944 MB / 1.082 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.6932, allocations: 0 / 1.082 GB, free: 7.473 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.6933, allocations: 4 kB / 1.082 GB, free: 7.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.6933, allocations: 3.906 kB / 1.082 GB, free: 7.465 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.6934, allocations: 7.984 kB / 1.082 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6934, allocations: 0 / 1.082 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6934, allocations: 0 / 1.082 GB, free: 7.457 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006004/0.694, allocations: 0.7934 MB / 1.083 GB, free: 6.652 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6941, allocations: 162.7 kB / 1.083 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.379e-05/0.6942, allocations: 0 / 1.083 GB, free: 6.477 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.6943, allocations: 7.984 kB / 1.083 GB, free: 6.469 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.6944, allocations: 4 kB / 1.083 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.454e-05/0.6944, allocations: 15.97 kB / 1.083 GB, free: 6.449 MB / 0.698 GB Notification: Performance of sort global known variables: time 0.0005831/0.695, allocations: 0.6585 MB / 1.084 GB, free: 5.918 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001258/0.6963, allocations: 495.4 kB / 1.084 GB, free: 5.453 MB / 0.698 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.001509/0.6978, allocations: 0.6962 MB / 1.085 GB, free: 4.766 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001713/0.6995, allocations: 2.348 MB / 1.087 GB, free: 3.191 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6995, allocations: 4 kB / 1.087 GB, free: 3.188 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.6998, allocations: 326.5 kB / 1.087 GB, free: 2.875 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.7, allocations: 60 kB / 1.087 GB, free: 2.84 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.7017, allocations: 1.529 MB / 1.089 GB, free: 1.312 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006018/0.7023, allocations: 1.05 MB / 1.09 GB, free: 244 kB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.7024, allocations: 0 / 1.09 GB, free: 244 kB / 0.698 GB Notification: Performance of Templates: time 0.01653/0.7189, allocations: 10.54 MB / 1.1 GB, free: 5.781 MB / 0.7136 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches