Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_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=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 115.2 kB / 16.42 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 183.9 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.469/2.469, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 67.91 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8389, allocations: 151.6 MB / 1.167 GB, free: 3.816 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002682/0.8416, allocations: 1.431 MB / 1.169 GB, free: 2.379 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.007751/0.8494, allocations: 4.21 MB / 1.173 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.8496, allocations: 3.938 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001591/0.8498, allocations: 11.86 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.8502, allocations: 35.83 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004553/0.8547, allocations: 1.496 MB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.8549, allocations: 95.66 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.471e-05/0.855, allocations: 8 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.485e-05/0.855, allocations: 47.84 kB / 1.175 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.8553, allocations: 157.6 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.021e-05/0.8553, allocations: 16 kB / 1.175 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.8587, allocations: 2.2 MB / 1.177 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007317/0.8595, allocations: 0.7614 MB / 1.178 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004436/0.8599, allocations: 0.5041 MB / 1.178 GB, free: 8.805 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003988/0.8639, allocations: 2.567 MB / 1.181 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.8639, allocations: 0 / 1.181 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.004e-06/0.864, allocations: 4 kB / 1.181 GB, free: 6.234 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.688e-05/0.864, allocations: 0 / 1.181 GB, free: 6.234 MB / 0.9044 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.01258/0.8766, allocations: 2.038 MB / 1.183 GB, free: 4.133 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 7.482e-05/0.8767, allocations: 8.922 kB / 1.183 GB, free: 4.125 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005983/0.8773, allocations: 175.6 kB / 1.183 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006714/0.878, allocations: 0.5665 MB / 1.183 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.878, allocations: 16.36 kB / 1.183 GB, free: 3.309 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.039e-05/0.878, allocations: 4.375 kB / 1.183 GB, free: 3.305 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.8785, allocations: 391.5 kB / 1.184 GB, free: 2.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.8785, allocations: 3.938 kB / 1.184 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.8785, allocations: 0 / 1.184 GB, free: 2.906 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-06/0.8785, allocations: 4 kB / 1.184 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.879, allocations: 439.7 kB / 1.184 GB, free: 2.473 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.8799, allocations: 0.9343 MB / 1.185 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005094/0.8804, allocations: 0.5594 MB / 1.186 GB, free: 0.9023 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.8807, allocations: 333.7 kB / 1.186 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.8818, allocations: 1.032 MB / 1.187 GB, free: 15.31 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.8822, allocations: 408.8 kB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.713e-06/0.8822, allocations: 4 kB / 1.187 GB, free: 14.89 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.001395/0.8836, allocations: 1.375 MB / 1.189 GB, free: 13.51 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/0.8837, allocations: 81.05 kB / 1.189 GB, free: 13.41 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.8858, allocations: 2.225 MB / 1.191 GB, free: 11.16 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.961e-05/0.8859, allocations: 29.7 kB / 1.191 GB, free: 11.12 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.8863, allocations: 0.5298 MB / 1.191 GB, free: 10.59 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.024e-05/0.8863, allocations: 23.8 kB / 1.191 GB, free: 10.56 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/0.8867, allocations: 463.3 kB / 1.192 GB, free: 10.1 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.8868, allocations: 309.1 kB / 1.192 GB, free: 9.797 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.8885, allocations: 2.053 MB / 1.194 GB, free: 7.742 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.8903, allocations: 2.23 MB / 1.196 GB, free: 5.504 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007803/0.8981, allocations: 4.685 MB / 1.201 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/0.8982, allocations: 3.938 kB / 1.201 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.006466/0.9047, allocations: 6.24 MB / 1.207 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.9047, allocations: 7.938 kB / 1.207 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.9048, allocations: 4 kB / 1.207 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.9048, allocations: 4.031 kB / 1.207 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.9049, allocations: 19.92 kB / 1.207 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.905, allocations: 4 kB / 1.207 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007007/0.9057, allocations: 308.5 kB / 1.207 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.7e-05/0.9057, allocations: 27.98 kB / 1.207 GB, free: 9.969 MB / 0.9356 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.0006165/0.9064, allocations: 470.7 kB / 1.208 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.9065, allocations: 150.7 kB / 1.208 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.9069, allocations: 155.9 kB / 1.208 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.9069, allocations: 4 kB / 1.208 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.9069, allocations: 3.984 kB / 1.208 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.9072, allocations: 227.8 kB / 1.208 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.9073, allocations: 4 kB / 1.208 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.9075, allocations: 8.016 kB / 1.208 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.9075, allocations: 4 kB / 1.208 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000927/0.9085, allocations: 1.066 MB / 1.209 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001053/0.9095, allocations: 1.308 MB / 1.211 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003198/0.9099, allocations: 339.7 kB / 1.211 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001589/0.9115, allocations: 1.302 MB / 1.212 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of Backend: time 3.81e-07/0.9115, allocations: 0 / 1.212 GB, free: 4.871 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.006004/0.9175, allocations: 3.916 MB / 1.216 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of SimCode: time 0.003758/0.9213, allocations: 2.95 MB / 1.219 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of Templates: time 0.02693/0.9483, allocations: 14.79 MB / 1.233 GB, free: 15.18 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches