Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 387.1 MB / 399.7 MB, free: 9.426 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.001024/0.001024, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.536/1.536, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.000875/0.0008752, allocations: 106 kB / 0.9267 GB, free: 13.95 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.369e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.141/1.447, allocations: 164.2 MB / 1.373 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.447, allocations: 110.9 kB / 1.373 GB, free: 18.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.09681/1.544, allocations: 25.35 MB / 1.398 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.543e-06/1.544, allocations: 0 / 1.398 GB, free: 25.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.828e-05/1.544, allocations: 20 kB / 1.398 GB, free: 25.3 MB / 0.8386 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.00235/1.547, allocations: 1.346 MB / 1.399 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/1.547, allocations: 8.031 kB / 1.399 GB, free: 23.97 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004046/1.547, allocations: 154 kB / 1.399 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009628/1.548, allocations: 0.6544 MB / 1.4 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/1.548, allocations: 23.06 kB / 1.4 GB, free: 23.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.88e-05/1.548, allocations: 40.5 kB / 1.4 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000343/1.549, allocations: 388.7 kB / 1.4 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/1.549, allocations: 0 / 1.4 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.549, allocations: 0 / 1.4 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/1.549, allocations: 4 kB / 1.4 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/1.549, allocations: 427 kB / 1.401 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009132/1.55, allocations: 0.9865 MB / 1.402 GB, free: 21.44 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003821/1.55, allocations: 0.5587 MB / 1.402 GB, free: 20.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002371/1.551, allocations: 336.3 kB / 1.402 GB, free: 20.54 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009729/1.552, allocations: 1.029 MB / 1.403 GB, free: 19.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003017/1.552, allocations: 403.3 kB / 1.404 GB, free: 18.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/1.552, allocations: 3.938 kB / 1.404 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0008641/1.553, allocations: 1.017 MB / 1.405 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/1.553, allocations: 85.09 kB / 1.405 GB, free: 17.78 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00143/1.554, allocations: 1.616 MB / 1.407 GB, free: 16.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/1.554, allocations: 43.52 kB / 1.407 GB, free: 16.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003363/1.555, allocations: 0.4927 MB / 1.407 GB, free: 16.1 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/1.555, allocations: 19.62 kB / 1.407 GB, free: 16.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.635e-05/1.555, allocations: 19.62 kB / 1.407 GB, free: 16.08 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001729/1.555, allocations: 408.7 kB / 1.407 GB, free: 15.72 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/1.557, allocations: 1.461 MB / 1.409 GB, free: 14.68 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/1.558, allocations: 1.608 MB / 1.41 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002127/1.561, allocations: 1.86 MB / 1.412 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.561, allocations: 0 / 1.412 GB, free: 12.06 MB / 0.8386 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005488/1.566, allocations: 4.013 MB / 1.416 GB, free: 8.883 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/1.566, allocations: 4 kB / 1.416 GB, free: 8.879 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-05/1.566, allocations: 20 kB / 1.416 GB, free: 8.859 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/1.566, allocations: 4 kB / 1.416 GB, free: 8.855 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/1.567, allocations: 150.2 kB / 1.416 GB, free: 8.715 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/1.567, allocations: 4 kB / 1.416 GB, free: 8.711 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/1.568, allocations: 242.7 kB / 1.417 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/1.568, allocations: 98.19 kB / 1.417 GB, free: 8.398 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001632/1.568, allocations: 127.7 kB / 1.417 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/1.569, allocations: 126 kB / 1.417 GB, free: 8.152 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001191/1.57, allocations: 1.001 MB / 1.418 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.57, allocations: 0 / 1.418 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/1.57, allocations: 0 / 1.418 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.57, allocations: 0 / 1.418 GB, free: 7.176 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007726/1.571, allocations: 0.6864 MB / 1.419 GB, free: 6.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.571, allocations: 3.984 kB / 1.419 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.204e-05/1.571, allocations: 12.03 kB / 1.419 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/1.571, allocations: 3.938 kB / 1.419 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/1.571, allocations: 7.984 kB / 1.419 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.571, allocations: 0 / 1.419 GB, free: 6.535 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.571, allocations: 4 kB / 1.419 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000952/1.572, allocations: 1.062 MB / 1.42 GB, free: 5.453 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.572, allocations: 214.3 kB / 1.42 GB, free: 5.227 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.061e-05/1.572, allocations: 4 kB / 1.42 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003235/1.572, allocations: 3.984 kB / 1.42 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/1.572, allocations: 4 kB / 1.42 GB, free: 5.215 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.043e-05/1.572, allocations: 15.97 kB / 1.42 GB, free: 5.199 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001278/1.574, allocations: 1.091 MB / 1.421 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.574, allocations: 0 / 1.421 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001915/1.576, allocations: 0.5267 MB / 1.421 GB, free: 3.766 MB / 0.8386 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) * 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.001417/1.577, allocations: 0.5659 MB / 1.422 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002051/1.579, allocations: 2.502 MB / 1.424 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.579, allocations: 0 / 1.424 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/1.579, allocations: 334.9 kB / 1.425 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/1.58, allocations: 60.67 kB / 1.425 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/1.582, allocations: 2.097 MB / 1.427 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006902/1.583, allocations: 1.175 MB / 1.428 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003787/1.583, allocations: 126.3 kB / 1.428 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001713/1.583, allocations: 76.5 kB / 1.428 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of SimCode: time 7.71e-07/1.583, allocations: 0 / 1.428 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of Templates: time 0.02101/1.604, allocations: 11.59 MB / 1.44 GB, free: 2.152 MB / 0.8542 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches