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.584/2.584, allocations: 390.5 MB / 398 MB, free: 10.91 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.001534/0.001534, allocations: 188.8 kB / 491.2 MB, free: 1.551 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.638/1.638, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009745/0.0009746, allocations: 91.89 kB / 0.9269 GB, free: 13.83 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.902e-05/1.927e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.3108, allocations: 143 MB / 1.212 GB, free: 39.49 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9639/1.275, allocations: 154.6 MB / 1.363 GB, free: 17.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/1.275, allocations: 103.7 kB / 1.363 GB, free: 17.02 MB / 0.823 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.04882/1.324, allocations: 13.13 MB / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.382e-06/1.324, allocations: 0 / 1.376 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.162e-05/1.324, allocations: 11.56 kB / 1.376 GB, free: 31.61 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.001043/1.325, allocations: 1.003 MB / 1.377 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/1.325, allocations: 11.66 kB / 1.377 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001642/1.325, allocations: 116.6 kB / 1.377 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/1.326, allocations: 0.5475 MB / 1.378 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/1.326, allocations: 0 / 1.378 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.103e-05/1.326, allocations: 3.875 kB / 1.378 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000398/1.326, allocations: 349.5 kB / 1.378 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/1.327, allocations: 245.4 kB / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/1.327, allocations: 0 / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/1.327, allocations: 0 / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/1.327, allocations: 0 / 1.379 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004625/1.327, allocations: 0.5898 MB / 1.379 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/1.327, allocations: 194.4 kB / 1.379 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/1.328, allocations: 176.7 kB / 1.379 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/1.328, allocations: 23.97 kB / 1.379 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/1.328, allocations: 34.31 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/1.328, allocations: 3.938 kB / 1.379 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0006552/1.328, allocations: 0.5065 MB / 1.38 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.332e-05/1.328, allocations: 51.41 kB / 1.38 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/1.329, allocations: 1.139 MB / 1.381 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.724e-05/1.329, allocations: 29.55 kB / 1.381 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002765/1.33, allocations: 458.7 kB / 1.382 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/1.33, allocations: 0.75 kB / 1.382 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/1.33, allocations: 3.969 kB / 1.382 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001344/1.33, allocations: 338.2 kB / 1.382 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/1.33, allocations: 0.6847 MB / 1.383 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005479/1.331, allocations: 0.6897 MB / 1.383 GB, free: 28.41 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006917/1.332, allocations: 0.7141 MB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.332, allocations: 3.812 kB / 1.384 GB, free: 28.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001761/1.333, allocations: 1.62 MB / 1.386 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.333, allocations: 7.781 kB / 1.386 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.487e-05/1.334, allocations: 30.84 kB / 1.386 GB, free: 27.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/1.334, allocations: 3.984 kB / 1.386 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/1.334, allocations: 15.66 kB / 1.386 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/1.334, allocations: 0 / 1.386 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004195/1.334, allocations: 78.28 kB / 1.386 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/1.334, allocations: 80.3 kB / 1.386 GB, free: 27.79 MB / 0.8386 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.0002064/1.334, allocations: 168.5 kB / 1.386 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/1.335, allocations: 104.2 kB / 1.386 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/1.336, allocations: 0.6857 MB / 1.387 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.336, allocations: 0 / 1.387 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/1.336, allocations: 4.031 kB / 1.387 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.336, allocations: 3.984 kB / 1.387 GB, free: 27.32 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/1.336, allocations: 0.5037 MB / 1.387 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.336, allocations: 0 / 1.387 GB, free: 27.06 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.407e-05/1.336, allocations: 19.62 kB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.336, allocations: 3.953 kB / 1.387 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.109e-05/1.336, allocations: 19.64 kB / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/1.336, allocations: 0 / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.336, allocations: 0 / 1.387 GB, free: 27.04 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005876/1.337, allocations: 0.5319 MB / 1.388 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/1.337, allocations: 182.5 kB / 1.388 GB, free: 26.58 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/1.337, allocations: 7.953 kB / 1.388 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/1.338, allocations: 0 / 1.388 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.12e-05/1.338, allocations: 15.66 kB / 1.388 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.205e-05/1.338, allocations: 42.86 kB / 1.388 GB, free: 26.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0007624/1.338, allocations: 0.8335 MB / 1.389 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.338, allocations: 0 / 1.389 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009176/1.339, allocations: 251.8 kB / 1.389 GB, free: 26.27 MB / 0.8386 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.0008179/1.34, allocations: 311.5 kB / 1.389 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009385/1.341, allocations: 1.085 MB / 1.39 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.341, allocations: 0 / 1.39 GB, free: 25.89 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/1.341, allocations: 194.6 kB / 1.391 GB, free: 25.82 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/1.342, allocations: 47.25 kB / 1.391 GB, free: 25.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/1.343, allocations: 1.359 MB / 1.392 GB, free: 25.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004867/1.344, allocations: 1.033 MB / 1.393 GB, free: 24.4 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003729/1.344, allocations: 182.3 kB / 1.393 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/1.344, allocations: 73.77 kB / 1.393 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.344, allocations: 0 / 1.393 GB, free: 24.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.01223/1.357, allocations: 6.951 MB / 1.4 GB, free: 20.34 MB / 0.8386 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