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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001134/0.001134, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001308/0.001308, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.707/2.707, allocations: 436.5 MB / 0.7104 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004955, allocations: 12 kB / 0.8708 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8043/0.8048, allocations: 153.6 MB / 1.021 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001315/0.8062, allocations: 1.049 MB / 1.022 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001714/0.8079, allocations: 1.189 MB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.8079, allocations: 0 / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.945e-05/0.808, allocations: 4 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.8082, allocations: 23.97 kB / 1.023 GB, free: 14.85 MB / 0.7794 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.0007638/0.809, allocations: 275.2 kB / 1.023 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.793e-05/0.809, allocations: 19.98 kB / 1.023 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.297e-05/0.8091, allocations: 7.922 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.8091, allocations: 27.92 kB / 1.023 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.983e-05/0.8092, allocations: 27.92 kB / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.8092, allocations: 0 / 1.023 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005883/0.8098, allocations: 395.5 kB / 1.024 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.8103, allocations: 0.495 MB / 1.024 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.66e-05/0.8104, allocations: 141.1 kB / 1.024 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005849/0.811, allocations: 0.606 MB / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.811, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.811, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.811, allocations: 0 / 1.025 GB, free: 12.87 MB / 0.7794 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.001065/0.8121, allocations: 1.191 MB / 1.026 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.8121, allocations: 11.98 kB / 1.026 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.8122, allocations: 118.4 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.8127, allocations: 427.4 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.927e-06/0.8127, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.8127, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.8129, allocations: 165.6 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.8129, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.8129, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8129, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.8131, allocations: 275.8 kB / 1.027 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004541/0.8136, allocations: 0.5521 MB / 1.028 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.8137, allocations: 146.5 kB / 1.028 GB, free: 9.832 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.238e-05/0.8138, allocations: 80.72 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.8138, allocations: 34.55 kB / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.8138, allocations: 0 / 1.028 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0004446/0.8143, allocations: 0.5272 MB / 1.028 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.8143, allocations: 59.44 kB / 1.028 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.8156, allocations: 1.38 MB / 1.03 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.8156, allocations: 29.7 kB / 1.03 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.816, allocations: 453.5 kB / 1.03 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.816, allocations: 0 / 1.03 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-06/0.816, allocations: 0 / 1.03 GB, free: 7.227 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.8161, allocations: 338 kB / 1.031 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004495/0.8166, allocations: 0.5906 MB / 1.031 GB, free: 6.301 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/0.817, allocations: 0.6023 MB / 1.032 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000497/0.8175, allocations: 0.6189 MB / 1.032 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.8175, allocations: 0 / 1.032 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001268/0.8188, allocations: 1.392 MB / 1.034 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.8188, allocations: 4 kB / 1.034 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.118e-05/0.8188, allocations: 0 / 1.034 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.8189, allocations: 19.81 kB / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-05/0.8189, allocations: 0 / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.8189, allocations: 0 / 1.034 GB, free: 3.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.8191, allocations: 62.94 kB / 1.034 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.8191, allocations: 8.062 kB / 1.034 GB, free: 3.586 MB / 0.7794 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.0004101/0.8195, allocations: 378.8 kB / 1.034 GB, free: 3.207 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.742e-05/0.8196, allocations: 102.5 kB / 1.034 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003612/0.8199, allocations: 408.7 kB / 1.035 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.82, allocations: 7.891 kB / 1.035 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.82, allocations: 0 / 1.035 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.82, allocations: 4.031 kB / 1.035 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004695/0.8205, allocations: 0.5487 MB / 1.035 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8205, allocations: 0 / 1.035 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-06/0.8205, allocations: 0 / 1.035 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.8205, allocations: 4 kB / 1.035 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.8205, allocations: 0 / 1.035 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8205, allocations: 0 / 1.035 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8205, allocations: 3.953 kB / 1.035 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.8208, allocations: 438.2 kB / 1.036 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001466/0.821, allocations: 167.6 kB / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.8211, allocations: 0 / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.8211, allocations: 0 / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.8212, allocations: 0 / 1.036 GB, free: 1.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.232e-06/0.8212, allocations: 7.953 kB / 1.036 GB, free: 1.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009544/0.8221, allocations: 0.9035 MB / 1.037 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8221, allocations: 0 / 1.037 GB, free: 0.5312 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006377/0.8228, allocations: 183.9 kB / 1.037 GB, free: 360 kB / 0.7794 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.0007137/0.8235, allocations: 284.8 kB / 1.037 GB, free: 92 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009048/0.8244, allocations: 1.049 MB / 1.038 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.8244, allocations: 0 / 1.038 GB, free: 15.04 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.942e-05/0.8245, allocations: 139.9 kB / 1.038 GB, free: 14.9 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.8248, allocations: 43.38 kB / 1.038 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.8268, allocations: 1.775 MB / 1.04 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006111/0.8274, allocations: 1.032 MB / 1.041 GB, free: 12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.649e-05/0.8274, allocations: 4 kB / 1.041 GB, free: 11.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.798e-05/0.8275, allocations: 11.42 kB / 1.041 GB, free: 11.98 MB / 0.795 GB Notification: Performance of SimCode: time 6.21e-07/0.8275, allocations: 0 / 1.041 GB, free: 11.98 MB / 0.795 GB Notification: Performance of Templates: time 0.009846/0.8373, allocations: 4.365 MB / 1.045 GB, free: 7.66 MB / 0.795 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