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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001187/0.001187, allocations: 179.5 kB / 0.4902 GB, free: 2.234 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.2 MB / 0.7992 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008701/0.0008702, allocations: 106.2 kB / 0.9396 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005178/0.0005179, allocations: 14.12 kB / 1.09 GB, free: 213.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2945, allocations: 143 MB / 1.229 GB, free: 85.43 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.5052, allocations: 155.4 MB / 1.381 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5056, allocations: 107.9 kB / 1.381 GB, free: 9.758 MB / 0.8855 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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 FrontEnd - DAE generated: time 0.05293/0.5585, allocations: 13.18 MB / 1.394 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5586, allocations: 0 / 1.394 GB, free: 12.53 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.927e-05/0.5586, allocations: 16 kB / 1.394 GB, free: 12.52 MB / 0.9011 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.002561/0.5612, allocations: 1.249 MB / 1.395 GB, free: 11.21 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.5613, allocations: 8.562 kB / 1.395 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002791/0.5616, allocations: 114.5 kB / 1.395 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.5627, allocations: 0.5579 MB / 1.396 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5627, allocations: 0 / 1.396 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.5628, allocations: 7.984 kB / 1.396 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004465/0.5632, allocations: 253.2 kB / 1.396 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5632, allocations: 0 / 1.396 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.5633, allocations: 0 / 1.396 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.5633, allocations: 0 / 1.396 GB, free: 10.22 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005161/0.5638, allocations: 351.5 kB / 1.396 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009085/0.5647, allocations: 0.6181 MB / 1.397 GB, free: 9.207 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.565, allocations: 186.3 kB / 1.397 GB, free: 9.016 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.5651, allocations: 32.77 kB / 1.397 GB, free: 8.98 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.5651, allocations: 30.56 kB / 1.397 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.312e-06/0.5651, allocations: 0 / 1.397 GB, free: 8.941 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.001191/0.5663, allocations: 0.6712 MB / 1.398 GB, free: 8.262 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/0.5664, allocations: 51.41 kB / 1.398 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.5682, allocations: 1.224 MB / 1.399 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.5683, allocations: 29.7 kB / 1.399 GB, free: 6.934 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.5687, allocations: 457.5 kB / 1.4 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.5687, allocations: 3.906 kB / 1.4 GB, free: 6.48 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.5688, allocations: 4 kB / 1.4 GB, free: 6.477 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5689, allocations: 341.9 kB / 1.4 GB, free: 6.137 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008329/0.5698, allocations: 0.6841 MB / 1.401 GB, free: 5.453 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008189/0.5706, allocations: 0.688 MB / 1.401 GB, free: 4.762 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008844/0.5715, allocations: 0.7163 MB / 1.402 GB, free: 4.047 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.5715, allocations: 4.031 kB / 1.402 GB, free: 4.043 MB / 0.9011 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002226/0.5738, allocations: 1.626 MB / 1.404 GB, free: 2.406 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.5738, allocations: 4 kB / 1.404 GB, free: 2.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.229e-05/0.5739, allocations: 32 kB / 1.404 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5739, allocations: 0 / 1.404 GB, free: 2.371 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.971e-05/0.574, allocations: 19.97 kB / 1.404 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.574, allocations: 0 / 1.404 GB, free: 2.352 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003771/0.5744, allocations: 74.88 kB / 1.404 GB, free: 2.277 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.5745, allocations: 75.95 kB / 1.404 GB, free: 2.203 MB / 0.9011 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 (cmp,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005013/0.575, allocations: 386.8 kB / 1.404 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5751, allocations: 110.4 kB / 1.404 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.5767, allocations: 0.6914 MB / 1.405 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.5767, allocations: 0 / 1.405 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.5767, allocations: 0 / 1.405 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5767, allocations: 0 / 1.405 GB, free: 1.004 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005819/0.5773, allocations: 0.5291 MB / 1.405 GB, free: 432 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5773, allocations: 4.031 kB / 1.405 GB, free: 428 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.5773, allocations: 19.95 kB / 1.405 GB, free: 408 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5773, allocations: 0 / 1.405 GB, free: 408 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.5774, allocations: 15.97 kB / 1.406 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5774, allocations: 0 / 1.406 GB, free: 392 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.5774, allocations: 3.984 kB / 1.406 GB, free: 388 kB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.574/1.151, allocations: 0.519 MB / 1.406 GB, free: 170.1 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/1.152, allocations: 185.7 kB / 1.406 GB, free: 170 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001986/1.152, allocations: 4.891 kB / 1.406 GB, free: 170 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003003/1.152, allocations: 4.375 kB / 1.406 GB, free: 170 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/1.152, allocations: 25.48 kB / 1.406 GB, free: 170 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.192e-05/1.152, allocations: 42.3 kB / 1.406 GB, free: 170 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001862/1.154, allocations: 0.9138 MB / 1.407 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.3e-07/1.154, allocations: 1.375 kB / 1.407 GB, free: 169.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001032/1.155, allocations: 242.6 kB / 1.407 GB, free: 169.9 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001025/1.156, allocations: 303.2 kB / 1.408 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001442/1.158, allocations: 1.086 MB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/1.158, allocations: 6.5 kB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003379/1.158, allocations: 189.8 kB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003902/1.159, allocations: 47.55 kB / 1.409 GB, free: 169.8 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/1.162, allocations: 1.837 MB / 1.411 GB, free: 169.1 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007122/1.162, allocations: 1.038 MB / 1.412 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0004966/1.163, allocations: 174.1 kB / 1.412 GB, free: 168.4 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/1.163, allocations: 68.56 kB / 1.412 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of SimCode: time 8.32e-07/1.163, allocations: 0 / 1.412 GB, free: 168.3 MB / 0.9011 GB Notification: Performance of Templates: time 0.02188/1.185, allocations: 7.444 MB / 1.419 GB, free: 167.9 MB / 0.9011 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","../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