Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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.3-maint.7.0.x/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.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_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.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 255.9 MB / 271.2 MB, free: 8.891 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.001492/0.001492, allocations: 190.1 kB / 330.8 MB, free: 496 kB / 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 1.636/1.636, allocations: 225.7 MB / 0.6016 GB, free: 15.95 MB / 442.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.001016/0.001016, allocations: 103.6 kB / 0.709 GB, free: 5.398 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003006/0.0003007, allocations: 10.34 kB / 0.8262 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1839, allocations: 109.2 MB / 0.9328 GB, free: 24.08 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001775/0.1857, allocations: 1.418 MB / 0.9342 GB, free: 22.66 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.005184/0.1909, allocations: 6.158 MB / 0.9402 GB, free: 16 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.191, allocations: 0 / 0.9402 GB, free: 16 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1921, allocations: 350.7 kB / 0.9405 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.1923, allocations: 63.72 kB / 0.9406 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00176/0.194, allocations: 0.757 MB / 0.9413 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1942, allocations: 191.3 kB / 0.9415 GB, free: 14.64 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.1943, allocations: 21.47 kB / 0.9415 GB, free: 14.62 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.138e-05/0.1944, allocations: 51.73 kB / 0.9416 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001898/0.1946, allocations: 180.8 kB / 0.9418 GB, free: 14.39 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.828e-05/0.1946, allocations: 12 kB / 0.9418 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.1961, allocations: 1.318 MB / 0.9431 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.1963, allocations: 279.7 kB / 0.9433 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.1965, allocations: 335.8 kB / 0.9436 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001317/0.1978, allocations: 1.535 MB / 0.9451 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.1978, allocations: 0 / 0.9451 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1979, allocations: 0 / 0.9451 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1979, allocations: 0 / 0.9451 GB, free: 10.91 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.007237/0.2051, allocations: 1.214 MB / 0.9463 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.2052, allocations: 15.98 kB / 0.9463 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003241/0.2055, allocations: 95.58 kB / 0.9464 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.2059, allocations: 398.1 kB / 0.9468 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2059, allocations: 8.375 kB / 0.9468 GB, free: 9.09 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.206, allocations: 8.359 kB / 0.9468 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003474/0.2063, allocations: 395.4 kB / 0.9472 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.2063, allocations: 0 / 0.9472 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.2064, allocations: 0 / 0.9472 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2064, allocations: 11.94 kB / 0.9472 GB, free: 8.672 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/0.2067, allocations: 431.7 kB / 0.9476 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004792/0.2072, allocations: 0.6613 MB / 0.9483 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003726/0.2076, allocations: 0.5594 MB / 0.9488 GB, free: 6.961 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.2078, allocations: 341.7 kB / 0.9491 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008097/0.2086, allocations: 1.032 MB / 0.9502 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002932/0.2089, allocations: 416.8 kB / 0.9506 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.2089, allocations: 0 / 0.9506 GB, free: 4.941 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.0009455/0.2099, allocations: 1.293 MB / 0.9518 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2099, allocations: 85.23 kB / 0.9519 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009615/0.2109, allocations: 1.273 MB / 0.9531 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.2109, allocations: 29.7 kB / 0.9532 GB, free: 2.219 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.2111, allocations: 281.4 kB / 0.9534 GB, free: 1.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.902e-05/0.2111, allocations: 19.75 kB / 0.9535 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.2112, allocations: 3.984 kB / 0.9535 GB, free: 1.914 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2113, allocations: 427.8 kB / 0.9539 GB, free: 1.488 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.2121, allocations: 1.361 MB / 0.9552 GB, free: 128 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.2134, allocations: 1.493 MB / 0.9567 GB, free: 14.62 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007917/0.2213, allocations: 3.506 MB / 0.9601 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.2214, allocations: 0 / 0.9601 GB, free: 11.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004116/0.2255, allocations: 3.957 MB / 0.9639 GB, free: 7.027 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.2255, allocations: 4 kB / 0.9639 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.2255, allocations: 0 / 0.9639 GB, free: 7.023 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2256, allocations: 4 kB / 0.9639 GB, free: 7.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.2257, allocations: 19.92 kB / 0.964 GB, free: 7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2257, allocations: 0 / 0.964 GB, free: 7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.2262, allocations: 228.3 kB / 0.9642 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.2263, allocations: 23.98 kB / 0.9642 GB, free: 6.746 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.2266, allocations: 246.4 kB / 0.9644 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.002e-05/0.2267, allocations: 74.62 kB / 0.9645 GB, free: 6.422 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002823/0.227, allocations: 87.56 kB / 0.9646 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.227, allocations: 0 / 0.9646 GB, free: 6.328 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.227, allocations: 4 kB / 0.9646 GB, free: 6.324 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.227, allocations: 11.92 kB / 0.9646 GB, free: 6.312 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.2275, allocations: 0.5061 MB / 0.9651 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2275, allocations: 3.984 kB / 0.9651 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.217e-05/0.2276, allocations: 11.94 kB / 0.9651 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2276, allocations: 0 / 0.9651 GB, free: 5.746 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.2276, allocations: 3.984 kB / 0.9651 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2276, allocations: 4 kB / 0.9651 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.2276, allocations: 0 / 0.9651 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009043/0.2285, allocations: 1.009 MB / 0.9661 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.2286, allocations: 159.7 kB / 0.9663 GB, free: 4.535 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.2287, allocations: 3.984 kB / 0.9663 GB, free: 4.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.2289, allocations: 7.984 kB / 0.9663 GB, free: 4.523 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.2289, allocations: 11.98 kB / 0.9663 GB, free: 4.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.229, allocations: 11.98 kB / 0.9663 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007558/0.2297, allocations: 0.7101 MB / 0.967 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.11e-07/0.2297, allocations: 0 / 0.967 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001036/0.2308, allocations: 407.8 kB / 0.9674 GB, free: 3.387 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 (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.001165/0.2319, allocations: 490.7 kB / 0.9679 GB, free: 2.898 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002449/0.2344, allocations: 2.499 MB / 0.9703 GB, free: 400 kB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2344, allocations: 0 / 0.9703 GB, free: 400 kB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.2348, allocations: 335.8 kB / 0.9706 GB, free: 64 kB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.2352, allocations: 58.11 kB / 0.9707 GB, free: 8 kB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.2375, allocations: 2.079 MB / 0.9727 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005408/0.2381, allocations: 0.9842 MB / 0.9737 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002158/0.2383, allocations: 45.41 kB / 0.9737 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.2384, allocations: 23.42 kB / 0.9737 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of SimCode: time 4.2e-07/0.2384, allocations: 0 / 0.9737 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.01865/0.2571, allocations: 9.776 MB / 0.9833 GB, free: 3.074 MB / 0.6198 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)