Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001904/0.001904, allocations: 97.11 kB / 19.71 MB, free: 2.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002483/0.002483, allocations: 208.9 kB / 23 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002101/0.002101, allocations: 67.27 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4495, allocations: 176.1 MB / 1.327 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003865/0.4534, allocations: 1.429 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.4615, allocations: 3.866 MB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.4616, allocations: 4 kB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.4617, allocations: 15.86 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003235/0.4621, allocations: 27.84 kB / 1.332 GB, free: 11.55 MB / 1.029 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.005387/0.4674, allocations: 1.607 MB / 1.334 GB, free: 9.945 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.4677, allocations: 91.72 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.045e-05/0.4677, allocations: 4 kB / 1.334 GB, free: 9.852 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.679e-05/0.4678, allocations: 51.83 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.4681, allocations: 173.5 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.565e-05/0.4681, allocations: 12 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004684/0.4728, allocations: 2.547 MB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0009092/0.4737, allocations: 0.7614 MB / 1.338 GB, free: 6.301 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0004239/0.4741, allocations: 409.3 kB / 1.338 GB, free: 5.898 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.4783, allocations: 2.596 MB / 1.34 GB, free: 3.293 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4783, allocations: 3.938 kB / 1.34 GB, free: 3.289 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4783, allocations: 4 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.4783, allocations: 7.938 kB / 1.34 GB, free: 3.277 MB / 1.029 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.009468/0.4878, allocations: 1.963 MB / 1.342 GB, free: 1.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.4879, allocations: 8.031 kB / 1.342 GB, free: 1.262 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005185/0.4884, allocations: 167.6 kB / 1.343 GB, free: 1.098 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007666/0.4892, allocations: 0.5255 MB / 1.343 GB, free: 0.5234 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4892, allocations: 4.375 kB / 1.343 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.23e-05/0.4892, allocations: 8.375 kB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005537/0.4898, allocations: 395.5 kB / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.4898, allocations: 0 / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.4898, allocations: 0 / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.495e-06/0.4898, allocations: 7.938 kB / 1.343 GB, free: 108 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.4904, allocations: 431.7 kB / 1.344 GB, free: 15.68 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.4914, allocations: 0.8571 MB / 1.345 GB, free: 14.79 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006531/0.4921, allocations: 0.5555 MB / 1.345 GB, free: 14.21 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.4925, allocations: 345.7 kB / 1.346 GB, free: 13.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007638/0.4932, allocations: 131.8 kB / 1.346 GB, free: 13.74 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.4937, allocations: 408.9 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4937, allocations: 3.938 kB / 1.346 GB, free: 13.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=8): time 0.001698/0.4954, allocations: 1.375 MB / 1.347 GB, free: 11.94 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4955, allocations: 85.05 kB / 1.348 GB, free: 11.84 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.4981, allocations: 2.225 MB / 1.35 GB, free: 9.582 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.4982, allocations: 33.64 kB / 1.35 GB, free: 9.543 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005212/0.4987, allocations: 0.5296 MB / 1.35 GB, free: 9.008 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.4987, allocations: 23.84 kB / 1.35 GB, free: 8.984 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005058/0.4992, allocations: 455.4 kB / 1.351 GB, free: 8.531 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4994, allocations: 309.2 kB / 1.351 GB, free: 8.227 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002164/0.5016, allocations: 2.057 MB / 1.353 GB, free: 6.168 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/0.5039, allocations: 2.226 MB / 1.355 GB, free: 3.934 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00896/0.5129, allocations: 4.681 MB / 1.36 GB, free: 15.12 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.5129, allocations: 0 / 1.36 GB, free: 15.12 MB / 1.061 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007656/0.5206, allocations: 6.248 MB / 1.366 GB, free: 8.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.5206, allocations: 4 kB / 1.366 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/0.5206, allocations: 7.938 kB / 1.366 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.5206, allocations: 0 / 1.366 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.5208, allocations: 19.92 kB / 1.366 GB, free: 8.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.5208, allocations: 4 kB / 1.366 GB, free: 8.734 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.5216, allocations: 312.6 kB / 1.366 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/0.5217, allocations: 19.98 kB / 1.366 GB, free: 8.406 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (cluSiz[5],cluSiz[4],cluSiz[3],cluSiz[2],cluSiz[1],labels[100],labels[99],labels[98],labels[97],labels[96],labels[95],labels[94],labels[93],labels[92],labels[91],labels[90],labels[89],labels[88],labels[87],labels[86],labels[85],labels[84],labels[83],labels[82],labels[81],labels[80],labels[79],labels[78],labels[77],labels[76],labels[75],labels[74],labels[73],labels[72],labels[71],labels[70],labels[69],labels[68],labels[67],labels[66],labels[65],labels[64],labels[63],labels[62],labels[61],labels[60],labels[59],labels[58],labels[57],labels[56],labels[55],labels[54],labels[53],labels[52],labels[51],labels[50],labels[49],labels[48],labels[47],labels[46],labels[45],labels[44],labels[43],labels[42],labels[41],labels[40],labels[39],labels[38],labels[37],labels[36],labels[35],labels[34],labels[33],labels[32],labels[31],labels[30],labels[29],labels[28],labels[27],labels[26],labels[25],labels[24],labels[23],labels[22],labels[21],labels[20],labels[19],labels[18],labels[17],labels[16],labels[15],labels[14],labels[13],labels[12],labels[11],labels[10],labels[9],labels[8],labels[7],labels[6],labels[5],labels[4],labels[3],labels[2],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007622/0.5224, allocations: 478.5 kB / 1.367 GB, free: 7.93 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.5226, allocations: 154.7 kB / 1.367 GB, free: 7.777 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.5239, allocations: 1.019 MB / 1.368 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.5239, allocations: 0 / 1.368 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5239, allocations: 0 / 1.368 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.5241, allocations: 154.8 kB / 1.368 GB, free: 6.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.5242, allocations: 3.984 kB / 1.368 GB, free: 6.594 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.5244, allocations: 4 kB / 1.368 GB, free: 6.59 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.159e-05/0.5245, allocations: 7.984 kB / 1.368 GB, free: 6.582 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001148/0.5256, allocations: 1.062 MB / 1.369 GB, free: 5.512 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001251/0.5269, allocations: 1.312 MB / 1.37 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003729/0.5273, allocations: 331.8 kB / 1.371 GB, free: 3.855 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001814/0.5291, allocations: 1.302 MB / 1.372 GB, free: 2.539 MB / 1.061 GB Notification: Performance of Backend: time 5.21e-07/0.5291, allocations: 0 / 1.372 GB, free: 2.539 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.005972/0.5351, allocations: 3.174 MB / 1.375 GB, free: 15.37 MB / 1.076 GB Notification: Performance of SimCode: time 0.003784/0.5388, allocations: 2.95 MB / 1.378 GB, free: 12.36 MB / 1.076 GB Notification: Performance of Templates: time 0.03202/0.5709, allocations: 16.65 MB / 1.394 GB, free: 11.81 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 43.56741843299824]