Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 99.11 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.001369/0.001369, allocations: 185.7 kB / 16.92 MB, free: 6.688 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.411/1.411, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004013/0.0004014, allocations: 12 kB / 0.8735 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7736/0.774, allocations: 153.8 MB / 1.024 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001793/0.7758, allocations: 1.152 MB / 1.025 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007248/0.7831, allocations: 4.4 MB / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.7832, allocations: 0 / 1.029 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.7833, allocations: 15.86 kB / 1.029 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.7836, allocations: 23.91 kB / 1.029 GB, free: 10.39 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.003669/0.7873, allocations: 1.195 MB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.7875, allocations: 123.6 kB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.355e-05/0.7875, allocations: 11.97 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.887e-05/0.7876, allocations: 31.92 kB / 1.031 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003317/0.788, allocations: 240.8 kB / 1.031 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.788, allocations: 16 kB / 1.031 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003749/0.7918, allocations: 2.18 MB / 1.033 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0007412/0.7925, allocations: 0.7498 MB / 1.034 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0005678/0.7931, allocations: 0.5253 MB / 1.034 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.7958, allocations: 1.783 MB / 1.036 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.7958, allocations: 0 / 1.036 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.7958, allocations: 0 / 1.036 GB, free: 3.527 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.053e-05/0.7959, allocations: 0 / 1.036 GB, free: 3.527 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01167/0.8075, allocations: 1.852 MB / 1.038 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.8076, allocations: 12.03 kB / 1.038 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000513/0.8081, allocations: 162.5 kB / 1.038 GB, free: 1.445 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007245/0.8089, allocations: 0.5696 MB / 1.038 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.8089, allocations: 384 / 1.038 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.853e-05/0.8089, allocations: 8.375 kB / 1.038 GB, free: 0.8047 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004769/0.8094, allocations: 399.4 kB / 1.039 GB, free: 412 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8095, allocations: 0 / 1.039 GB, free: 412 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.8095, allocations: 8 kB / 1.039 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.8095, allocations: 0 / 1.039 GB, free: 404 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004685/0.81, allocations: 439.7 kB / 1.039 GB, free: 15.96 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.811, allocations: 0.9258 MB / 1.04 GB, free: 14.98 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005702/0.8116, allocations: 0.5633 MB / 1.041 GB, free: 14.4 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003652/0.812, allocations: 333.7 kB / 1.041 GB, free: 14.07 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.8132, allocations: 1.04 MB / 1.042 GB, free: 12.8 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000447/0.8136, allocations: 404.8 kB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.8136, allocations: 4 kB / 1.042 GB, free: 12.39 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001504/0.8151, allocations: 1.362 MB / 1.044 GB, free: 11.02 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/0.8152, allocations: 89.09 kB / 1.044 GB, free: 10.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.8178, allocations: 2.22 MB / 1.046 GB, free: 8.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.653e-05/0.8179, allocations: 33.7 kB / 1.046 GB, free: 8.621 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004634/0.8184, allocations: 0.5173 MB / 1.047 GB, free: 8.098 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.8184, allocations: 19.8 kB / 1.047 GB, free: 8.078 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000347/0.8188, allocations: 391.5 kB / 1.047 GB, free: 7.688 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.8189, allocations: 301.1 kB / 1.047 GB, free: 7.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.8208, allocations: 2.057 MB / 1.049 GB, free: 5.332 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.8228, allocations: 2.23 MB / 1.051 GB, free: 3.094 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.8311, allocations: 4.693 MB / 1.056 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.8311, allocations: 0 / 1.056 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007501/0.8386, allocations: 6.239 MB / 1.062 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.8387, allocations: 8 kB / 1.062 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.8387, allocations: 0 / 1.062 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.8388, allocations: 0 / 1.062 GB, free: 7.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.8389, allocations: 15.98 kB / 1.062 GB, free: 7.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.8389, allocations: 8.031 kB / 1.062 GB, free: 7.895 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008017/0.8397, allocations: 307.1 kB / 1.062 GB, free: 7.59 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.8398, allocations: 19.98 kB / 1.062 GB, free: 7.57 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 (cluSiz[5],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],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0008448/0.8407, allocations: 467.2 kB / 1.063 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/0.8409, allocations: 149.6 kB / 1.063 GB, free: 6.957 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004826/0.8414, allocations: 148 kB / 1.063 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.8414, allocations: 3.984 kB / 1.063 GB, free: 6.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.8414, allocations: 7.938 kB / 1.063 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.8414, allocations: 0 / 1.063 GB, free: 6.789 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.8424, allocations: 0.7672 MB / 1.064 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.8425, allocations: 4 kB / 1.064 GB, free: 5.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.8425, allocations: 11.92 kB / 1.064 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.8426, allocations: 4.031 kB / 1.064 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.8426, allocations: 4 kB / 1.064 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.8426, allocations: 0 / 1.064 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8426, allocations: 3.938 kB / 1.064 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.8438, allocations: 1.076 MB / 1.065 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/0.8442, allocations: 222.7 kB / 1.065 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/0.8443, allocations: 0 / 1.065 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.8446, allocations: 11.98 kB / 1.065 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.858e-05/0.8447, allocations: 4 kB / 1.065 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.852e-05/0.8448, allocations: 15.97 kB / 1.065 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001895/0.8467, allocations: 1.298 MB / 1.066 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8467, allocations: 0 / 1.066 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002134/0.8488, allocations: 0.6365 MB / 1.067 GB, free: 2.621 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00298/0.8518, allocations: 0.6987 MB / 1.068 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.004143/0.856, allocations: 3.556 MB / 1.071 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.856, allocations: 0 / 1.071 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004027/0.8564, allocations: 339.8 kB / 1.072 GB, free: 14.03 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006921/0.8571, allocations: 57.62 kB / 1.072 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005157/0.8623, allocations: 3.323 MB / 1.075 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/0.8634, allocations: 1.239 MB / 1.076 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.8636, allocations: 27.41 kB / 1.076 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.8636, allocations: 0 / 1.076 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.0355/0.8991, allocations: 19.7 MB / 1.095 GB, free: 5.617 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches