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.009023/0.009028, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001137/0.001137, allocations: 180.2 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 2.005/2.005, allocations: 194.6 MB / 211.3 MB, free: 11.32 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.296/2.296, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004646/0.0004649, allocations: 12 kB / 0.587 GB, free: 2.188 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5377/0.5382, 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_100boreholes): time 0.001368/0.5396, allocations: 1.099 MB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00467/0.5443, allocations: 2.81 MB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.793e-05/0.5444, allocations: 1.531 kB / 0.6872 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.5445, allocations: 10.52 kB / 0.6872 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.5447, allocations: 25.11 kB / 0.6872 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.5476, allocations: 0.7213 MB / 0.6879 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.5478, allocations: 49.98 kB / 0.688 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.5478, allocations: 4.531 kB / 0.688 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.141e-05/0.5479, allocations: 37.8 kB / 0.688 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002345/0.5481, allocations: 144.1 kB / 0.6882 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 5.168e-05/0.5482, allocations: 17.84 kB / 0.6882 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002967/0.5512, allocations: 1.257 MB / 0.6894 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000774/0.552, allocations: 0.6013 MB / 0.69 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001859/0.5522, allocations: 176.7 kB / 0.6902 GB, free: 13.17 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002621/0.5548, allocations: 1.182 MB / 0.6913 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.773e-06/0.5549, allocations: 0 / 0.6913 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.476e-06/0.5549, allocations: 0 / 0.6913 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.5549, allocations: 1.375 kB / 0.6913 GB, free: 12.87 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.01031/0.5652, allocations: 1.601 MB / 0.6929 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5653, allocations: 17.39 kB / 0.6929 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004955/0.5658, allocations: 148.3 kB / 0.693 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.5665, allocations: 500 kB / 0.6935 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.5665, allocations: 3.547 kB / 0.6935 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.5666, allocations: 9.047 kB / 0.6935 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.5672, allocations: 385.2 kB / 0.6939 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5672, allocations: 4.562 kB / 0.6939 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.5672, allocations: 1.547 kB / 0.6939 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.009e-06/0.5672, allocations: 1.062 kB / 0.6939 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005939/0.5678, allocations: 435.8 kB / 0.6943 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.569, allocations: 0.8091 MB / 0.6951 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006898/0.5698, allocations: 0.5656 MB / 0.6957 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009399/0.5707, allocations: 1.035 MB / 0.6967 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000533/0.5713, allocations: 403.3 kB / 0.6971 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.013e-06/0.5713, allocations: 0 / 0.6971 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001886/0.5732, allocations: 1.343 MB / 0.6984 GB, free: 9.191 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.5732, allocations: 79.36 kB / 0.6984 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002604/0.5759, allocations: 1.842 MB / 0.7002 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001126/0.576, allocations: 32.45 kB / 0.7003 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.5764, allocations: 474.9 kB / 0.7007 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.5765, allocations: 19.52 kB / 0.7007 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.5765, allocations: 5.781 kB / 0.7007 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5767, allocations: 411.3 kB / 0.7011 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001763/0.5784, allocations: 1.511 MB / 0.7026 GB, free: 6.676 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.5803, allocations: 1.649 MB / 0.7042 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.5825, allocations: 2.042 MB / 0.7062 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.051e-06/0.5825, allocations: 0 / 0.7062 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005713/0.5882, allocations: 4.309 MB / 0.7104 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5883, allocations: 8.031 kB / 0.7104 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.5883, allocations: 4 kB / 0.7104 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5884, allocations: 0 / 0.7104 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.5885, allocations: 15.98 kB / 0.7105 GB, free: 2.113 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.212e-06/0.5886, allocations: 3.938 kB / 0.7105 GB, free: 2.109 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008583/0.5894, allocations: 228.4 kB / 0.7107 GB, free: 1.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.5895, allocations: 23.98 kB / 0.7107 GB, free: 1.859 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.0006972/0.5902, allocations: 369.5 kB / 0.7111 GB, free: 1.488 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.5904, allocations: 122 kB / 0.7112 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005063/0.5909, allocations: 149.1 kB / 0.7113 GB, free: 1.207 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-06/0.591, allocations: 3.984 kB / 0.7113 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.545e-06/0.591, allocations: 0 / 0.7113 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.384e-06/0.591, allocations: 0 / 0.7113 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008942/0.5919, allocations: 0.6832 MB / 0.712 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.183e-06/0.5919, allocations: 0 / 0.712 GB, free: 472 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001122/0.592, allocations: 16.02 kB / 0.712 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.845e-06/0.5921, allocations: 0 / 0.712 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.5921, allocations: 0 / 0.712 GB, free: 456 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.575e-06/0.5921, allocations: 8 kB / 0.712 GB, free: 448 kB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.872e-06/0.5921, allocations: 3.984 kB / 0.712 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.5934, allocations: 1.073 MB / 0.7131 GB, free: 15.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003138/0.5937, allocations: 191.2 kB / 0.7132 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.5939, allocations: 3.984 kB / 0.7132 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003033/0.5942, allocations: 4 kB / 0.7132 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.5943, allocations: 7.984 kB / 0.7133 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.705e-05/0.5943, allocations: 15.98 kB / 0.7133 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001903/0.5963, allocations: 1.1 MB / 0.7143 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.411e-06/0.5963, allocations: 4 kB / 0.7143 GB, free: 13.96 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001769/0.5981, allocations: 431.8 kB / 0.7148 GB, free: 13.54 MB / 0.5417 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.001781/0.5999, allocations: 480.4 kB / 0.7152 GB, free: 13.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003723/0.6036, allocations: 2.648 MB / 0.7178 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.6037, allocations: 0 / 0.7178 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004688/0.6041, allocations: 344.1 kB / 0.7181 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005069/0.6047, allocations: 46.66 kB / 0.7182 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004716/0.6094, allocations: 2.722 MB / 0.7208 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.6106, allocations: 1.173 MB / 0.722 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003039/0.6109, allocations: 44.47 kB / 0.722 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.6111, allocations: 23.42 kB / 0.722 GB, free: 6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.553e-06/0.6111, allocations: 0 / 0.722 GB, free: 6 MB / 0.5417 GB Notification: Performance of Templates: time 0.02872/0.6398, allocations: 9.536 MB / 0.7314 GB, free: 12.49 MB / 0.5574 GB