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_SmallScaleValidation.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_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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009237/0.009241, 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.001142/0.001142, allocations: 182.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 1.86/1.86, 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.164/2.164, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004599/0.0004597, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6017, allocations: 98.72 MB / 0.6834 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003071/0.6049, allocations: 1.37 MB / 0.6847 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.011/0.6159, allocations: 3.834 MB / 0.6885 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/0.6162, allocations: 1.219 kB / 0.6885 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.6184, allocations: 335.2 kB / 0.6888 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002758/0.6187, allocations: 58.05 kB / 0.6888 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.005039/0.6237, allocations: 0.7146 MB / 0.6895 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.6241, allocations: 102.4 kB / 0.6896 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.6242, allocations: 8.609 kB / 0.6896 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001492/0.6244, allocations: 49.48 kB / 0.6897 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003821/0.6248, allocations: 162.2 kB / 0.6898 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.833e-05/0.6249, allocations: 15.44 kB / 0.6899 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.6299, allocations: 1.254 MB / 0.6911 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004204/0.6304, allocations: 256.1 kB / 0.6913 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.6307, allocations: 125.1 kB / 0.6914 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004015/0.6347, allocations: 1.028 MB / 0.6924 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.052e-06/0.6348, allocations: 1.094 kB / 0.6925 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.515e-06/0.6348, allocations: 0 / 0.6925 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.6348, allocations: 4 kB / 0.6925 GB, free: 11.98 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.0168/0.6516, allocations: 1.224 MB / 0.6936 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.6517, allocations: 9.25 kB / 0.6937 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006775/0.6524, allocations: 96.09 kB / 0.6938 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008837/0.6533, allocations: 398.6 kB / 0.6941 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.6534, allocations: 12.16 kB / 0.6941 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.844e-05/0.6535, allocations: 12.78 kB / 0.6942 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008653/0.6544, allocations: 384.5 kB / 0.6945 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.6544, allocations: 0 / 0.6945 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.6544, allocations: 1.922 kB / 0.6945 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.557e-06/0.6545, allocations: 0.6094 kB / 0.6945 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006221/0.6551, allocations: 441 kB / 0.6949 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008913/0.656, allocations: 0.6673 MB / 0.6956 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/0.6567, allocations: 0.5613 MB / 0.6961 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009076/0.6576, allocations: 1.046 MB / 0.6972 GB, free: 9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.6582, allocations: 398.2 kB / 0.6975 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 2.693e-06/0.6582, allocations: 0 / 0.6975 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.001769/0.66, allocations: 1.298 MB / 0.6988 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.66, allocations: 84.28 kB / 0.6989 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/0.6617, allocations: 1.263 MB / 0.7001 GB, free: 7.746 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.864e-05/0.6618, allocations: 32.08 kB / 0.7002 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.6621, allocations: 279.9 kB / 0.7004 GB, free: 7.465 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.421e-05/0.6621, allocations: 28.39 kB / 0.7005 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6622, allocations: 8 kB / 0.7005 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.6623, allocations: 428.3 kB / 0.7009 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.664, allocations: 1.358 MB / 0.7022 GB, free: 6.469 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.6657, allocations: 1.488 MB / 0.7036 GB, free: 5.801 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.6678, allocations: 1.902 MB / 0.7055 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6678, allocations: 0 / 0.7055 GB, free: 4.738 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005792/0.6736, allocations: 3.948 MB / 0.7094 GB, free: 2.523 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.6737, allocations: 9.203 kB / 0.7094 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.068e-05/0.6737, allocations: 2.344 kB / 0.7094 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.6738, allocations: 0.9062 kB / 0.7094 GB, free: 2.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.674, allocations: 15.56 kB / 0.7094 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.674, allocations: 6.516 kB / 0.7094 GB, free: 2.512 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.6747, allocations: 234.1 kB / 0.7096 GB, free: 2.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.633e-05/0.6748, allocations: 22.95 kB / 0.7096 GB, free: 2.316 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.0004266/0.6752, allocations: 249.2 kB / 0.7099 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.6753, allocations: 71.97 kB / 0.7099 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.6757, allocations: 81.47 kB / 0.71 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.467e-06/0.6757, allocations: 5.469 kB / 0.71 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.225e-06/0.6757, allocations: 0 / 0.71 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.335e-06/0.6758, allocations: 0.9375 kB / 0.71 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006094/0.6764, allocations: 0.512 MB / 0.7105 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.706e-06/0.6764, allocations: 0 / 0.7105 GB, free: 1.645 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.805e-05/0.6765, allocations: 13.8 kB / 0.7105 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.787e-06/0.6765, allocations: 1.031 kB / 0.7105 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.6765, allocations: 2.219 kB / 0.7105 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.316e-06/0.6766, allocations: 1.562 kB / 0.7105 GB, free: 1.637 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.163e-06/0.6766, allocations: 7.922 kB / 0.7106 GB, free: 1.629 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.6777, allocations: 1.031 MB / 0.7116 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.6778, allocations: 155.8 kB / 0.7117 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/0.678, allocations: 0 / 0.7117 GB, free: 0.7734 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.6782, allocations: 15.98 kB / 0.7117 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.6783, allocations: 7.984 kB / 0.7117 GB, free: 0.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.6783, allocations: 11.98 kB / 0.7117 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000969/0.6793, allocations: 0.7062 MB / 0.7124 GB, free: 28 kB / 0.5261 GB Notification: Performance of sort global known variables: time 8.4e-07/0.6793, allocations: 0 / 0.7124 GB, free: 28 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001649/0.681, allocations: 399.8 kB / 0.7128 GB, free: 15.64 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.001689/0.6827, allocations: 480.3 kB / 0.7133 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.6862, allocations: 2.499 MB / 0.7157 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.6863, allocations: 0 / 0.7157 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.6867, allocations: 347.8 kB / 0.716 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.6872, allocations: 48.67 kB / 0.7161 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003389/0.6906, allocations: 1.976 MB / 0.718 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008237/0.6915, allocations: 1.003 MB / 0.719 GB, free: 9.227 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003212/0.6918, allocations: 45.42 kB / 0.719 GB, free: 9.184 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.692, allocations: 23.42 kB / 0.7191 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of SimCode: time 1.546e-06/0.692, allocations: 0 / 0.7191 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of Templates: time 0.02548/0.7175, allocations: 9.538 MB / 0.7284 GB, free: 15.67 MB / 0.5574 GB