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_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.001537/0.001537, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002061/0.002061, allocations: 219.6 kB / 23.01 MB, free: 4.609 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.497/1.497, allocations: 230.6 MB / 256.8 MB, free: 8.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.314/3.314, allocations: 0.505 GB / 0.8108 GB, free: 22.1 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002077/0.002077, allocations: 72.53 kB / 1.178 GB, free: 16.96 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.396, allocations: 180.2 MB / 1.354 GB, free: 7.992 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002887/0.3989, allocations: 1.46 MB / 1.356 GB, free: 6.523 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007174/0.406, allocations: 4.287 MB / 1.36 GB, free: 2.219 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.939e-05/0.4061, allocations: 4 kB / 1.36 GB, free: 2.215 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001306/0.4063, allocations: 11.86 kB / 1.36 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.4065, allocations: 35.78 kB / 1.36 GB, free: 2.168 MB / 1.045 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.004717/0.4112, allocations: 1.616 MB / 1.361 GB, free: 0.5508 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.4114, allocations: 87.75 kB / 1.361 GB, free: 476 kB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.101e-05/0.4115, allocations: 3.984 kB / 1.361 GB, free: 472 kB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.4116, allocations: 55.77 kB / 1.362 GB, free: 416 kB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.4119, allocations: 147.6 kB / 1.362 GB, free: 268 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.068e-05/0.4119, allocations: 16 kB / 1.362 GB, free: 252 kB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.4165, allocations: 2.648 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.4168, allocations: 275.8 kB / 1.365 GB, free: 13.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002882/0.4171, allocations: 278.3 kB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003726/0.4208, allocations: 2.157 MB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4208, allocations: 7.938 kB / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.743e-06/0.4208, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.547e-05/0.4208, allocations: 0 / 1.367 GB, free: 10.88 MB / 1.061 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.009293/0.4301, allocations: 1.272 MB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.4302, allocations: 8.031 kB / 1.368 GB, free: 9.562 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/0.4306, allocations: 96.25 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.4311, allocations: 303.2 kB / 1.369 GB, free: 9.137 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.4311, allocations: 8.375 kB / 1.369 GB, free: 9.129 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.4311, allocations: 4.375 kB / 1.369 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005512/0.4317, allocations: 399.5 kB / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4317, allocations: 0 / 1.369 GB, free: 8.723 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.4317, allocations: 3.938 kB / 1.369 GB, free: 8.719 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.4317, allocations: 4 kB / 1.369 GB, free: 8.715 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005118/0.4322, allocations: 435.7 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007271/0.433, allocations: 0.6128 MB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.4336, allocations: 0.5595 MB / 1.371 GB, free: 7.055 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003717/0.4339, allocations: 341.6 kB / 1.371 GB, free: 6.715 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007437/0.4347, allocations: 131.9 kB / 1.371 GB, free: 6.586 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.4352, allocations: 404.8 kB / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.4352, allocations: 0 / 1.371 GB, free: 6.172 MB / 1.061 GB Notification: Performance of matching and sorting (n=8): time 0.001627/0.4368, allocations: 1.301 MB / 1.373 GB, free: 4.863 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.4369, allocations: 77.11 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.4383, allocations: 1.219 MB / 1.374 GB, free: 3.535 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.441e-05/0.4383, allocations: 33.7 kB / 1.374 GB, free: 3.496 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.4386, allocations: 265.9 kB / 1.374 GB, free: 3.23 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.4386, allocations: 23.8 kB / 1.374 GB, free: 3.207 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.439, allocations: 347.6 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4391, allocations: 326 kB / 1.375 GB, free: 2.539 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/0.4406, allocations: 1.369 MB / 1.376 GB, free: 1.168 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.4422, allocations: 1.501 MB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007555/0.4497, allocations: 3.56 MB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.4497, allocations: 0 / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005077/0.4548, allocations: 4.015 MB / 1.385 GB, free: 7.953 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4549, allocations: 4 kB / 1.385 GB, free: 7.949 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.657e-05/0.4549, allocations: 7.984 kB / 1.385 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4549, allocations: 0 / 1.385 GB, free: 7.941 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.455, allocations: 15.98 kB / 1.385 GB, free: 7.926 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.4551, allocations: 4.062 kB / 1.385 GB, free: 7.922 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.4556, allocations: 245.3 kB / 1.385 GB, free: 7.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.4557, allocations: 27.92 kB / 1.385 GB, free: 7.652 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.0003514/0.456, allocations: 241.6 kB / 1.386 GB, free: 7.406 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.247e-05/0.4561, allocations: 75.28 kB / 1.386 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/0.4572, allocations: 0.9398 MB / 1.387 GB, free: 6.379 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4572, allocations: 8.031 kB / 1.387 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4572, allocations: 0 / 1.387 GB, free: 6.371 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.4572, allocations: 3.984 kB / 1.387 GB, free: 6.367 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/0.4577, allocations: 475.9 kB / 1.387 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4577, allocations: 0 / 1.387 GB, free: 5.863 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.105e-05/0.4578, allocations: 7.938 kB / 1.387 GB, free: 5.855 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4578, allocations: 0 / 1.387 GB, free: 5.855 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.4578, allocations: 15.98 kB / 1.387 GB, free: 5.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4578, allocations: 0 / 1.387 GB, free: 5.84 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4578, allocations: 0 / 1.387 GB, free: 5.84 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4589, allocations: 1.002 MB / 1.388 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.459, allocations: 83.28 kB / 1.388 GB, free: 4.734 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.875e-05/0.459, allocations: 3.984 kB / 1.388 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.4592, allocations: 4 kB / 1.388 GB, free: 4.727 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.162e-05/0.4592, allocations: 15.98 kB / 1.388 GB, free: 4.711 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.4592, allocations: 7.984 kB / 1.388 GB, free: 4.703 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008003/0.46, allocations: 0.6728 MB / 1.389 GB, free: 4.023 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.46, allocations: 0 / 1.389 GB, free: 4.023 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001707/0.4618, allocations: 0.5845 MB / 1.389 GB, free: 3.438 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.001895/0.4636, allocations: 0.6952 MB / 1.39 GB, free: 2.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.466, allocations: 2.001 MB / 1.392 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.466, allocations: 0 / 1.392 GB, free: 0.7344 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.4664, allocations: 331.8 kB / 1.392 GB, free: 420 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.4667, allocations: 50.34 kB / 1.392 GB, free: 368 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0024/0.4691, allocations: 1.807 MB / 1.394 GB, free: 14.51 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.4698, allocations: 0.9679 MB / 1.395 GB, free: 13.52 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.4699, allocations: 35.41 kB / 1.395 GB, free: 13.48 MB / 1.092 GB Notification: Performance of SimCode: time 7.72e-07/0.4699, allocations: 4 kB / 1.395 GB, free: 13.48 MB / 1.092 GB Notification: Performance of Templates: time 0.02506/0.4949, allocations: 14.03 MB / 1.409 GB, free: 15.45 MB / 1.108 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.59569243999431]