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_1borehole_5meters.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01144/0.01144, allocations: 107.8 kB / 15.06 MB, free: 6.027 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.001216/0.001216, allocations: 180.8 kB / 15.95 MB, free: 5.953 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.027/2.027, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.301/2.301, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004998, allocations: 12 kB / 0.5871 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7729, allocations: 98.73 MB / 0.6835 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001846/0.7748, allocations: 1.099 MB / 0.6846 GB, free: 16 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0059/0.7807, allocations: 2.807 MB / 0.6873 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.483e-05/0.7809, allocations: 1.406 kB / 0.6873 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.7811, allocations: 6.75 kB / 0.6873 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0002423/0.7813, allocations: 33.56 kB / 0.6873 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.004537/0.7859, allocations: 0.7163 MB / 0.688 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.7862, allocations: 47.7 kB / 0.6881 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.902e-05/0.7863, allocations: 7.922 kB / 0.6881 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.7864, allocations: 33.61 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000511/0.787, allocations: 148.9 kB / 0.6883 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.7871, allocations: 12.59 kB / 0.6883 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006541/0.7937, allocations: 1.254 MB / 0.6895 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0005814/0.7943, allocations: 243.2 kB / 0.6897 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.7945, allocations: 112.2 kB / 0.6898 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.7989, allocations: 0.9801 MB / 0.6908 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.7989, allocations: 0 / 0.6908 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.527e-06/0.799, allocations: 0.6094 kB / 0.6908 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.657e-05/0.799, allocations: 1.25 kB / 0.6908 GB, free: 13.04 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.01837/0.8174, allocations: 1.159 MB / 0.6919 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.8174, allocations: 8.25 kB / 0.6919 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.8175, allocations: 38.7 kB / 0.692 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.8181, allocations: 95.38 kB / 0.6921 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.8187, allocations: 352.8 kB / 0.6924 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.8188, allocations: 7.078 kB / 0.6924 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.273e-05/0.8188, allocations: 8.281 kB / 0.6924 GB, free: 11.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006557/0.8195, allocations: 385.8 kB / 0.6928 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.8195, allocations: 0 / 0.6928 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.8195, allocations: 4.75 kB / 0.6928 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.8196, allocations: 1.469 kB / 0.6928 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007032/0.8203, allocations: 436.2 kB / 0.6932 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.8214, allocations: 0.6367 MB / 0.6938 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009194/0.8223, allocations: 0.5649 MB / 0.6944 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/0.8237, allocations: 1.032 MB / 0.6954 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006551/0.8244, allocations: 412.2 kB / 0.6958 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 3.085e-06/0.8244, allocations: 0 / 0.6958 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.002347/0.8267, allocations: 1.285 MB / 0.697 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.8269, allocations: 83.97 kB / 0.6971 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/0.829, allocations: 1.198 MB / 0.6983 GB, free: 9.137 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002102/0.8292, allocations: 36.3 kB / 0.6983 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.8296, allocations: 264 kB / 0.6986 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.865e-05/0.8296, allocations: 19.09 kB / 0.6986 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.8297, allocations: 1 kB / 0.6986 GB, free: 8.848 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.8298, allocations: 422.6 kB / 0.699 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/0.8318, allocations: 1.359 MB / 0.7003 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002239/0.8341, allocations: 1.495 MB / 0.7018 GB, free: 7.211 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002475/0.8366, allocations: 1.89 MB / 0.7036 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.8367, allocations: 0 / 0.7036 GB, free: 6.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006409/0.8431, allocations: 3.942 MB / 0.7075 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.106e-05/0.8432, allocations: 3.531 kB / 0.7075 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.8433, allocations: 2.312 kB / 0.7075 GB, free: 3.949 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.8433, allocations: 5.438 kB / 0.7075 GB, free: 3.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002435/0.8435, allocations: 23.2 kB / 0.7075 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.8436, allocations: 1.156 kB / 0.7075 GB, free: 3.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.8447, allocations: 231.5 kB / 0.7077 GB, free: 3.746 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/0.8448, allocations: 22.11 kB / 0.7077 GB, free: 3.742 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.0006119/0.8454, allocations: 238.7 kB / 0.708 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.8455, allocations: 63.69 kB / 0.708 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.846, allocations: 85.36 kB / 0.7081 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.846, allocations: 2.375 kB / 0.7081 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.8461, allocations: 0 / 0.7081 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.8461, allocations: 0.9062 kB / 0.7081 GB, free: 3.441 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007508/0.8468, allocations: 0.4893 MB / 0.7086 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.8469, allocations: 5 kB / 0.7086 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.847, allocations: 4.688 kB / 0.7086 GB, free: 3.086 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.847, allocations: 5.188 kB / 0.7086 GB, free: 3.082 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.996e-05/0.847, allocations: 6.047 kB / 0.7086 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.847, allocations: 0.9688 kB / 0.7086 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8471, allocations: 1.031 kB / 0.7086 GB, free: 3.078 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001436/0.8485, allocations: 1.014 MB / 0.7096 GB, free: 2.777 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002034/0.8487, allocations: 153.2 kB / 0.7098 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8489, allocations: 1.5 kB / 0.7098 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000259/0.8491, allocations: 7.531 kB / 0.7098 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.254e-05/0.8492, allocations: 7.641 kB / 0.7098 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.8493, allocations: 14.36 kB / 0.7098 GB, free: 2.613 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001224/0.8505, allocations: 0.6632 MB / 0.7104 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/0.8505, allocations: 0 / 0.7104 GB, free: 2.074 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002014/0.8526, allocations: 395.8 kB / 0.7108 GB, free: 1.688 MB / 0.5261 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.003788/0.8564, allocations: 2.006 MB / 0.7128 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004134/0.8606, allocations: 2.496 MB / 0.7152 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.625e-06/0.8606, allocations: 0 / 0.7152 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005609/0.8612, allocations: 343.9 kB / 0.7155 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.8616, allocations: 28.66 kB / 0.7156 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005707/0.8674, allocations: 2.584 MB / 0.7181 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007736/0.8682, allocations: 0.9796 MB / 0.719 GB, free: 9.129 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0003893/0.8686, allocations: 36.5 kB / 0.7191 GB, free: 9.094 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005054/0.8691, allocations: 267.3 kB / 0.7193 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/0.8691, allocations: 4 kB / 0.7193 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/0.9248, allocations: 16.45 MB / 0.7354 GB, free: 8.598 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003667/0.9252, allocations: 275.3 kB / 0.7357 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.536/4.461, allocations: 0 / 0.7357 GB, free: 8.242 MB / 0.5573 GB