Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01008/0.01008, allocations: 222.5 kB / 15.17 MB, free: 6.008 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001068/0.001068, allocations: 184.5 kB / 16.07 MB, free: 5.859 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.505/3.505, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.711/3.711, allocations: 472.3 MB / 0.9018 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005013/0.0005014, allocations: 22.42 kB / 1.008 GB, free: 138.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1215/0.122, allocations: 98.72 MB / 1.104 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001138/0.1232, allocations: 1.107 MB / 1.105 GB, free: 41.03 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003881/0.1271, allocations: 2.833 MB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.762e-05/0.1271, allocations: 0 / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.624e-05/0.1272, allocations: 7.938 kB / 1.108 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.1274, allocations: 27.83 kB / 1.108 GB, free: 38.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.1293, allocations: 0.7542 MB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.508e-05/0.1294, allocations: 91.72 kB / 1.109 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.366e-05/0.1295, allocations: 2.969 kB / 1.109 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.81e-05/0.1295, allocations: 39.84 kB / 1.109 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002794/0.1298, allocations: 239.7 kB / 1.109 GB, free: 37.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.332e-05/0.1299, allocations: 16 kB / 1.109 GB, free: 37.04 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00186/0.1317, allocations: 1.29 MB / 1.11 GB, free: 35.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0005958/0.1324, allocations: 0.714 MB / 1.111 GB, free: 35.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001335/0.1325, allocations: 180.9 kB / 1.111 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.1337, allocations: 1.177 MB / 1.112 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.119e-06/0.1337, allocations: 0 / 1.112 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.764e-06/0.1338, allocations: 0 / 1.112 GB, free: 33.69 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.1338, allocations: 4 kB / 1.112 GB, free: 33.68 MB / 0.6042 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.008787/0.1426, allocations: 1.601 MB / 1.114 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.1426, allocations: 10.55 kB / 1.114 GB, free: 32.02 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.143, allocations: 143.9 kB / 1.114 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004952/0.1435, allocations: 0.4971 MB / 1.115 GB, free: 31.31 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1436, allocations: 7.984 kB / 1.115 GB, free: 31.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.613e-05/0.1436, allocations: 10.22 kB / 1.115 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000419/0.144, allocations: 390.3 kB / 1.115 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.286e-06/0.1441, allocations: 0 / 1.115 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.1441, allocations: 3.953 kB / 1.115 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-06/0.1441, allocations: 0 / 1.115 GB, free: 30.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.1445, allocations: 435.7 kB / 1.115 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006688/0.1452, allocations: 0.8107 MB / 1.116 GB, free: 29.6 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.1457, allocations: 0.5556 MB / 1.117 GB, free: 29.03 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.1461, allocations: 343.3 kB / 1.117 GB, free: 28.69 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008158/0.1469, allocations: 1.035 MB / 1.118 GB, free: 27.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003914/0.1473, allocations: 403.8 kB / 1.118 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 2.75e-06/0.1473, allocations: 0 / 1.118 GB, free: 27.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001321/0.1486, allocations: 1.349 MB / 1.12 GB, free: 25.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.1487, allocations: 81.11 kB / 1.12 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001826/0.1505, allocations: 1.839 MB / 1.122 GB, free: 23.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.1506, allocations: 29.7 kB / 1.122 GB, free: 23.65 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003305/0.1509, allocations: 478.3 kB / 1.122 GB, free: 23.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.151, allocations: 19.75 kB / 1.122 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.151, allocations: 4 kB / 1.122 GB, free: 23.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1511, allocations: 412.4 kB / 1.123 GB, free: 22.75 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.1525, allocations: 1.506 MB / 1.124 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.1539, allocations: 1.656 MB / 1.126 GB, free: 19.58 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001628/0.1556, allocations: 2.039 MB / 1.128 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.23e-06/0.1556, allocations: 2.938 kB / 1.128 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004652/0.1603, allocations: 4.3 MB / 1.132 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1603, allocations: 8 kB / 1.132 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.1603, allocations: 0 / 1.132 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1603, allocations: 0 / 1.132 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1605, allocations: 27.16 kB / 1.132 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.378e-06/0.1605, allocations: 4 kB / 1.132 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005842/0.1611, allocations: 228.3 kB / 1.132 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.836e-05/0.1612, allocations: 27.92 kB / 1.132 GB, free: 12.9 MB / 0.6042 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * 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.0004679/0.1617, allocations: 361.6 kB / 1.132 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.875e-05/0.1618, allocations: 122 kB / 1.133 GB, free: 12.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.1621, allocations: 155.1 kB / 1.133 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.484e-06/0.1622, allocations: 0 / 1.133 GB, free: 12.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.257e-06/0.1622, allocations: 6.953 kB / 1.133 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-06/0.1622, allocations: 4 kB / 1.133 GB, free: 12.25 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.1628, allocations: 0.6717 MB / 1.133 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-06/0.1628, allocations: 0 / 1.133 GB, free: 11.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.391e-05/0.1629, allocations: 7.984 kB / 1.133 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.903e-06/0.1629, allocations: 0 / 1.133 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.1629, allocations: 4 kB / 1.133 GB, free: 11.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.576e-06/0.1629, allocations: 3.984 kB / 1.133 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.235e-06/0.163, allocations: 1.75 kB / 1.133 GB, free: 11.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.1639, allocations: 1.066 MB / 1.134 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001541/0.1641, allocations: 195.1 kB / 1.135 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.1642, allocations: 7.984 kB / 1.135 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002795/0.1645, allocations: 7.5 kB / 1.135 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.1645, allocations: 3.984 kB / 1.135 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.1646, allocations: 11.98 kB / 1.135 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.00125/0.1659, allocations: 1.108 MB / 1.136 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.47e-07/0.1659, allocations: 0 / 1.136 GB, free: 9.043 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001044/0.1669, allocations: 423.9 kB / 1.136 GB, free: 8.629 MB / 0.6042 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 (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.001308/0.1682, allocations: 493.2 kB / 1.137 GB, free: 8.148 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002383/0.1706, allocations: 2.643 MB / 1.139 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.962e-06/0.1707, allocations: 0 / 1.139 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.171, allocations: 343.7 kB / 1.139 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.1715, allocations: 44.42 kB / 1.14 GB, free: 5.117 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.1746, allocations: 2.713 MB / 1.142 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006854/0.1753, allocations: 1.173 MB / 1.143 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002171/0.1755, allocations: 40.12 kB / 1.143 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.1757, allocations: 27.36 kB / 1.143 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of SimCode: time 1.488e-06/0.1757, allocations: 0 / 1.143 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of Templates: time 0.02638/0.2021, allocations: 9.53 MB / 1.153 GB, free: 8.195 MB / 0.6198 GB