Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.714/1.714, allocations: 306.1 MB / 321.4 MB, free: 10.74 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 171.3 kB / 393.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.7 MB / 0.6743 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008118/0.0008117, allocations: 100.6 kB / 0.7935 GB, free: 40.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003603/0.0003604, allocations: 12 kB / 0.9225 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4896, allocations: 121.3 MB / 1.041 GB, free: 58.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001206/0.4909, allocations: 1.129 MB / 1.042 GB, free: 57.64 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004371/0.4953, allocations: 5.062 MB / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.685e-05/0.4953, allocations: 6.375 kB / 1.047 GB, free: 53.24 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.4954, allocations: 12.28 kB / 1.047 GB, free: 53.23 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.4957, allocations: 21.7 kB / 1.047 GB, free: 53.22 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001847/0.4975, allocations: 0.7713 MB / 1.048 GB, free: 52.92 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.4977, allocations: 107.1 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.64e-05/0.4977, allocations: 5.344 kB / 1.048 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.4978, allocations: 41.7 kB / 1.048 GB, free: 52.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.498, allocations: 153.4 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.4981, allocations: 11.84 kB / 1.048 GB, free: 52.84 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.5, allocations: 1.328 MB / 1.049 GB, free: 52.47 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.5002, allocations: 268.5 kB / 1.05 GB, free: 52.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001995/0.5004, allocations: 306.6 kB / 1.05 GB, free: 52.19 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.5019, allocations: 1.464 MB / 1.051 GB, free: 51.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.5019, allocations: 0 / 1.051 GB, free: 51.71 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5019, allocations: 3.938 kB / 1.051 GB, free: 51.71 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5019, allocations: 0 / 1.051 GB, free: 51.71 MB / 0.698 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.007434/0.5094, allocations: 1.161 MB / 1.052 GB, free: 50.85 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.5094, allocations: 8.812 kB / 1.052 GB, free: 50.85 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003028/0.5097, allocations: 86.59 kB / 1.053 GB, free: 50.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.51, allocations: 360.5 kB / 1.053 GB, free: 50.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5101, allocations: 6.109 kB / 1.053 GB, free: 50.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.5101, allocations: 4.562 kB / 1.053 GB, free: 50.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003865/0.5105, allocations: 400.7 kB / 1.053 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5105, allocations: 0 / 1.053 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5105, allocations: 7.438 kB / 1.053 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.5105, allocations: 0.9062 kB / 1.053 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003925/0.5109, allocations: 429 kB / 1.054 GB, free: 50.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.5114, allocations: 0.6264 MB / 1.054 GB, free: 50.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004955/0.5119, allocations: 0.5645 MB / 1.055 GB, free: 49.99 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/0.5122, allocations: 336.6 kB / 1.055 GB, free: 49.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007338/0.5129, allocations: 1.035 MB / 1.056 GB, free: 48.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.5132, allocations: 414.6 kB / 1.057 GB, free: 48.75 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.5133, allocations: 4 kB / 1.057 GB, free: 48.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001025/0.5143, allocations: 1.291 MB / 1.058 GB, free: 48.63 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.5143, allocations: 77.11 kB / 1.058 GB, free: 48.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008853/0.5152, allocations: 1.199 MB / 1.059 GB, free: 48.05 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.5153, allocations: 26.41 kB / 1.059 GB, free: 48.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.5154, allocations: 262.1 kB / 1.059 GB, free: 47.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.5154, allocations: 25.81 kB / 1.059 GB, free: 47.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.5155, allocations: 4 kB / 1.059 GB, free: 47.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.5156, allocations: 414.5 kB / 1.06 GB, free: 47.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009161/0.5165, allocations: 1.366 MB / 1.061 GB, free: 46.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000945/0.5174, allocations: 1.489 MB / 1.063 GB, free: 46.46 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007082/0.5245, allocations: 3.508 MB / 1.066 GB, free: 44.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.5246, allocations: 0 / 1.066 GB, free: 44.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003182/0.5277, allocations: 3.941 MB / 1.07 GB, free: 42.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.5278, allocations: 6.312 kB / 1.07 GB, free: 42.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.5278, allocations: 0 / 1.07 GB, free: 42.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5278, allocations: 7.375 kB / 1.07 GB, free: 42.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.5279, allocations: 20.08 kB / 1.07 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.528, allocations: 4.234 kB / 1.07 GB, free: 42.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004071/0.5284, allocations: 231.9 kB / 1.07 GB, free: 42.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.463e-05/0.5284, allocations: 23.05 kB / 1.07 GB, free: 42.5 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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.5287, allocations: 232.9 kB / 1.07 GB, free: 42.38 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.776e-05/0.5287, allocations: 71.48 kB / 1.07 GB, free: 42.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.529, allocations: 80.59 kB / 1.071 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.529, allocations: 3.031 kB / 1.071 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.529, allocations: 0 / 1.071 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.529, allocations: 1.734 kB / 1.071 GB, free: 42.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.5293, allocations: 0.4892 MB / 1.071 GB, free: 41.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.5293, allocations: 0 / 1.071 GB, free: 41.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.599e-05/0.5294, allocations: 11.25 kB / 1.071 GB, free: 41.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.5294, allocations: 0 / 1.071 GB, free: 41.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.5294, allocations: 10.23 kB / 1.071 GB, free: 41.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.5294, allocations: 0 / 1.071 GB, free: 41.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5294, allocations: 0 / 1.071 GB, free: 41.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007689/0.5302, allocations: 0.9995 MB / 1.072 GB, free: 41.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/0.5303, allocations: 154.1 kB / 1.072 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.724e-05/0.5304, allocations: 8.453 kB / 1.072 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.5305, allocations: 3.531 kB / 1.072 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.046e-05/0.5305, allocations: 7 kB / 1.072 GB, free: 41.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5306, allocations: 18.02 kB / 1.072 GB, free: 41.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006041/0.5312, allocations: 0.6527 MB / 1.073 GB, free: 41.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5312, allocations: 0 / 1.073 GB, free: 41.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001053/0.5322, allocations: 394.2 kB / 1.073 GB, free: 41.38 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001084/0.5333, allocations: 495.6 kB / 1.074 GB, free: 41.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001923/0.5353, allocations: 2.493 MB / 1.076 GB, free: 40.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5353, allocations: 4.062 kB / 1.076 GB, free: 40.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.5356, allocations: 340.6 kB / 1.076 GB, free: 40.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.5359, allocations: 37.44 kB / 1.076 GB, free: 40.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.5378, allocations: 1.934 MB / 1.078 GB, free: 39.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.5381, allocations: 0.9671 MB / 1.079 GB, free: 38.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001604/0.5383, allocations: 33.7 kB / 1.079 GB, free: 38.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.027e-05/0.5384, allocations: 31.03 kB / 1.079 GB, free: 38.69 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.5384, allocations: 0 / 1.079 GB, free: 38.69 MB / 0.698 GB Notification: Performance of Templates: time 0.01474/0.5531, allocations: 9.172 MB / 1.088 GB, free: 38.08 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)