Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_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.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.254/2.254, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001145/0.001145, allocations: 186.2 kB / 0.4902 GB, free: 2.328 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.557/1.557, allocations: 223.2 MB / 0.7992 GB, free: 14.78 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.001018/0.001018, allocations: 103.3 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003408/0.0003408, allocations: 8.406 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2122/0.4659, allocations: 173.5 MB / 1.399 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.4662, allocations: 115.9 kB / 1.399 GB, free: 11.91 MB / 0.9011 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.6993/1.166, allocations: 34.48 MB / 1.432 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.846e-06/1.166, allocations: 0 / 1.432 GB, free: 176.7 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 5.918e-05/1.166, allocations: 26.39 kB / 1.433 GB, free: 176.7 MB / 0.9167 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.004436/1.17, allocations: 1.912 MB / 1.434 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.17, allocations: 8.688 kB / 1.434 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005909/1.171, allocations: 182.8 kB / 1.435 GB, free: 175.5 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/1.173, allocations: 0.7836 MB / 1.435 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/1.173, allocations: 21.53 kB / 1.435 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.173, allocations: 46.98 kB / 1.435 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/1.173, allocations: 385.7 kB / 1.436 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/1.173, allocations: 4.469 kB / 1.436 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/1.173, allocations: 2.984 kB / 1.436 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/1.173, allocations: 1.469 kB / 1.436 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006058/1.174, allocations: 437.1 kB / 1.436 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/1.176, allocations: 1.203 MB / 1.437 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/1.177, allocations: 0.5643 MB / 1.438 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009131/1.177, allocations: 1.041 MB / 1.439 GB, free: 173.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/1.178, allocations: 407.3 kB / 1.439 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=8): time 2.364e-06/1.178, allocations: 3.781 kB / 1.439 GB, free: 173.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=8): time 0.002147/1.18, allocations: 1.374 MB / 1.441 GB, free: 173.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.091e-05/1.18, allocations: 80.92 kB / 1.441 GB, free: 173.3 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/1.183, allocations: 1.959 MB / 1.443 GB, free: 173 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/1.183, allocations: 48.25 kB / 1.443 GB, free: 173 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004989/1.184, allocations: 0.5482 MB / 1.443 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/1.184, allocations: 17.97 kB / 1.443 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.122e-05/1.184, allocations: 24.03 kB / 1.443 GB, free: 172.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001813/1.184, allocations: 446.8 kB / 1.444 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002887/1.187, allocations: 2.097 MB / 1.446 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003132/1.19, allocations: 2.278 MB / 1.448 GB, free: 172.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/1.194, allocations: 2.886 MB / 1.451 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/1.194, allocations: 0 / 1.451 GB, free: 171.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.008955/1.203, allocations: 6.129 MB / 1.457 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/1.203, allocations: 10.73 kB / 1.457 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001373/1.203, allocations: 57.88 kB / 1.457 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.025e-05/1.203, allocations: 3.688 kB / 1.457 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006229/1.203, allocations: 142.6 kB / 1.457 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/1.203, allocations: 0 / 1.457 GB, free: 170.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/1.205, allocations: 328.2 kB / 1.457 GB, free: 169.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/1.205, allocations: 137.1 kB / 1.457 GB, free: 169.8 MB / 0.9167 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,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],cluSiz[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 2 * 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.0006739/1.206, allocations: 497 kB / 1.458 GB, free: 169.7 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/1.206, allocations: 141.4 kB / 1.458 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009642/1.207, allocations: 1.014 MB / 1.459 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.207, allocations: 3.844 kB / 1.459 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/1.207, allocations: 0 / 1.459 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/1.207, allocations: 6.438 kB / 1.459 GB, free: 169.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008234/1.208, allocations: 0.7822 MB / 1.46 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/1.208, allocations: 3.938 kB / 1.46 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/1.208, allocations: 10.12 kB / 1.46 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/1.208, allocations: 0 / 1.46 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/1.208, allocations: 3.797 kB / 1.46 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.208, allocations: 6.469 kB / 1.46 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/1.208, allocations: 0 / 1.46 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000779/1.208, allocations: 1.099 MB / 1.461 GB, free: 169.1 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/1.209, allocations: 225.7 kB / 1.461 GB, free: 169 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001085/1.209, allocations: 3.938 kB / 1.461 GB, free: 169 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003194/1.209, allocations: 7.312 kB / 1.461 GB, free: 169 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/1.209, allocations: 7.75 kB / 1.461 GB, free: 169 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.105e-05/1.209, allocations: 16.16 kB / 1.461 GB, free: 169 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.00126/1.211, allocations: 1.305 MB / 1.462 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.2e-07/1.211, allocations: 0 / 1.462 GB, free: 168.8 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002673/1.213, allocations: 0.7476 MB / 1.463 GB, free: 168.6 MB / 0.9167 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 (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.002384/1.216, allocations: 0.7934 MB / 1.464 GB, free: 168.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002915/1.219, allocations: 3.424 MB / 1.467 GB, free: 168 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.219, allocations: 3.844 kB / 1.467 GB, free: 168 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002761/1.219, allocations: 334.4 kB / 1.468 GB, free: 168 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/1.219, allocations: 72.08 kB / 1.468 GB, free: 167.9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.223, allocations: 3.095 MB / 1.471 GB, free: 166.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006064/1.223, allocations: 1.267 MB / 1.472 GB, free: 166 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003896/1.224, allocations: 125.9 kB / 1.472 GB, free: 166 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/1.224, allocations: 70.16 kB / 1.472 GB, free: 166 MB / 0.9167 GB Notification: Performance of SimCode: time 4.3e-07/1.224, allocations: 4 kB / 1.472 GB, free: 166 MB / 0.9167 GB Notification: Performance of Templates: time 0.02501/1.249, allocations: 15.54 MB / 1.487 GB, free: 156.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches