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.001017/0.001018, allocations: 92.16 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 182.8 kB / 16.92 MB, free: 6.926 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.428/1.428, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.85/2.85, allocations: 462.6 MB / 0.737 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003773/0.0003772, allocations: 11.22 kB / 0.9035 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3684, allocations: 159.6 MB / 1.059 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.001496/0.37, allocations: 1.057 MB / 1.06 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002218/0.3722, allocations: 1.325 MB / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.173e-05/0.3722, allocations: 0 / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.195e-05/0.3723, allocations: 0 / 1.062 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.3726, allocations: 32.91 kB / 1.062 GB, free: 2.473 MB / 0.8106 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.0008972/0.3735, allocations: 314 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.926e-05/0.3736, allocations: 56.89 kB / 1.062 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.565e-05/0.3736, allocations: 3.938 kB / 1.062 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.514e-05/0.3737, allocations: 11.98 kB / 1.062 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3738, allocations: 101.8 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3739, allocations: 4 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007663/0.3746, allocations: 0.5031 MB / 1.063 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005415/0.3752, allocations: 0.5592 MB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.3755, allocations: 330.8 kB / 1.064 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007259/0.3762, allocations: 0.6512 MB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3762, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3762, allocations: 0 / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3762, allocations: 3.938 kB / 1.064 GB, free: 15.94 MB / 0.8262 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.001138/0.3774, allocations: 1.168 MB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.3774, allocations: 11.97 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.3776, allocations: 107.4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.378, allocations: 479.6 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.378, allocations: 4.375 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.231e-05/0.378, allocations: 8.375 kB / 1.066 GB, free: 14.07 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3782, allocations: 161.9 kB / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3782, allocations: 0 / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.3783, allocations: 0 / 1.066 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3783, allocations: 4 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.3785, allocations: 259.9 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004982/0.379, allocations: 0.5598 MB / 1.067 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.3791, allocations: 150.5 kB / 1.067 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.3792, allocations: 140.8 kB / 1.067 GB, free: 12.74 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.985e-05/0.3793, allocations: 88.62 kB / 1.067 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3794, allocations: 38.44 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.3794, allocations: 0 / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004899/0.3799, allocations: 0.5233 MB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.3799, allocations: 51.41 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001356/0.3813, allocations: 1.388 MB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/0.3813, allocations: 29.83 kB / 1.069 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.3816, allocations: 457.5 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.3817, allocations: 3.906 kB / 1.07 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.3818, allocations: 105.6 kB / 1.07 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3819, allocations: 341.9 kB / 1.07 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004354/0.3823, allocations: 0.5867 MB / 1.071 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.3828, allocations: 0.5945 MB / 1.071 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.3838, allocations: 1.162 MB / 1.072 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.3838, allocations: 0 / 1.072 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.00136/0.3852, allocations: 1.396 MB / 1.074 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3852, allocations: 7.938 kB / 1.074 GB, free: 5.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.3852, allocations: 7.969 kB / 1.074 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3852, allocations: 4 kB / 1.074 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.976e-05/0.3853, allocations: 0 / 1.074 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3853, allocations: 0 / 1.074 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001737/0.3855, allocations: 66.88 kB / 1.074 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.3855, allocations: 0 / 1.074 GB, free: 5.68 MB / 0.8262 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.0004454/0.3859, allocations: 386.9 kB / 1.074 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.589e-05/0.386, allocations: 110.3 kB / 1.074 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003916/0.3864, allocations: 412.7 kB / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3864, allocations: 0 / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.3864, allocations: 0 / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3865, allocations: 0 / 1.075 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000461/0.3869, allocations: 0.5448 MB / 1.075 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3869, allocations: 3.938 kB / 1.075 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-06/0.3869, allocations: 4.031 kB / 1.075 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3869, allocations: 3.938 kB / 1.075 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.387, allocations: 4 kB / 1.075 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.387, allocations: 3.938 kB / 1.075 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.387, allocations: 0 / 1.075 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.3873, allocations: 426.3 kB / 1.076 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.3875, allocations: 179.4 kB / 1.076 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.841e-05/0.3875, allocations: 3.984 kB / 1.076 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.275e-05/0.3876, allocations: 4.031 kB / 1.076 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.324e-05/0.3877, allocations: 0 / 1.076 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-06/0.3877, allocations: 0 / 1.076 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0009749/0.3886, allocations: 0.9075 MB / 1.077 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3886, allocations: 3.938 kB / 1.077 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006504/0.3893, allocations: 180 kB / 1.077 GB, free: 2.426 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007286/0.39, allocations: 285.6 kB / 1.077 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008619/0.3909, allocations: 1.049 MB / 1.078 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.3909, allocations: 0 / 1.078 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.391, allocations: 135.9 kB / 1.078 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.3914, allocations: 41.27 kB / 1.078 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3936, allocations: 1.949 MB / 1.08 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/0.3942, allocations: 1.012 MB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.893e-05/0.3942, allocations: 15.38 kB / 1.081 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of SimCode: time 7.82e-07/0.3942, allocations: 4 kB / 1.081 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.01971/0.4139, allocations: 10.47 MB / 1.091 GB, free: 3.414 MB / 0.8419 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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