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.001863/0.001863, allocations: 77.23 kB / 19.76 MB, free: 2.035 MB / 14.72 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.00213/0.00213, allocations: 160.7 kB / 23.01 MB, free: 4.938 MB / 14.72 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 1.481/1.481, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.83/2.83, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002319/0.002319, allocations: 71.89 kB / 0.982 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.047, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002288/1.05, allocations: 1.434 MB / 1.155 GB, free: 32.36 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005425/1.055, allocations: 3.854 MB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.932e-05/1.055, allocations: 0 / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/1.055, allocations: 17.52 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002498/1.056, allocations: 27.55 kB / 1.159 GB, free: 29.96 MB / 1.076 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.003756/1.059, allocations: 1.617 MB / 1.161 GB, free: 29.33 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000145/1.06, allocations: 89.17 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/1.06, allocations: 6.234 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.142e-05/1.06, allocations: 50.3 kB / 1.161 GB, free: 29.28 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/1.06, allocations: 148.8 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/1.06, allocations: 14.59 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/1.063, allocations: 2.39 MB / 1.163 GB, free: 28.62 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/1.063, allocations: 271.8 kB / 1.164 GB, free: 28.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/1.063, allocations: 223.2 kB / 1.164 GB, free: 28.43 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/1.066, allocations: 2.145 MB / 1.166 GB, free: 27.8 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.066, allocations: 0 / 1.166 GB, free: 27.8 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.383e-06/1.066, allocations: 2.625 kB / 1.166 GB, free: 27.8 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.838e-06/1.066, allocations: 0 / 1.166 GB, free: 27.8 MB / 1.076 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.009896/1.075, allocations: 1.283 MB / 1.167 GB, free: 26.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.076, allocations: 8.438 kB / 1.167 GB, free: 26.93 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003788/1.076, allocations: 93.75 kB / 1.167 GB, free: 26.88 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/1.076, allocations: 313 kB / 1.168 GB, free: 26.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/1.076, allocations: 2.875 kB / 1.168 GB, free: 26.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/1.076, allocations: 9.578 kB / 1.168 GB, free: 26.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/1.077, allocations: 389.6 kB / 1.168 GB, free: 26.58 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/1.077, allocations: 6.719 kB / 1.168 GB, free: 26.57 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/1.077, allocations: 4 kB / 1.168 GB, free: 26.57 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.077, allocations: 0 / 1.168 GB, free: 26.57 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/1.077, allocations: 434.9 kB / 1.168 GB, free: 26.57 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004875/1.078, allocations: 0.568 MB / 1.169 GB, free: 26.24 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/1.079, allocations: 0.5591 MB / 1.17 GB, free: 26.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000353/1.079, allocations: 335.5 kB / 1.17 GB, free: 26.16 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006919/1.08, allocations: 137.4 kB / 1.17 GB, free: 26.15 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/1.08, allocations: 409.9 kB / 1.17 GB, free: 26.07 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/1.08, allocations: 0 / 1.17 GB, free: 26.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001499/1.081, allocations: 1.295 MB / 1.172 GB, free: 25.95 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/1.082, allocations: 85.36 kB / 1.172 GB, free: 25.85 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/1.083, allocations: 1.218 MB / 1.173 GB, free: 25.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/1.083, allocations: 32.39 kB / 1.173 GB, free: 25.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/1.083, allocations: 264.5 kB / 1.173 GB, free: 25.12 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/1.083, allocations: 20.45 kB / 1.173 GB, free: 25.1 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003995/1.084, allocations: 355.9 kB / 1.174 GB, free: 25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.048e-05/1.084, allocations: 308.9 kB / 1.174 GB, free: 24.7 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001552/1.085, allocations: 1.371 MB / 1.175 GB, free: 24.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/1.087, allocations: 1.502 MB / 1.177 GB, free: 23.72 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008446/1.096, allocations: 3.562 MB / 1.18 GB, free: 21.87 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/1.096, allocations: 3.938 kB / 1.18 GB, free: 21.87 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004983/1.101, allocations: 4.014 MB / 1.184 GB, free: 19.88 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/1.101, allocations: 8.906 kB / 1.184 GB, free: 19.88 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/1.101, allocations: 7.297 kB / 1.184 GB, free: 19.87 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/1.101, allocations: 1.188 kB / 1.184 GB, free: 19.87 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/1.101, allocations: 19.59 kB / 1.184 GB, free: 19.87 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/1.101, allocations: 1.062 kB / 1.184 GB, free: 19.87 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006741/1.102, allocations: 241.1 kB / 1.184 GB, free: 19.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.305e-05/1.102, allocations: 27 kB / 1.184 GB, free: 19.67 MB / 1.076 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 (cluSiz[1],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.0003647/1.102, allocations: 238.8 kB / 1.185 GB, free: 19.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/1.102, allocations: 72 kB / 1.185 GB, free: 19.49 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/1.103, allocations: 0.9385 MB / 1.186 GB, free: 19.41 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.103, allocations: 0.9688 kB / 1.186 GB, free: 19.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/1.103, allocations: 5.906 kB / 1.186 GB, free: 19.41 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/1.103, allocations: 1.25 kB / 1.186 GB, free: 19.41 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/1.104, allocations: 444.2 kB / 1.186 GB, free: 19.2 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.104, allocations: 4.703 kB / 1.186 GB, free: 19.2 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.663e-05/1.104, allocations: 7.156 kB / 1.186 GB, free: 19.2 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.104, allocations: 5 kB / 1.186 GB, free: 19.2 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/1.104, allocations: 12.12 kB / 1.186 GB, free: 19.19 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/1.104, allocations: 0 / 1.186 GB, free: 19.19 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.104, allocations: 1.188 kB / 1.186 GB, free: 19.19 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/1.105, allocations: 1 MB / 1.187 GB, free: 19.04 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.44e-05/1.105, allocations: 77.8 kB / 1.187 GB, free: 18.98 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/1.105, allocations: 9.719 kB / 1.187 GB, free: 18.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/1.105, allocations: 5.859 kB / 1.187 GB, free: 18.98 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/1.105, allocations: 5.531 kB / 1.187 GB, free: 18.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.44e-05/1.105, allocations: 13.67 kB / 1.187 GB, free: 18.98 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009313/1.106, allocations: 0.6755 MB / 1.188 GB, free: 18.75 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.106, allocations: 0 / 1.188 GB, free: 18.75 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0023/1.109, allocations: 0.5906 MB / 1.188 GB, free: 18.63 MB / 1.076 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.002088/1.111, allocations: 0.7068 MB / 1.189 GB, free: 18.37 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002617/1.113, allocations: 2.002 MB / 1.191 GB, free: 17.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.113, allocations: 0 / 1.191 GB, free: 17.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0004554/1.114, allocations: 331.5 kB / 1.191 GB, free: 17.81 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/1.114, allocations: 40.22 kB / 1.191 GB, free: 17.78 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/1.117, allocations: 1.777 MB / 1.193 GB, free: 17.18 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004825/1.117, allocations: 373.4 kB / 1.193 GB, free: 17.08 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001358/1.117, allocations: 37.44 kB / 1.193 GB, free: 17.07 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.117, allocations: 26.59 kB / 1.193 GB, free: 17.06 MB / 1.076 GB Notification: Performance of SimCode: time 7.52e-07/1.117, allocations: 3.938 kB / 1.193 GB, free: 17.06 MB / 1.076 GB Notification: Performance of Templates: time 0.02985/1.147, allocations: 14.05 MB / 1.207 GB, free: 15.86 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.534409509971738]