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.586/2.586, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001328/0.001328, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0009134/0.0009134, allocations: 91.94 kB / 0.9317 GB, free: 5.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.482e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9376/1.227, allocations: 155.3 MB / 1.37 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.227, allocations: 102.3 kB / 1.371 GB, free: 14.7 MB / 0.8386 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.05496/1.282, allocations: 13.22 MB / 1.383 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.212e-06/1.282, allocations: 0 / 1.383 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.293e-05/1.282, allocations: 12 kB / 1.383 GB, free: 3.086 MB / 0.8386 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.001651/1.284, allocations: 1.01 MB / 1.384 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.284, allocations: 8.031 kB / 1.384 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002595/1.284, allocations: 118.4 kB / 1.385 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/1.285, allocations: 0.5457 MB / 1.385 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/1.285, allocations: 4 kB / 1.385 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.517e-05/1.285, allocations: 4 kB / 1.385 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/1.286, allocations: 245.3 kB / 1.385 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/1.286, allocations: 0 / 1.385 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/1.286, allocations: 0 / 1.385 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/1.286, allocations: 0 / 1.385 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/1.286, allocations: 347.5 kB / 1.386 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008354/1.287, allocations: 0.6114 MB / 1.386 GB, free: 228 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/1.287, allocations: 194.5 kB / 1.386 GB, free: 24 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002927/1.288, allocations: 180.2 kB / 1.387 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.138e-05/1.288, allocations: 24.72 kB / 1.387 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/1.288, allocations: 34.56 kB / 1.387 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/1.288, allocations: 0 / 1.387 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0008942/1.289, allocations: 0.5074 MB / 1.387 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/1.289, allocations: 55.34 kB / 1.387 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001569/1.29, allocations: 1.209 MB / 1.388 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/1.29, allocations: 29.7 kB / 1.388 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/1.291, allocations: 456.9 kB / 1.389 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.661e-05/1.291, allocations: 3.188 kB / 1.389 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.829e-05/1.291, allocations: 4 kB / 1.389 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001294/1.291, allocations: 343.5 kB / 1.389 GB, free: 13.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/1.292, allocations: 0.6827 MB / 1.39 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007625/1.292, allocations: 0.6875 MB / 1.391 GB, free: 12.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/1.293, allocations: 0.7217 MB / 1.391 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.293, allocations: 0 / 1.391 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002093/1.295, allocations: 1.624 MB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.295, allocations: 4 kB / 1.393 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.788e-05/1.296, allocations: 28 kB / 1.393 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/1.296, allocations: 0 / 1.393 GB, free: 10.47 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.14e-05/1.296, allocations: 19.95 kB / 1.393 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.296, allocations: 3.938 kB / 1.393 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/1.296, allocations: 74.84 kB / 1.393 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.296, allocations: 82.72 kB / 1.393 GB, free: 10.3 MB / 0.8542 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 () * 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.0002067/1.296, allocations: 168.5 kB / 1.393 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/1.297, allocations: 102.5 kB / 1.393 GB, free: 10.04 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/1.298, allocations: 0.6886 MB / 1.394 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.298, allocations: 0 / 1.394 GB, free: 9.391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/1.298, allocations: 4.031 kB / 1.394 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.298, allocations: 0 / 1.394 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005899/1.299, allocations: 0.5346 MB / 1.395 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.299, allocations: 0 / 1.395 GB, free: 8.902 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/1.299, allocations: 15.97 kB / 1.395 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/1.299, allocations: 0 / 1.395 GB, free: 8.887 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/1.299, allocations: 19.95 kB / 1.395 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/1.299, allocations: 0 / 1.395 GB, free: 8.867 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.299, allocations: 3.938 kB / 1.395 GB, free: 8.863 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/1.3, allocations: 0.5367 MB / 1.395 GB, free: 8.309 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/1.3, allocations: 175.6 kB / 1.395 GB, free: 8.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/1.3, allocations: 11.98 kB / 1.395 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/1.3, allocations: 0 / 1.395 GB, free: 8.105 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/1.3, allocations: 15.95 kB / 1.395 GB, free: 8.09 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.626e-05/1.3, allocations: 43.95 kB / 1.395 GB, free: 8.047 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001247/1.302, allocations: 0.9017 MB / 1.396 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.5e-07/1.302, allocations: 0 / 1.396 GB, free: 7.293 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0009059/1.303, allocations: 242.2 kB / 1.396 GB, free: 7.062 MB / 0.8542 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 () * 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.001061/1.304, allocations: 309 kB / 1.397 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.305, allocations: 1.087 MB / 1.398 GB, free: 5.973 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/1.305, allocations: 4.062 kB / 1.398 GB, free: 5.969 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/1.305, allocations: 191.7 kB / 1.398 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/1.305, allocations: 50.58 kB / 1.398 GB, free: 5.762 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/1.307, allocations: 1.365 MB / 1.399 GB, free: 4.395 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/1.308, allocations: 1.037 MB / 1.4 GB, free: 3.332 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.00042/1.308, allocations: 179.3 kB / 1.401 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002045/1.309, allocations: 69.27 kB / 1.401 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of SimCode: time 1.693e-06/1.309, allocations: 0 / 1.401 GB, free: 3.094 MB / 0.8542 GB Notification: Performance of Templates: time 0.01434/1.323, allocations: 7.48 MB / 1.408 GB, free: 11.65 MB / 0.8698 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