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.00134/0.00134, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.001593/0.001593, allocations: 164.3 kB / 23.01 MB, free: 4.598 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.532/1.532, allocations: 177.2 MB / 203.4 MB, free: 8.984 MB / 190.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 2.859/2.859, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] 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.00209/0.00209, allocations: 63.89 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7758/0.7778, allocations: 181.8 MB / 1.187 GB, free: 16.2 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002158/0.78, allocations: 1.439 MB / 1.188 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.005444/0.7854, allocations: 3.844 MB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.712e-05/0.7855, allocations: 0 / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.7856, allocations: 14.55 kB / 1.192 GB, free: 12.83 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0002082/0.7858, allocations: 32.72 kB / 1.192 GB, free: 12.81 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.004113/0.7899, allocations: 1.595 MB / 1.193 GB, free: 12.21 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.7901, allocations: 94.83 kB / 1.194 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.7901, allocations: 3.391 kB / 1.194 GB, free: 12.18 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.7902, allocations: 51.72 kB / 1.194 GB, free: 12.16 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000236/0.7904, allocations: 155 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.7905, allocations: 14.34 kB / 1.194 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004044/0.7945, allocations: 2.394 MB / 1.196 GB, free: 11.49 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.7947, allocations: 268.5 kB / 1.196 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.7949, allocations: 215.4 kB / 1.197 GB, free: 11.3 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003105/0.7981, allocations: 2.142 MB / 1.199 GB, free: 10.68 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.7981, allocations: 0.9688 kB / 1.199 GB, free: 10.68 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7981, allocations: 4 kB / 1.199 GB, free: 10.67 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.7981, allocations: 0 / 1.199 GB, free: 10.67 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.01106/0.8091, allocations: 1.274 MB / 1.2 GB, free: 9.809 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.8092, allocations: 9.062 kB / 1.2 GB, free: 9.809 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.8096, allocations: 95.55 kB / 1.2 GB, free: 9.75 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.8099, allocations: 309.4 kB / 1.2 GB, free: 9.516 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.81, allocations: 8.906 kB / 1.2 GB, free: 9.512 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4e-05/0.81, allocations: 13.22 kB / 1.2 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.8104, allocations: 389.7 kB / 1.201 GB, free: 9.445 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8104, allocations: 0 / 1.201 GB, free: 9.445 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.8104, allocations: 1.812 kB / 1.201 GB, free: 9.445 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.8105, allocations: 1.656 kB / 1.201 GB, free: 9.445 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.8109, allocations: 431.6 kB / 1.201 GB, free: 9.441 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005421/0.8114, allocations: 0.5753 MB / 1.202 GB, free: 9.113 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005097/0.8119, allocations: 0.5609 MB / 1.202 GB, free: 9.055 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.8123, allocations: 332.8 kB / 1.203 GB, free: 9.035 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000683/0.8129, allocations: 133.8 kB / 1.203 GB, free: 9.023 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.8134, allocations: 409.9 kB / 1.203 GB, free: 8.941 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.8134, allocations: 4 kB / 1.203 GB, free: 8.938 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.001348/0.8147, allocations: 1.3 MB / 1.204 GB, free: 8.812 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.8147, allocations: 81.05 kB / 1.204 GB, free: 8.719 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.8159, allocations: 1.212 MB / 1.206 GB, free: 8.234 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.8159, allocations: 31.27 kB / 1.206 GB, free: 8.199 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.8161, allocations: 263.2 kB / 1.206 GB, free: 7.996 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.092e-05/0.8161, allocations: 26.23 kB / 1.206 GB, free: 7.977 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003225/0.8164, allocations: 358.9 kB / 1.206 GB, free: 7.871 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.779e-05/0.8165, allocations: 313.2 kB / 1.207 GB, free: 7.562 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.8177, allocations: 1.37 MB / 1.208 GB, free: 7.109 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.819, allocations: 1.504 MB / 1.209 GB, free: 6.586 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00709/0.8261, allocations: 3.557 MB / 1.213 GB, free: 4.742 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.8261, allocations: 0 / 1.213 GB, free: 4.742 MB / 1.076 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.00409/0.8302, allocations: 4.006 MB / 1.217 GB, free: 2.762 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.8302, allocations: 11.98 kB / 1.217 GB, free: 2.758 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.8302, allocations: 6.172 kB / 1.217 GB, free: 2.754 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.8303, allocations: 1.375 kB / 1.217 GB, free: 2.754 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001327/0.8304, allocations: 23.2 kB / 1.217 GB, free: 2.746 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8304, allocations: 5.156 kB / 1.217 GB, free: 2.742 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/0.831, allocations: 241.2 kB / 1.217 GB, free: 2.547 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/0.831, allocations: 30.95 kB / 1.217 GB, free: 2.539 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.0003181/0.8313, allocations: 248.6 kB / 1.217 GB, free: 2.41 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.8314, allocations: 78.22 kB / 1.217 GB, free: 2.348 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009998/0.8324, allocations: 0.9336 MB / 1.218 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.8324, allocations: 2.984 kB / 1.218 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8324, allocations: 0 / 1.218 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8324, allocations: 1.125 kB / 1.218 GB, free: 2.273 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.8329, allocations: 448.4 kB / 1.219 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.8329, allocations: 0 / 1.219 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.8329, allocations: 8.344 kB / 1.219 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.8329, allocations: 1.156 kB / 1.219 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.8329, allocations: 7.953 kB / 1.219 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.8329, allocations: 0 / 1.219 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8329, allocations: 1.25 kB / 1.219 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008906/0.8338, allocations: 1.002 MB / 1.22 GB, free: 1.906 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.335e-05/0.8339, allocations: 87.7 kB / 1.22 GB, free: 1.844 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.834, allocations: 5.953 kB / 1.22 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.8341, allocations: 4.438 kB / 1.22 GB, free: 1.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.8341, allocations: 9.797 kB / 1.22 GB, free: 1.836 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.8342, allocations: 12.8 kB / 1.22 GB, free: 1.836 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007479/0.8349, allocations: 0.6714 MB / 1.22 GB, free: 1.609 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.8349, allocations: 0 / 1.22 GB, free: 1.609 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00197/0.8369, allocations: 0.5856 MB / 1.221 GB, free: 1.5 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.001732/0.8386, allocations: 0.7112 MB / 1.222 GB, free: 1.23 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002005/0.8406, allocations: 1.997 MB / 1.224 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.8406, allocations: 0 / 1.224 GB, free: 0.6836 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.841, allocations: 335.4 kB / 1.224 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.8413, allocations: 37.67 kB / 1.224 GB, free: 0.6445 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.8434, allocations: 1.771 MB / 1.226 GB, free: 52 kB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.8438, allocations: 374.7 kB / 1.226 GB, free: 15.96 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0001389/0.8439, allocations: 37.75 kB / 1.226 GB, free: 15.95 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.844, allocations: 33.88 kB / 1.226 GB, free: 15.93 MB / 1.092 GB Notification: Performance of SimCode: time 5.61e-07/0.844, allocations: 0 / 1.226 GB, free: 15.93 MB / 1.092 GB Notification: Performance of Templates: time 0.02504/0.8691, allocations: 14.04 MB / 1.24 GB, free: 10.73 MB / 1.092 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 -s ida -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: 9.903913647984155]