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.01045/0.01046, allocations: 216.8 kB / 15.18 MB, free: 5.992 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.001084/0.001083, allocations: 179.2 kB / 16.06 MB, free: 5.863 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.405/3.405, allocations: 389.1 MB / 405.9 MB, free: 67.56 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.048/4.048, allocations: 472.3 MB / 0.9018 GB, free: 13.27 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004839, allocations: 12 kB / 1.008 GB, free: 0.6758 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4899/0.4904, allocations: 98.73 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001529/0.492, allocations: 1.401 MB / 1.105 GB, free: 182.3 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005119/0.4971, allocations: 3.895 MB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.4972, allocations: 0 / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.4982, allocations: 325 kB / 1.11 GB, free: 178.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.4983, allocations: 52.23 kB / 1.11 GB, free: 178 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.5002, allocations: 0.7435 MB / 1.11 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.5005, allocations: 166.4 kB / 1.11 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.756e-05/0.5005, allocations: 10.41 kB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.716e-05/0.5006, allocations: 43.8 kB / 1.111 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.5008, allocations: 191.6 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 4.547e-05/0.5009, allocations: 17.88 kB / 1.111 GB, free: 176.9 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001941/0.5029, allocations: 1.297 MB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.503, allocations: 271.2 kB / 1.112 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.625e-05/0.5031, allocations: 121.1 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.5043, allocations: 1.021 MB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.118e-06/0.5043, allocations: 4 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.243e-06/0.5043, allocations: 4.781 kB / 1.113 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.5044, allocations: 3.062 kB / 1.113 GB, free: 174.2 MB / 0.6823 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.008835/0.5132, allocations: 1.226 MB / 1.115 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.5133, allocations: 8.031 kB / 1.115 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003737/0.5136, allocations: 102.1 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004549/0.5141, allocations: 392.8 kB / 1.115 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.5141, allocations: 7.984 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.16e-05/0.5142, allocations: 14.36 kB / 1.115 GB, free: 172.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004203/0.5146, allocations: 383.2 kB / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.033e-06/0.5147, allocations: 6 kB / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.5147, allocations: 3.281 kB / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-06/0.5147, allocations: 0 / 1.115 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004181/0.5151, allocations: 435.7 kB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.5157, allocations: 0.6612 MB / 1.117 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004887/0.5162, allocations: 0.5656 MB / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.5165, allocations: 337.6 kB / 1.117 GB, free: 169.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008142/0.5173, allocations: 1.032 MB / 1.118 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003889/0.5178, allocations: 404.3 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.464e-06/0.5178, allocations: 0 / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001274/0.5191, allocations: 1.302 MB / 1.12 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.5191, allocations: 81.05 kB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/0.5203, allocations: 1.273 MB / 1.121 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.5204, allocations: 33.64 kB / 1.121 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.5206, allocations: 281.4 kB / 1.122 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.565e-05/0.5206, allocations: 19.72 kB / 1.122 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.5207, allocations: 4.656 kB / 1.122 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.5208, allocations: 431.2 kB / 1.122 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.522, allocations: 1.361 MB / 1.123 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5233, allocations: 1.491 MB / 1.125 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5248, allocations: 1.898 MB / 1.127 GB, free: 160 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.054e-06/0.5249, allocations: 0 / 1.127 GB, free: 160 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004349/0.5292, allocations: 3.953 MB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5293, allocations: 9.031 kB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.5293, allocations: 1.312 kB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.5293, allocations: 0 / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001428/0.5295, allocations: 19.33 kB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.18e-06/0.5295, allocations: 4 kB / 1.131 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005044/0.53, allocations: 228.3 kB / 1.131 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.5301, allocations: 23.98 kB / 1.131 GB, free: 155.7 MB / 0.6823 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.0003165/0.5304, allocations: 253.5 kB / 1.131 GB, free: 155.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.5305, allocations: 70.69 kB / 1.131 GB, free: 155.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003198/0.5308, allocations: 81.94 kB / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.55e-06/0.5308, allocations: 0.8438 kB / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-06/0.5308, allocations: 0 / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.52e-06/0.5308, allocations: 3.594 kB / 1.131 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.5313, allocations: 0.5151 MB / 1.132 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.558e-06/0.5313, allocations: 3.938 kB / 1.132 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.424e-05/0.5314, allocations: 4 kB / 1.132 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.5314, allocations: 4 kB / 1.132 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.5314, allocations: 3.984 kB / 1.132 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.662e-06/0.5314, allocations: 0 / 1.132 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-06/0.5315, allocations: 0.8438 kB / 1.132 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008956/0.5324, allocations: 1.016 MB / 1.133 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.5325, allocations: 159.8 kB / 1.133 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/0.5326, allocations: 1.25 kB / 1.133 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.5328, allocations: 8 kB / 1.133 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.5328, allocations: 11.92 kB / 1.133 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.5329, allocations: 15.92 kB / 1.133 GB, free: 153.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008149/0.5337, allocations: 0.7127 MB / 1.134 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.81e-07/0.5337, allocations: 0 / 1.134 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001023/0.5348, allocations: 396.4 kB / 1.134 GB, free: 152.4 MB / 0.6823 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.001292/0.5361, allocations: 479.2 kB / 1.135 GB, free: 151.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.5383, allocations: 2.499 MB / 1.137 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.78e-06/0.5383, allocations: 0 / 1.137 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.5387, allocations: 341.2 kB / 1.137 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.5392, allocations: 55 kB / 1.137 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002253/0.5414, allocations: 1.98 MB / 1.139 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.5419, allocations: 1.008 MB / 1.14 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002301/0.5422, allocations: 36.41 kB / 1.14 GB, free: 146 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.5423, allocations: 27.41 kB / 1.14 GB, free: 146 MB / 0.6823 GB Notification: Performance of SimCode: time 1.547e-06/0.5423, allocations: 0 / 1.14 GB, free: 146 MB / 0.6823 GB Notification: Performance of Templates: time 0.02169/0.564, allocations: 9.556 MB / 1.15 GB, free: 137.1 MB / 0.6823 GB