Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.171/2.171, allocations: 254.9 MB / 269.9 MB, free: 9.617 MB / 218.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.001383/0.001383, allocations: 186.4 kB / 329.5 MB, free: 1.137 MB / 250.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 2.326/2.326, allocations: 225.6 MB / 0.6001 GB, free: 2.117 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000994/0.0009939, allocations: 114.1 kB / 0.7074 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.00094/0.0009403, allocations: 12.31 kB / 0.8243 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2312, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002009/0.2332, allocations: 1.422 MB / 0.9322 GB, free: 23.68 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.006652/0.2399, allocations: 3.892 MB / 0.936 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.2401, allocations: 0 / 0.936 GB, free: 19.77 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.2415, allocations: 318.7 kB / 0.9363 GB, free: 19.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.2416, allocations: 51.8 kB / 0.9363 GB, free: 19.41 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.2446, allocations: 0.7452 MB / 0.9371 GB, free: 18.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002934/0.2449, allocations: 163.3 kB / 0.9372 GB, free: 18.5 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.2449, allocations: 21.52 kB / 0.9372 GB, free: 18.47 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.25e-05/0.245, allocations: 51.8 kB / 0.9373 GB, free: 18.42 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.2454, allocations: 183.6 kB / 0.9375 GB, free: 18.24 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 6.6e-05/0.2454, allocations: 16 kB / 0.9375 GB, free: 18.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.2483, allocations: 1.31 MB / 0.9388 GB, free: 16.91 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002373/0.2486, allocations: 263.2 kB / 0.939 GB, free: 16.66 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001474/0.2487, allocations: 125.1 kB / 0.9391 GB, free: 16.53 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001812/0.2505, allocations: 1.029 MB / 0.9401 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.2506, allocations: 0 / 0.9401 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.574e-06/0.2506, allocations: 0 / 0.9401 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.424e-06/0.2506, allocations: 0 / 0.9401 GB, free: 15.5 MB / 0.5886 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.01701/0.2676, allocations: 1.215 MB / 0.9413 GB, free: 14.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.2677, allocations: 16.03 kB / 0.9413 GB, free: 14.21 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005316/0.2682, allocations: 95.58 kB / 0.9414 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005928/0.2688, allocations: 398.1 kB / 0.9418 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.2689, allocations: 4.375 kB / 0.9418 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/0.269, allocations: 8.375 kB / 0.9418 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.2695, allocations: 391.5 kB / 0.9422 GB, free: 13.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2695, allocations: 3.938 kB / 0.9422 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.2695, allocations: 4 kB / 0.9422 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-06/0.2695, allocations: 0 / 0.9422 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/0.2701, allocations: 435.7 kB / 0.9426 GB, free: 12.84 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007622/0.2708, allocations: 0.6613 MB / 0.9433 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.2714, allocations: 0.5633 MB / 0.9438 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003605/0.2718, allocations: 333.7 kB / 0.9441 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.273, allocations: 1.044 MB / 0.9452 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.2734, allocations: 416.8 kB / 0.9456 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 3.446e-06/0.2735, allocations: 3.984 kB / 0.9456 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.001552/0.275, allocations: 1.297 MB / 0.9468 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.2751, allocations: 85.05 kB / 0.9469 GB, free: 8.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.2766, allocations: 1.265 MB / 0.9481 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-05/0.2767, allocations: 37.69 kB / 0.9482 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002161/0.277, allocations: 281.3 kB / 0.9484 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.277, allocations: 19.72 kB / 0.9485 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-05/0.2771, allocations: 0 / 0.9485 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2772, allocations: 436 kB / 0.9489 GB, free: 6.062 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.2787, allocations: 1.357 MB / 0.9502 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.2803, allocations: 1.497 MB / 0.9517 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.2821, allocations: 1.887 MB / 0.9535 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2821, allocations: 0 / 0.9535 GB, free: 1.293 MB / 0.5886 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005894/0.288, allocations: 3.961 MB / 0.9574 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.2881, allocations: 4 kB / 0.9574 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.536e-05/0.2881, allocations: 8 kB / 0.9574 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.2881, allocations: 0 / 0.9574 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002093/0.2883, allocations: 15.98 kB / 0.9574 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.2884, allocations: 0 / 0.9574 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.2896, allocations: 228.3 kB / 0.9576 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.2897, allocations: 24.02 kB / 0.9576 GB, free: 13.02 MB / 0.6042 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.0007799/0.2905, allocations: 249.6 kB / 0.9579 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001975/0.2908, allocations: 78.61 kB / 0.958 GB, free: 12.69 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006867/0.2915, allocations: 75.73 kB / 0.958 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2915, allocations: 0 / 0.958 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.2915, allocations: 7.984 kB / 0.958 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.351e-06/0.2915, allocations: 4.031 kB / 0.958 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.2928, allocations: 0.51 MB / 0.9585 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.2928, allocations: 0 / 0.9585 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/0.293, allocations: 15.88 kB / 0.9586 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.2931, allocations: 0 / 0.9586 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.2931, allocations: 7.984 kB / 0.9586 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.4e-05/0.2932, allocations: 0 / 0.9586 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.2932, allocations: 3.938 kB / 0.9586 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.2957, allocations: 0.9978 MB / 0.9595 GB, free: 10.99 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004067/0.2961, allocations: 171.7 kB / 0.9597 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.2963, allocations: 4 kB / 0.9597 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004901/0.2969, allocations: 0 / 0.9597 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.297, allocations: 7.984 kB / 0.9597 GB, free: 10.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.37e-05/0.2971, allocations: 19.92 kB / 0.9597 GB, free: 10.77 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.002097/0.2992, allocations: 0.7101 MB / 0.9604 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.02e-07/0.2992, allocations: 0 / 0.9604 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002383/0.3016, allocations: 399.9 kB / 0.9608 GB, free: 9.668 MB / 0.6042 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.002838/0.3045, allocations: 491.1 kB / 0.9613 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.005616/0.3101, allocations: 2.499 MB / 0.9637 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.3102, allocations: 0 / 0.9637 GB, free: 6.668 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009298/0.3112, allocations: 343.7 kB / 0.964 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008765/0.3121, allocations: 60.77 kB / 0.9641 GB, free: 6.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005983/0.3181, allocations: 1.969 MB / 0.966 GB, free: 4.266 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.3195, allocations: 0.9881 MB / 0.967 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0005624/0.3201, allocations: 41.42 kB / 0.967 GB, free: 3.211 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/0.3204, allocations: 23.42 kB / 0.9671 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of SimCode: time 1.883e-06/0.3205, allocations: 0 / 0.9671 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of Templates: time 0.03244/0.3529, allocations: 9.542 MB / 0.9764 GB, free: 9.656 MB / 0.6198 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)