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.004241/0.004241, allocations: 230.9 kB / 15.82 MB, free: 6.297 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.001084, allocations: 176 kB / 16.7 MB, free: 5.457 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.777/3.777, allocations: 389.1 MB / 406.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.973/3.973, allocations: 472.3 MB / 0.9024 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004726, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.171, allocations: 98.72 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7711/0.9421, allocations: 144 MB / 1.245 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004085/0.9425, allocations: 124.7 kB / 1.245 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1672/1.11, allocations: 29.7 MB / 1.274 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/1.11, allocations: 0 / 1.274 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.775e-05/1.11, allocations: 19.44 kB / 1.274 GB, free: 2.832 MB / 0.6355 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.003287/1.113, allocations: 1.197 MB / 1.276 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.113, allocations: 8.031 kB / 1.276 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005462/1.114, allocations: 105.9 kB / 1.276 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/1.115, allocations: 469.7 kB / 1.276 GB, free: 1.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/1.115, allocations: 26.98 kB / 1.276 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/1.115, allocations: 34.94 kB / 1.276 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006358/1.116, allocations: 385.6 kB / 1.277 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/1.116, allocations: 0.5625 kB / 1.277 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/1.116, allocations: 0 / 1.277 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/1.116, allocations: 8.609 kB / 1.277 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006955/1.116, allocations: 436.1 kB / 1.277 GB, free: 200 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/1.118, allocations: 0.7809 MB / 1.278 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008098/1.118, allocations: 0.5621 MB / 1.278 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/1.119, allocations: 333.3 kB / 1.279 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/1.12, allocations: 1.036 MB / 1.28 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006228/1.121, allocations: 395.5 kB / 1.28 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/1.121, allocations: 10.94 kB / 1.28 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.00207/1.123, allocations: 1.294 MB / 1.281 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/1.123, allocations: 92.88 kB / 1.281 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/1.125, allocations: 1.267 MB / 1.283 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/1.125, allocations: 49.91 kB / 1.283 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003151/1.126, allocations: 295 kB / 1.283 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/1.126, allocations: 22.34 kB / 1.283 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.902e-05/1.126, allocations: 16.56 kB / 1.283 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000236/1.126, allocations: 425.1 kB / 1.283 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002179/1.128, allocations: 1.219 MB / 1.285 GB, free: 9.105 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/1.13, allocations: 1.359 MB / 1.286 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002553/1.133, allocations: 1.61 MB / 1.287 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.133, allocations: 0 / 1.287 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006341/1.139, allocations: 3.456 MB / 1.291 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.082e-05/1.14, allocations: 8 kB / 1.291 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/1.14, allocations: 0.625 kB / 1.291 GB, free: 4.449 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.14, allocations: 4 kB / 1.291 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.141, allocations: 142.9 kB / 1.291 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.141, allocations: 7.516 kB / 1.291 GB, free: 4.309 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/1.142, allocations: 243 kB / 1.291 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/1.142, allocations: 63.47 kB / 1.291 GB, free: 4.023 MB / 0.6511 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 (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.0005488/1.143, allocations: 262.4 kB / 1.292 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.789e-05/1.143, allocations: 73.16 kB / 1.292 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/1.144, allocations: 0.9436 MB / 1.293 GB, free: 2.773 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.145, allocations: 3.938 kB / 1.293 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.145, allocations: 0 / 1.293 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/1.145, allocations: 4.031 kB / 1.293 GB, free: 2.77 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007138/1.145, allocations: 0.5187 MB / 1.293 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/1.145, allocations: 0 / 1.293 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/1.145, allocations: 15.92 kB / 1.293 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.145, allocations: 4 kB / 1.293 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/1.145, allocations: 0 / 1.293 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/1.145, allocations: 0 / 1.293 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.145, allocations: 0 / 1.293 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/1.147, allocations: 1.012 MB / 1.294 GB, free: 1.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.147, allocations: 167.4 kB / 1.294 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/1.147, allocations: 3.984 kB / 1.294 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000262/1.148, allocations: 4 kB / 1.294 GB, free: 1.082 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/1.148, allocations: 14.33 kB / 1.294 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.233e-05/1.148, allocations: 15.92 kB / 1.294 GB, free: 1.059 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001296/1.149, allocations: 0.7051 MB / 1.295 GB, free: 492 kB / 0.6511 GB Notification: Performance of sort global known variables: time 5.71e-07/1.149, allocations: 0 / 1.295 GB, free: 492 kB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001968/1.151, allocations: 0.5032 MB / 1.295 GB, free: 4 kB / 0.6511 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.00237/1.153, allocations: 0.6433 MB / 1.296 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003441/1.157, allocations: 2.364 MB / 1.298 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/1.157, allocations: 4 kB / 1.298 GB, free: 13.8 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005062/1.157, allocations: 335.1 kB / 1.299 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005621/1.158, allocations: 60.03 kB / 1.299 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003393/1.161, allocations: 1.977 MB / 1.301 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007629/1.162, allocations: 1.002 MB / 1.302 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003915/1.163, allocations: 65.67 kB / 1.302 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000187/1.163, allocations: 44.84 kB / 1.302 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/1.163, allocations: 2.531 kB / 1.302 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of Templates: time 0.03293/1.196, allocations: 11.22 MB / 1.313 GB, free: 15.79 MB / 0.6823 GB