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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009439/0.009443, allocations: 108.3 kB / 15.06 MB, free: 5.559 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.001118/0.001118, allocations: 179.7 kB / 15.95 MB, free: 5.523 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 1.889/1.889, allocations: 194.6 MB / 211.3 MB, free: 11.03 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.214/2.214, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004675/0.0004676, allocations: 12 kB / 0.587 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6374/0.6379, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001397/0.6394, allocations: 1.102 MB / 0.6845 GB, free: 16.01 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.6443, allocations: 2.816 MB / 0.6872 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.896e-05/0.6444, allocations: 1.25 kB / 0.6872 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.6445, allocations: 10.66 kB / 0.6872 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.6447, allocations: 25.56 kB / 0.6872 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.6478, allocations: 0.721 MB / 0.6879 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.648, allocations: 46.33 kB / 0.688 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 5.015e-05/0.648, allocations: 4.531 kB / 0.688 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.481e-05/0.6481, allocations: 40.84 kB / 0.688 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002484/0.6484, allocations: 141.4 kB / 0.6882 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.008e-05/0.6484, allocations: 12.81 kB / 0.6882 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003056/0.6515, allocations: 1.257 MB / 0.6894 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.6518, allocations: 247.7 kB / 0.6896 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.6519, allocations: 110.9 kB / 0.6897 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002208/0.6541, allocations: 0.9729 MB / 0.6907 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.6542, allocations: 0 / 0.6907 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.047e-06/0.6542, allocations: 1.062 kB / 0.6907 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.6542, allocations: 0 / 0.6907 GB, free: 13.04 MB / 0.5261 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.009545/0.6637, allocations: 1.167 MB / 0.6918 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.6638, allocations: 9.844 kB / 0.6918 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000415/0.6642, allocations: 88.06 kB / 0.6919 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000435/0.6647, allocations: 352.3 kB / 0.6923 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.6647, allocations: 6.953 kB / 0.6923 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.604e-05/0.6648, allocations: 6.266 kB / 0.6923 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.6654, allocations: 391.5 kB / 0.6927 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6654, allocations: 0.9375 kB / 0.6927 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.6654, allocations: 9.484 kB / 0.6927 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-06/0.6654, allocations: 1.375 kB / 0.6927 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.6661, allocations: 432.4 kB / 0.6931 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008206/0.6669, allocations: 0.6353 MB / 0.6937 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.6676, allocations: 0.566 MB / 0.6942 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009415/0.6686, allocations: 1.042 MB / 0.6953 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.6691, allocations: 400 kB / 0.6956 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.773e-06/0.6692, allocations: 0 / 0.6956 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001894/0.6711, allocations: 1.289 MB / 0.6969 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.6711, allocations: 84.42 kB / 0.697 GB, free: 9.875 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.6727, allocations: 1.192 MB / 0.6982 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/0.6729, allocations: 30.86 kB / 0.6982 GB, free: 9.195 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.6731, allocations: 264.4 kB / 0.6984 GB, free: 8.961 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.6731, allocations: 27.72 kB / 0.6985 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.6732, allocations: 1.125 kB / 0.6985 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6734, allocations: 426 kB / 0.6989 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001627/0.675, allocations: 1.359 MB / 0.7002 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001734/0.6767, allocations: 1.494 MB / 0.7017 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002016/0.6788, allocations: 1.891 MB / 0.7035 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.715e-06/0.6788, allocations: 0 / 0.7035 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005379/0.6842, allocations: 3.948 MB / 0.7074 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.6843, allocations: 7.219 kB / 0.7074 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.6843, allocations: 1.188 kB / 0.7074 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.6843, allocations: 1.219 kB / 0.7074 GB, free: 4.031 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.6845, allocations: 16.39 kB / 0.7074 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.6845, allocations: 5.375 kB / 0.7074 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006292/0.6852, allocations: 226.5 kB / 0.7076 GB, free: 3.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.437e-05/0.6853, allocations: 30.11 kB / 0.7076 GB, free: 3.828 MB / 0.5261 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.0003954/0.6857, allocations: 238.5 kB / 0.7079 GB, free: 3.664 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.62e-05/0.6857, allocations: 68.8 kB / 0.7079 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003446/0.6861, allocations: 76.81 kB / 0.708 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.048e-06/0.6861, allocations: 2.375 kB / 0.708 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.107e-06/0.6861, allocations: 0 / 0.708 GB, free: 3.531 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-06/0.6861, allocations: 4.906 kB / 0.708 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005602/0.6867, allocations: 0.4891 MB / 0.7085 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.149e-06/0.6867, allocations: 1.469 kB / 0.7085 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.362e-05/0.6868, allocations: 9.266 kB / 0.7085 GB, free: 3.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.533e-06/0.6869, allocations: 5.438 kB / 0.7085 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.6869, allocations: 1.344 kB / 0.7085 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6869, allocations: 1.5 kB / 0.7085 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.224e-06/0.6869, allocations: 3.984 kB / 0.7085 GB, free: 3.164 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.6881, allocations: 1.005 MB / 0.7095 GB, free: 2.871 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.6882, allocations: 150.2 kB / 0.7096 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.588e-05/0.6883, allocations: 5.375 kB / 0.7096 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.6886, allocations: 11.73 kB / 0.7096 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.6886, allocations: 11.48 kB / 0.7097 GB, free: 2.707 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.6887, allocations: 10.45 kB / 0.7097 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008696/0.6896, allocations: 0.6604 MB / 0.7103 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.02e-07/0.6896, allocations: 0 / 0.7103 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001438/0.691, allocations: 399.8 kB / 0.7107 GB, free: 1.77 MB / 0.5261 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.001496/0.6925, allocations: 478.9 kB / 0.7111 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003001/0.6956, allocations: 2.495 MB / 0.7136 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.734e-06/0.6956, allocations: 0 / 0.7136 GB, free: 14.79 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.6961, allocations: 343.7 kB / 0.7139 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.6964, allocations: 36.58 kB / 0.7139 GB, free: 14.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.6993, allocations: 1.828 MB / 0.7157 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007711/0.7002, allocations: 0.9873 MB / 0.7167 GB, free: 11.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0002907/0.7005, allocations: 29.11 kB / 0.7167 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.7006, allocations: 27.41 kB / 0.7167 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of SimCode: time 1.638e-06/0.7006, allocations: 0 / 0.7167 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of Templates: time 0.02391/0.7245, allocations: 8.971 MB / 0.7255 GB, free: 2.547 MB / 0.5417 GB