Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ClusterBoreholes_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_11_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_11_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.001695/0.001695, allocations: 115.5 kB / 16.81 MB, free: 5.77 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.001875/0.001875, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.436/1.436, allocations: 225.6 MB / 244.2 MB, free: 13.92 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.892/2.892, allocations: 476.7 MB / 0.7556 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 73.77 kB / 1.097 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3201, allocations: 168.7 MB / 1.262 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.003166/0.3233, allocations: 1.324 MB / 1.263 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.3262, allocations: 1.322 MB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.44e-05/0.3262, allocations: 3.938 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.3263, allocations: 3.984 kB / 1.265 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.3266, allocations: 28.86 kB / 1.265 GB, free: 10.36 MB / 0.9825 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.1.0-maint.11.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.001417/0.3281, allocations: 380.3 kB / 1.265 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3282, allocations: 27.92 kB / 1.265 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.926e-05/0.3282, allocations: 3.984 kB / 1.265 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.3283, allocations: 15.92 kB / 1.265 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.3284, allocations: 37.83 kB / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.3284, allocations: 0 / 1.265 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.3296, allocations: 0.6006 MB / 1.266 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000805/0.3304, allocations: 0.5699 MB / 1.266 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.3307, allocations: 301.1 kB / 1.267 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/0.3321, allocations: 0.9562 MB / 1.268 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3321, allocations: 0 / 1.268 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.565e-06/0.3321, allocations: 0 / 1.268 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.3322, allocations: 0 / 1.268 GB, free: 7.473 MB / 0.9825 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.001629/0.3338, allocations: 1.306 MB / 1.269 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.3338, allocations: 8.031 kB / 1.269 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.334, allocations: 112.1 kB / 1.269 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.3345, allocations: 488.6 kB / 1.269 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3345, allocations: 8.375 kB / 1.269 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3345, allocations: 384 / 1.269 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3347, allocations: 165.9 kB / 1.27 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3347, allocations: 11.86 kB / 1.27 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.3347, allocations: 0 / 1.27 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3347, allocations: 0 / 1.27 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002261/0.335, allocations: 263.9 kB / 1.27 GB, free: 5.023 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.3355, allocations: 0.5522 MB / 1.27 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.3357, allocations: 150.5 kB / 1.271 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.3358, allocations: 140.8 kB / 1.271 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.114e-05/0.3359, allocations: 80.64 kB / 1.271 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.3359, allocations: 42.5 kB / 1.271 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.3359, allocations: 0 / 1.271 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.000578/0.3365, allocations: 0.5279 MB / 1.271 GB, free: 3.453 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.3365, allocations: 51.41 kB / 1.271 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.3381, allocations: 1.392 MB / 1.273 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.3381, allocations: 25.7 kB / 1.273 GB, free: 1.957 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.3385, allocations: 453.7 kB / 1.273 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.3385, allocations: 7.953 kB / 1.273 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.3386, allocations: 113.6 kB / 1.273 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.3388, allocations: 341.9 kB / 1.274 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.3393, allocations: 0.5867 MB / 1.274 GB, free: 472 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005212/0.3398, allocations: 0.5946 MB / 1.275 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.3409, allocations: 1.17 MB / 1.276 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3409, allocations: 0 / 1.276 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001536/0.3424, allocations: 1.393 MB / 1.277 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.079e-05/0.3424, allocations: 11.94 kB / 1.277 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/0.3425, allocations: 3.984 kB / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.3425, allocations: 0 / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.638e-05/0.3425, allocations: 0 / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3425, allocations: 0 / 1.277 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.3427, allocations: 75.2 kB / 1.277 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.3427, allocations: 0 / 1.277 GB, free: 13.05 MB / 0.9981 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.0004665/0.3432, allocations: 386.7 kB / 1.278 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3433, allocations: 115.1 kB / 1.278 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.3437, allocations: 412.6 kB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3437, allocations: 4 kB / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3437, allocations: 0 / 1.278 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3439, allocations: 172.3 kB / 1.278 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.3439, allocations: 4.031 kB / 1.278 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.344, allocations: 0 / 1.278 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.3441, allocations: 4 kB / 1.278 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003011/0.3444, allocations: 372.8 kB / 1.279 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004519/0.3448, allocations: 0.5748 MB / 1.279 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001212/0.3449, allocations: 140 kB / 1.279 GB, free: 10.84 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001114/0.3461, allocations: 0.9113 MB / 1.28 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of Backend: time 5.31e-07/0.3461, allocations: 0 / 1.28 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001875/0.3479, allocations: 1.006 MB / 1.281 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of SimCode: time 0.00238/0.3503, allocations: 2.083 MB / 1.283 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of Templates: time 0.01233/0.3626, allocations: 4.759 MB / 1.288 GB, free: 2.082 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ClusterBoreholes_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches