Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01001/0.01001, allocations: 88.36 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001156/0.001155, allocations: 173.8 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.054/2.054, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.385/2.385, allocations: 252.8 MB / 0.511 GB, free: 8.375 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006354/0.0006354, allocations: 12.91 kB / 0.6244 GB, free: 28.26 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2243, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002527/0.2269, allocations: 1.391 MB / 0.7295 GB, free: 8.75 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.008191/0.2352, allocations: 3.842 MB / 0.7332 GB, free: 4.895 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.2354, allocations: 4 kB / 0.7332 GB, free: 4.891 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 0.001582/0.237, allocations: 334.9 kB / 0.7335 GB, free: 4.562 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.2372, allocations: 51.84 kB / 0.7336 GB, free: 4.512 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.2404, allocations: 0.7178 MB / 0.7343 GB, free: 3.789 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.2407, allocations: 99.8 kB / 0.7344 GB, free: 3.691 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 8.004e-05/0.2408, allocations: 21.52 kB / 0.7344 GB, free: 3.668 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2409, allocations: 51.78 kB / 0.7345 GB, free: 3.617 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.2412, allocations: 163.6 kB / 0.7346 GB, free: 3.457 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.2413, allocations: 16 kB / 0.7346 GB, free: 3.441 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.2446, allocations: 1.252 MB / 0.7358 GB, free: 2.188 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.0003179/0.245, allocations: 255.3 kB / 0.7361 GB, free: 1.938 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.2452, allocations: 125.2 kB / 0.7362 GB, free: 1.809 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.2475, allocations: 1.029 MB / 0.7372 GB, free: 0.7773 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2476, allocations: 0 / 0.7372 GB, free: 0.7773 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.505e-06/0.2476, allocations: 3.938 kB / 0.7372 GB, free: 0.7734 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 8.997e-06/0.2476, allocations: 4 kB / 0.7372 GB, free: 0.7695 MB / 0.5574 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.0186/0.2662, allocations: 1.218 MB / 0.7384 GB, free: 15.5 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.2663, allocations: 11.97 kB / 0.7384 GB, free: 15.49 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.386e-05/0.2664, allocations: 34.56 kB / 0.7385 GB, free: 15.45 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005235/0.2669, allocations: 98.59 kB / 0.7386 GB, free: 15.35 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.2676, allocations: 400.7 kB / 0.7389 GB, free: 14.91 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.2677, allocations: 11.98 kB / 0.7389 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.486e-05/0.2678, allocations: 4 kB / 0.7389 GB, free: 14.89 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.2685, allocations: 387.2 kB / 0.7393 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.2685, allocations: 0 / 0.7393 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.2685, allocations: 0 / 0.7393 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.2685, allocations: 4 kB / 0.7393 GB, free: 14.5 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007075/0.2692, allocations: 443.6 kB / 0.7397 GB, free: 14.06 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.2702, allocations: 0.6575 MB / 0.7404 GB, free: 13.36 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/0.2712, allocations: 0.5632 MB / 0.7409 GB, free: 12.77 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/0.2727, allocations: 1.04 MB / 0.742 GB, free: 11.51 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006926/0.2735, allocations: 400.8 kB / 0.7423 GB, free: 11.1 MB / 0.573 GB Notification: Performance of pre-optimization done (n=8): time 2.584e-06/0.2735, allocations: 4 kB / 0.7423 GB, free: 11.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=8): time 0.002153/0.2757, allocations: 1.293 MB / 0.7436 GB, free: 9.797 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.2758, allocations: 85.11 kB / 0.7437 GB, free: 9.695 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002111/0.2779, allocations: 1.265 MB / 0.7449 GB, free: 8.418 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.69e-05/0.278, allocations: 29.69 kB / 0.7449 GB, free: 8.383 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003144/0.2784, allocations: 293.5 kB / 0.7452 GB, free: 8.09 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-05/0.2784, allocations: 23.75 kB / 0.7452 GB, free: 8.066 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.2785, allocations: 0 / 0.7452 GB, free: 8.066 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002637/0.2788, allocations: 431.8 kB / 0.7457 GB, free: 7.637 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002076/0.2808, allocations: 1.361 MB / 0.747 GB, free: 6.273 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002185/0.2831, allocations: 1.486 MB / 0.7484 GB, free: 4.777 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002625/0.2857, allocations: 1.899 MB / 0.7503 GB, free: 2.863 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.2858, allocations: 0 / 0.7503 GB, free: 2.863 MB / 0.573 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.006816/0.2926, allocations: 3.957 MB / 0.7542 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.092e-05/0.2927, allocations: 4 kB / 0.7542 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/0.2927, allocations: 0 / 0.7542 GB, free: 14.87 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/0.2928, allocations: 4 kB / 0.7542 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.293, allocations: 15.98 kB / 0.7542 GB, free: 14.85 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.293, allocations: 4.031 kB / 0.7542 GB, free: 14.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000968/0.294, allocations: 236.2 kB / 0.7544 GB, free: 14.61 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.2941, allocations: 23.98 kB / 0.7544 GB, free: 14.59 MB / 0.5886 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.0005036/0.2946, allocations: 249.6 kB / 0.7547 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2947, allocations: 78.67 kB / 0.7547 GB, free: 14.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004838/0.2952, allocations: 83.67 kB / 0.7548 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.97e-06/0.2952, allocations: 0 / 0.7548 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2953, allocations: 3.984 kB / 0.7548 GB, free: 14.16 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.2953, allocations: 4 kB / 0.7548 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.296, allocations: 0.5138 MB / 0.7553 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.296, allocations: 0 / 0.7553 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.2961, allocations: 8 kB / 0.7553 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.2962, allocations: 0 / 0.7553 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.2962, allocations: 3.984 kB / 0.7553 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-06/0.2962, allocations: 7.938 kB / 0.7554 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.2962, allocations: 4.031 kB / 0.7554 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/0.2977, allocations: 1.009 MB / 0.7563 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.298, allocations: 167.8 kB / 0.7565 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.2981, allocations: 0 / 0.7565 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2984, allocations: 8 kB / 0.7565 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.475e-05/0.2985, allocations: 7.984 kB / 0.7565 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.2985, allocations: 11.98 kB / 0.7565 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00142/0.3, allocations: 0.7101 MB / 0.7572 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.31e-07/0.3, allocations: 0 / 0.7572 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001573/0.3016, allocations: 399.8 kB / 0.7576 GB, free: 11.22 MB / 0.5886 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.004/0.3056, allocations: 2.01 MB / 0.7596 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.003797/0.3095, allocations: 2.499 MB / 0.762 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.3095, allocations: 0 / 0.762 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005447/0.3101, allocations: 343.7 kB / 0.7623 GB, free: 6.328 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004738/0.3106, allocations: 48.84 kB / 0.7624 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005243/0.3158, allocations: 2.741 MB / 0.7651 GB, free: 3.477 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007897/0.3167, allocations: 0.9995 MB / 0.766 GB, free: 2.449 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0003651/0.317, allocations: 49.28 kB / 0.7661 GB, free: 2.402 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.3176, allocations: 283.3 kB / 0.7664 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of SimCode: time 1.172e-06/0.3176, allocations: 4 kB / 0.7664 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06702/0.3846, allocations: 17.63 MB / 0.7836 GB, free: 0.7344 MB / 0.6043 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00025/0.3849, allocations: 280 kB / 0.7838 GB, free: 380 kB / 0.6043 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/3.919, allocations: 2.234 kB / 0.7838 GB, free: 380 kB / 0.6043 GB