Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadModel(Buildings): time 3.784/3.784, allocations: 433.4 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.214e-05, allocations: 4 kB / 0.5326 GB, free: 1.824 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4872/0.4872, allocations: 98.71 MB / 0.629 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.6971, allocations: 143.2 MB / 0.7688 GB, free: 304 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/0.6975, allocations: 115.9 kB / 0.7689 GB, free: 188 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1397/0.8373, allocations: 29.43 MB / 0.7977 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.427e-06/0.8373, allocations: 0 / 0.7977 GB, free: 2.652 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.132e-05/0.8373, allocations: 16 kB / 0.7977 GB, free: 2.637 MB / 0.6667 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.00215/0.8395, allocations: 1.048 MB / 0.7987 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.8396, allocations: 16.02 kB / 0.7987 GB, free: 1.523 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000436/0.84, allocations: 98.66 kB / 0.7988 GB, free: 1.426 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008529/0.8409, allocations: 468.8 kB / 0.7993 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.221e-06/0.8409, allocations: 0 / 0.7993 GB, free: 0.918 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.886e-05/0.841, allocations: 24 kB / 0.7993 GB, free: 0.8945 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004868/0.8415, allocations: 415.8 kB / 0.7997 GB, free: 500 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.842, allocations: 391.1 kB / 0.8 GB, free: 96 kB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.231e-06/0.842, allocations: 0 / 0.8 GB, free: 96 kB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.842, allocations: 3.953 kB / 0.8 GB, free: 92 kB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-06/0.8421, allocations: 0 / 0.8 GB, free: 92 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4295/1.272, allocations: 0.7153 MB / 0.8007 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008515/1.272, allocations: 0.5544 MB / 0.8013 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/1.273, allocations: 328.3 kB / 0.8016 GB, free: 152.7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009081/1.274, allocations: 1.036 MB / 0.8026 GB, free: 151.6 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004674/1.274, allocations: 394.5 kB / 0.803 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=8): time 3.976e-06/1.274, allocations: 0 / 0.803 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=8): time 0.0013/1.276, allocations: 0.9715 MB / 0.8039 GB, free: 151.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/1.276, allocations: 81.77 kB / 0.804 GB, free: 151.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/1.277, allocations: 1.065 MB / 0.8051 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.02e-05/1.277, allocations: 27.33 kB / 0.8051 GB, free: 151.1 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002486/1.278, allocations: 284 kB / 0.8054 GB, free: 151 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/1.278, allocations: 18.78 kB / 0.8054 GB, free: 151 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.356e-05/1.278, allocations: 1.375 kB / 0.8054 GB, free: 151 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.278, allocations: 429.9 kB / 0.8058 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/1.28, allocations: 1.187 MB / 0.8069 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001768/1.281, allocations: 1.331 MB / 0.8082 GB, free: 150.7 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/1.284, allocations: 1.583 MB / 0.8098 GB, free: 150.3 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.385e-06/1.284, allocations: 1.969 kB / 0.8098 GB, free: 150.3 MB / 0.6667 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005139/1.289, allocations: 3.387 MB / 0.8131 GB, free: 149 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/1.289, allocations: 3.906 kB / 0.8131 GB, free: 149 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/1.289, allocations: 4.156 kB / 0.8131 GB, free: 149 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.3e-05/1.289, allocations: 5.625 kB / 0.8131 GB, free: 149 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/1.29, allocations: 144.9 kB / 0.8132 GB, free: 149 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1.29, allocations: 3.938 kB / 0.8133 GB, free: 149 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000757/1.291, allocations: 233.2 kB / 0.8135 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/1.291, allocations: 55.41 kB / 0.8135 GB, free: 148.9 MB / 0.6667 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.000129/1.291, allocations: 124.6 kB / 0.8136 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.582e-05/1.291, allocations: 70.25 kB / 0.8137 GB, free: 148.8 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/1.292, allocations: 0.9371 MB / 0.8146 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.851e-06/1.292, allocations: 0 / 0.8146 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.498e-06/1.292, allocations: 4.328 kB / 0.8146 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.292, allocations: 3.469 kB / 0.8146 GB, free: 148.7 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006125/1.293, allocations: 496.1 kB / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.79e-06/1.293, allocations: 0 / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/1.293, allocations: 9.641 kB / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.105e-06/1.293, allocations: 3.953 kB / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/1.293, allocations: 3.984 kB / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/1.293, allocations: 6.781 kB / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.921e-06/1.293, allocations: 0 / 0.8151 GB, free: 148.5 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009221/1.294, allocations: 1.008 MB / 0.8161 GB, free: 148.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/1.294, allocations: 165 kB / 0.8163 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.751e-05/1.294, allocations: 4.75 kB / 0.8163 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/1.294, allocations: 5.875 kB / 0.8163 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/1.294, allocations: 5.938 kB / 0.8163 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/1.294, allocations: 15.81 kB / 0.8163 GB, free: 148.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007842/1.295, allocations: 0.6416 MB / 0.8169 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.73e-06/1.295, allocations: 0 / 0.8169 GB, free: 147.9 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001493/1.297, allocations: 491.8 kB / 0.8174 GB, free: 147.9 MB / 0.6667 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) * 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.001708/1.298, allocations: 0.6634 MB / 0.818 GB, free: 147.7 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00233/1.301, allocations: 2.329 MB / 0.8203 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.622e-06/1.301, allocations: 0 / 0.8203 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0002867/1.301, allocations: 333.1 kB / 0.8206 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/1.302, allocations: 54.19 kB / 0.8207 GB, free: 146.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/1.304, allocations: 1.482 MB / 0.8221 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/1.304, allocations: 1.01 MB / 0.8231 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002773/1.304, allocations: 58.03 kB / 0.8232 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/1.305, allocations: 38.23 kB / 0.8232 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of SimCode: time 1.676e-06/1.305, allocations: 0 / 0.8232 GB, free: 145.8 MB / 0.6667 GB Notification: Performance of Templates: time 0.02439/1.329, allocations: 9.968 MB / 0.8329 GB, free: 142.2 MB / 0.6667 GB