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.01114/0.01114, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.002521/0.002521, allocations: 193.6 kB / 16.79 MB, free: 5.809 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.475/1.475, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.747/2.747, allocations: 461.9 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 66.06 kB / 0.8991 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.3604, allocations: 157.4 MB / 1.053 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ClusterBoreholes_100boreholes): time 0.003208/0.3637, allocations: 1.393 MB / 1.054 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002503/0.3662, allocations: 1.352 MB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.3663, allocations: 0 / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.3664, allocations: 3.938 kB / 1.055 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002355/0.3666, allocations: 36.91 kB / 1.056 GB, free: 5.453 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.001126/0.3678, allocations: 302.5 kB / 1.056 GB, free: 5.16 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3679, allocations: 68.83 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.368, allocations: 3.984 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.32e-05/0.368, allocations: 11.98 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.3682, allocations: 97.8 kB / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3682, allocations: 0 / 1.056 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3692, allocations: 0.5148 MB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005593/0.3698, allocations: 0.5553 MB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002857/0.3701, allocations: 305.2 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0008881/0.371, allocations: 0.6511 MB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.371, allocations: 3.984 kB / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.764e-06/0.371, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.902e-05/0.371, allocations: 0 / 1.058 GB, free: 2.949 MB / 0.8106 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.00149/0.3725, allocations: 1.249 MB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.3726, allocations: 15.97 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.3728, allocations: 107.4 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.3733, allocations: 483.5 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.3733, allocations: 4.375 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.3733, allocations: 384 / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.3735, allocations: 161.9 kB / 1.06 GB, free: 0.8359 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3735, allocations: 4 kB / 1.06 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3736, allocations: 4 kB / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3736, allocations: 0 / 1.06 GB, free: 0.8281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.3738, allocations: 263.8 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006394/0.3744, allocations: 0.5561 MB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/0.3746, allocations: 146.5 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3747, allocations: 140.8 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.144e-05/0.3748, allocations: 80.64 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.3748, allocations: 38.5 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3748, allocations: 0 / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0005417/0.3754, allocations: 0.5311 MB / 1.062 GB, free: 15 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3754, allocations: 51.41 kB / 1.062 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.3769, allocations: 1.38 MB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3769, allocations: 25.7 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.3773, allocations: 457.4 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.3773, allocations: 4 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.3774, allocations: 117.8 kB / 1.064 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3776, allocations: 341.9 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004367/0.378, allocations: 0.5867 MB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/0.3785, allocations: 0.5945 MB / 1.065 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008836/0.3794, allocations: 1.162 MB / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3794, allocations: 0 / 1.066 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001364/0.3807, allocations: 1.404 MB / 1.068 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.3808, allocations: 7.938 kB / 1.068 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.534e-05/0.3808, allocations: 4 kB / 1.068 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3808, allocations: 8 kB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.871e-05/0.3809, allocations: 0 / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.3809, allocations: 0 / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.3811, allocations: 66.84 kB / 1.068 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3811, allocations: 4 kB / 1.068 GB, free: 8.598 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.00042/0.3815, allocations: 378.8 kB / 1.068 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.511e-05/0.3816, allocations: 106.4 kB / 1.068 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.382, allocations: 416.6 kB / 1.069 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.382, allocations: 3.938 kB / 1.069 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.382, allocations: 0 / 1.069 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.382, allocations: 0 / 1.069 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004921/0.3825, allocations: 0.5448 MB / 1.069 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3826, allocations: 3.938 kB / 1.069 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-06/0.3826, allocations: 4 kB / 1.069 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.3826, allocations: 3.938 kB / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.792e-06/0.3826, allocations: 0 / 1.069 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3826, allocations: 4.031 kB / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3826, allocations: 0 / 1.069 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003461/0.383, allocations: 426.3 kB / 1.069 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001566/0.3831, allocations: 183.4 kB / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.53e-05/0.3832, allocations: 0 / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.3833, allocations: 0 / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.3833, allocations: 0 / 1.07 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3833, allocations: 7.969 kB / 1.07 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001064/0.3844, allocations: 0.9075 MB / 1.071 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3844, allocations: 0 / 1.071 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006597/0.3851, allocations: 184 kB / 1.071 GB, free: 5.348 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.0009336/0.386, allocations: 290.1 kB / 1.071 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008537/0.3869, allocations: 1.045 MB / 1.072 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3869, allocations: 0 / 1.072 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.387, allocations: 139.9 kB / 1.072 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3874, allocations: 41.91 kB / 1.072 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/0.3898, allocations: 1.943 MB / 1.074 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.3904, allocations: 1.012 MB / 1.075 GB, free: 0.8281 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3904, allocations: 11.38 kB / 1.075 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3904, allocations: 0 / 1.075 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of Templates: time 0.02014/0.4106, allocations: 10.58 MB / 1.085 GB, free: 6.234 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