Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001704/0.001704, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.366/1.366, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001336, allocations: 67.89 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.782/0.7834, allocations: 159.1 MB / 1.221 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.002587/0.786, allocations: 1.341 MB / 1.222 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002265/0.7883, allocations: 1.299 MB / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.837e-05/0.7883, allocations: 0 / 1.224 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 8.09e-05/0.7884, allocations: 3.984 kB / 1.224 GB, free: 15.65 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.7887, allocations: 36.84 kB / 1.224 GB, free: 15.62 MB / 0.9512 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 11.0.1-master/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.001222/0.7899, allocations: 370.9 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.072e-05/0.79, allocations: 31.86 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.219e-05/0.79, allocations: 3.938 kB / 1.224 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.24e-05/0.7901, allocations: 15.92 kB / 1.224 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.172e-05/0.7902, allocations: 41.88 kB / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.7902, allocations: 0 / 1.224 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009824/0.7912, allocations: 0.5499 MB / 1.225 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005613/0.7918, allocations: 0.5583 MB / 1.225 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002502/0.792, allocations: 309.1 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.7931, allocations: 0.951 MB / 1.226 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.7931, allocations: 4 kB / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.322e-06/0.7931, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.399e-05/0.7932, allocations: 0 / 1.226 GB, free: 12.79 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.001353/0.7945, allocations: 1.245 MB / 1.228 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.7946, allocations: 12.61 kB / 1.228 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001579/0.7947, allocations: 111.3 kB / 1.228 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004536/0.7952, allocations: 479.6 kB / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.7952, allocations: 384 / 1.228 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.7952, allocations: 4.375 kB / 1.228 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.7954, allocations: 169.9 kB / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.7954, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.587e-06/0.7955, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.7955, allocations: 0 / 1.228 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.7957, allocations: 271.8 kB / 1.229 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.7962, allocations: 0.5482 MB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.7964, allocations: 154.5 kB / 1.229 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.7965, allocations: 140.8 kB / 1.229 GB, free: 9.512 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.217e-05/0.7966, allocations: 80.66 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.7966, allocations: 38.44 kB / 1.229 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.402e-06/0.7966, allocations: 0 / 1.229 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.000519/0.7972, allocations: 0.5233 MB / 1.23 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.7972, allocations: 51.41 kB / 1.23 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.7987, allocations: 1.388 MB / 1.231 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.7988, allocations: 29.83 kB / 1.231 GB, free: 7.355 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.7991, allocations: 453.5 kB / 1.232 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.7991, allocations: 0 / 1.232 GB, free: 6.91 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.7993, allocations: 117.6 kB / 1.232 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7994, allocations: 341.9 kB / 1.232 GB, free: 6.449 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/0.7999, allocations: 0.5906 MB / 1.233 GB, free: 5.859 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005282/0.8004, allocations: 0.5906 MB / 1.233 GB, free: 5.27 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009316/0.8014, allocations: 1.166 MB / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8014, allocations: 0 / 1.235 GB, free: 3.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001411/0.8028, allocations: 1.4 MB / 1.236 GB, free: 2.543 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.8028, allocations: 7.938 kB / 1.236 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.8029, allocations: 7.984 kB / 1.236 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.8029, allocations: 7.938 kB / 1.236 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.7e-05/0.8029, allocations: 3.938 kB / 1.236 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.8029, allocations: 0 / 1.236 GB, free: 2.516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.8031, allocations: 62.94 kB / 1.236 GB, free: 2.453 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.8031, allocations: 0 / 1.236 GB, free: 2.453 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 105 (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],cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0004407/0.8036, allocations: 387.4 kB / 1.236 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.146e-05/0.8037, allocations: 106.4 kB / 1.236 GB, free: 1.961 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.8041, allocations: 416.5 kB / 1.237 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.8041, allocations: 0 / 1.237 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.8041, allocations: 3.938 kB / 1.237 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001806/0.8043, allocations: 167.6 kB / 1.237 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.8044, allocations: 3.984 kB / 1.237 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.8045, allocations: 32 / 1.237 GB, free: 1.352 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.268e-05/0.8045, allocations: 4 kB / 1.237 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002852/0.8048, allocations: 372.8 kB / 1.237 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003929/0.8052, allocations: 0.5663 MB / 1.238 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001098/0.8053, allocations: 131.9 kB / 1.238 GB, free: 268 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001219/0.8065, allocations: 0.9114 MB / 1.239 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of Backend: time 7.92e-07/0.8065, allocations: 4.062 kB / 1.239 GB, free: 15.35 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002255/0.8088, allocations: 1.163 MB / 1.24 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002453/0.8113, allocations: 2.069 MB / 1.242 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of Templates: time 0.01231/0.8236, allocations: 4.702 MB / 1.247 GB, free: 7.418 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches