Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 82.64 kB / 20.68 MB, free: 3.82 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 181 kB / 24.08 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9386/0.9386, allocations: 177.1 MB / 204.5 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.758/1.758, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|gFun_int",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.099e-05, allocations: 8.922 kB / 0.8121 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002919/0.00295, allocations: 1.471 MB / 0.8135 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006279/0.009229, allocations: 3.979 MB / 0.8174 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.384e-05/0.009313, allocations: 0 / 0.8174 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.00943, allocations: 15.86 kB / 0.8174 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002299/0.00966, allocations: 37.14 kB / 0.8175 GB, free: 11.87 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.003073/0.01273, allocations: 1.626 MB / 0.8191 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.01285, allocations: 96.23 kB / 0.8192 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.01289, allocations: 9.312 kB / 0.8192 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.598e-05/0.01296, allocations: 55.88 kB / 0.8192 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.01306, allocations: 53.17 kB / 0.8193 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.01307, allocations: 6.562 kB / 0.8193 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00238/0.01545, allocations: 2.427 MB / 0.8216 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001508/0.01561, allocations: 256 kB / 0.8219 GB, free: 7.375 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.01569, allocations: 119.4 kB / 0.822 GB, free: 7.258 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002112/0.0178, allocations: 2.341 MB / 0.8243 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.0178, allocations: 0 / 0.8243 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01781, allocations: 0 / 0.8243 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.01781, allocations: 4 kB / 0.8243 GB, free: 4.91 MB / 0.7761 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.001196/0.01901, allocations: 1.38 MB / 0.8256 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.01904, allocations: 8.031 kB / 0.8256 GB, free: 3.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002275/0.01927, allocations: 93.61 kB / 0.8257 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.01949, allocations: 293.3 kB / 0.826 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.01951, allocations: 9.359 kB / 0.826 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.01953, allocations: 12.36 kB / 0.826 GB, free: 3.047 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.01974, allocations: 231.2 kB / 0.8263 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01974, allocations: 192 / 0.8263 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.01975, allocations: 9.484 kB / 0.8263 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.01976, allocations: 3.938 kB / 0.8263 GB, free: 2.793 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.01988, allocations: 196.9 kB / 0.8265 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003134/0.02019, allocations: 489.1 kB / 0.8269 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.02037, allocations: 301.9 kB / 0.8272 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.47e-05/0.02047, allocations: 164 kB / 0.8274 GB, free: 1.605 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.02075, allocations: 143.8 kB / 0.8275 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001795/0.02093, allocations: 240.2 kB / 0.8277 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.02093, allocations: 0 / 0.8277 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0006898/0.02162, allocations: 0.7585 MB / 0.8285 GB, free: 460 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.02166, allocations: 85.09 kB / 0.8286 GB, free: 356 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006144/0.02227, allocations: 1.196 MB / 0.8297 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.0223, allocations: 29.7 kB / 0.8298 GB, free: 15.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.02244, allocations: 356.4 kB / 0.8301 GB, free: 14.75 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.02247, allocations: 24.42 kB / 0.8301 GB, free: 14.72 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.02271, allocations: 422.2 kB / 0.8305 GB, free: 14.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.02281, allocations: 497.4 kB / 0.831 GB, free: 13.81 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.0231, allocations: 490.5 kB / 0.8315 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.02347, allocations: 0.6607 MB / 0.8321 GB, free: 12.66 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001501/0.02497, allocations: 2.258 MB / 0.8343 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02497, allocations: 0 / 0.8343 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00284/0.02781, allocations: 3.844 MB / 0.8381 GB, free: 6.43 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.02784, allocations: 8 kB / 0.8381 GB, free: 6.422 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.02785, allocations: 3.984 kB / 0.8381 GB, free: 6.418 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.02787, allocations: 4 kB / 0.8381 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.02797, allocations: 19.98 kB / 0.8381 GB, free: 6.395 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.02797, allocations: 8 kB / 0.8381 GB, free: 6.387 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002805/0.02826, allocations: 257.3 kB / 0.8384 GB, free: 6.133 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.02829, allocations: 19.98 kB / 0.8384 GB, free: 6.113 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[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.0001464/0.02843, allocations: 168.5 kB / 0.8385 GB, free: 5.938 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.02847, allocations: 71.34 kB / 0.8386 GB, free: 5.867 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004583/0.02893, allocations: 0.5692 MB / 0.8392 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.02893, allocations: 0 / 0.8392 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/0.02894, allocations: 0 / 0.8392 GB, free: 5.285 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/0.02894, allocations: 7.875 kB / 0.8392 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.02918, allocations: 370.8 kB / 0.8395 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.02919, allocations: 0 / 0.8395 GB, free: 4.891 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.02922, allocations: 4 kB / 0.8395 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.02922, allocations: 0 / 0.8395 GB, free: 4.887 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.02923, allocations: 7.984 kB / 0.8395 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.02923, allocations: 0 / 0.8395 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.02923, allocations: 0 / 0.8395 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000393/0.02963, allocations: 0.6571 MB / 0.8402 GB, free: 4.195 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.02968, allocations: 83.28 kB / 0.8402 GB, free: 4.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.02971, allocations: 3.984 kB / 0.8403 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.02977, allocations: 8 kB / 0.8403 GB, free: 4.102 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.0298, allocations: 11.92 kB / 0.8403 GB, free: 4.09 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.59e-05/0.02982, allocations: 11.98 kB / 0.8403 GB, free: 4.078 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002873/0.03011, allocations: 0.5281 MB / 0.8408 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.03011, allocations: 0 / 0.8408 GB, free: 3.543 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001071/0.03118, allocations: 0.5884 MB / 0.8414 GB, free: 2.953 MB / 0.7917 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.001222/0.0324, allocations: 0.7957 MB / 0.8421 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0008683/0.03327, allocations: 1.088 MB / 0.8432 GB, free: 1.07 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.03327, allocations: 4 kB / 0.8432 GB, free: 1.066 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.03338, allocations: 171.5 kB / 0.8434 GB, free: 0.8945 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.03359, allocations: 40.84 kB / 0.8434 GB, free: 0.8555 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.03465, allocations: 1.436 MB / 0.8448 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.03475, allocations: 194.9 kB / 0.845 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 7.287e-05/0.03482, allocations: 36.44 kB / 0.845 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.03494, allocations: 98.17 kB / 0.8451 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of SimCode: time 8.71e-07/0.03494, allocations: 0 / 0.8451 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of Templates: time 0.01727/0.05221, allocations: 15.75 MB / 0.8605 GB, free: 15.42 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.401138267014176]