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.01503/0.01504, allocations: 109.6 kB / 15.05 MB, free: 5.965 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.001841/0.001841, allocations: 179.4 kB / 15.94 MB, free: 5.93 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.84/1.84, allocations: 194.6 MB / 211.3 MB, free: 11.14 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.107/2.107, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004831, allocations: 16 kB / 0.587 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5338/0.5344, allocations: 98.71 MB / 0.6834 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2024/0.7368, allocations: 143.9 MB / 0.824 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.7372, allocations: 119.9 kB / 0.8241 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1462/0.8834, allocations: 29.7 MB / 0.8531 GB, free: 388 kB / 0.6667 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8835, allocations: 0 / 0.8531 GB, free: 388 kB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.288e-05/0.8835, allocations: 16 kB / 0.8531 GB, free: 372 kB / 0.6667 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.002522/0.8861, allocations: 1.207 MB / 0.8543 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.8861, allocations: 8.031 kB / 0.8543 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004621/0.8866, allocations: 102.6 kB / 0.8544 GB, free: 15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008818/0.8875, allocations: 472.7 kB / 0.8548 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/0.8876, allocations: 24 kB / 0.8549 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.8877, allocations: 36 kB / 0.8549 GB, free: 14.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005486/0.8882, allocations: 383.2 kB / 0.8553 GB, free: 14.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.8883, allocations: 7.984 kB / 0.8553 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.8883, allocations: 0 / 0.8553 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.8883, allocations: 3.953 kB / 0.8553 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005772/0.8889, allocations: 435.7 kB / 0.8557 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.89, allocations: 0.7782 MB / 0.8564 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.8907, allocations: 0.5555 MB / 0.857 GB, free: 12.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.8919, allocations: 1.036 MB / 0.858 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005784/0.8925, allocations: 404.9 kB / 0.8584 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 2.988e-06/0.8926, allocations: 0 / 0.8584 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.001856/0.8944, allocations: 1.312 MB / 0.8597 GB, free: 9.207 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.8945, allocations: 81.11 kB / 0.8597 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.8962, allocations: 1.126 MB / 0.8608 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.8964, allocations: 45.69 kB / 0.8609 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003434/0.8967, allocations: 301.9 kB / 0.8612 GB, free: 7.621 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.995e-05/0.8968, allocations: 19.72 kB / 0.8612 GB, free: 7.602 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.228e-05/0.8969, allocations: 16 kB / 0.8612 GB, free: 7.586 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002616/0.8971, allocations: 423.8 kB / 0.8616 GB, free: 7.164 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.8991, allocations: 1.218 MB / 0.8628 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002067/0.9011, allocations: 1.358 MB / 0.8641 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.9035, allocations: 1.607 MB / 0.8657 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.048e-06/0.9036, allocations: 0 / 0.8657 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006102/0.9097, allocations: 3.463 MB / 0.8691 GB, free: 15.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.9097, allocations: 5.406 kB / 0.8691 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.52e-05/0.9098, allocations: 3.984 kB / 0.8691 GB, free: 15.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.9098, allocations: 7.938 kB / 0.8691 GB, free: 15.44 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/0.9107, allocations: 147.8 kB / 0.8692 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.9108, allocations: 4 kB / 0.8692 GB, free: 15.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007504/0.9115, allocations: 236.3 kB / 0.8695 GB, free: 15.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.9117, allocations: 63.94 kB / 0.8695 GB, free: 15 MB / 0.698 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.0004727/0.9122, allocations: 265.6 kB / 0.8698 GB, free: 14.73 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.705e-05/0.9123, allocations: 70.69 kB / 0.8698 GB, free: 14.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.9137, allocations: 0.9445 MB / 0.8708 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.224e-06/0.9138, allocations: 0 / 0.8708 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.835e-06/0.9138, allocations: 0 / 0.8708 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9138, allocations: 4.031 kB / 0.8708 GB, free: 13.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.9145, allocations: 0.5177 MB / 0.8713 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.177e-06/0.9145, allocations: 3.938 kB / 0.8713 GB, free: 13.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/0.9146, allocations: 11.98 kB / 0.8713 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.227e-06/0.9147, allocations: 0 / 0.8713 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.9147, allocations: 7.938 kB / 0.8713 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.091e-06/0.9147, allocations: 4 kB / 0.8713 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.969e-06/0.9147, allocations: 0 / 0.8713 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.916, allocations: 1.021 MB / 0.8723 GB, free: 12.06 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.9162, allocations: 159.7 kB / 0.8724 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.609e-05/0.9163, allocations: 4 kB / 0.8725 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.9166, allocations: 7.984 kB / 0.8725 GB, free: 11.88 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.9166, allocations: 4 kB / 0.8725 GB, free: 11.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.058e-05/0.9167, allocations: 19.97 kB / 0.8725 GB, free: 11.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001141/0.9178, allocations: 0.7062 MB / 0.8732 GB, free: 11.14 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.96e-07/0.9178, allocations: 3.938 kB / 0.8732 GB, free: 11.14 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001717/0.9196, allocations: 0.4993 MB / 0.8737 GB, free: 10.64 MB / 0.698 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.002085/0.9217, allocations: 0.653 MB / 0.8743 GB, free: 9.977 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003407/0.9251, allocations: 2.363 MB / 0.8766 GB, free: 7.605 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.544e-06/0.9251, allocations: 0 / 0.8766 GB, free: 7.605 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004713/0.9256, allocations: 340.2 kB / 0.8769 GB, free: 7.273 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004258/0.9261, allocations: 48.72 kB / 0.877 GB, free: 7.227 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.9293, allocations: 1.976 MB / 0.8789 GB, free: 5.215 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008376/0.9302, allocations: 1.005 MB / 0.8799 GB, free: 4.184 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003315/0.9305, allocations: 66.92 kB / 0.88 GB, free: 4.117 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001502/0.9307, allocations: 35.42 kB / 0.88 GB, free: 4.082 MB / 0.698 GB Notification: Performance of SimCode: time 1.774e-06/0.9307, allocations: 4 kB / 0.88 GB, free: 4.078 MB / 0.698 GB Notification: Performance of Templates: time 0.02981/0.9605, allocations: 10.93 MB / 0.8907 GB, free: 9.203 MB / 0.7136 GB