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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") 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.364/1.364, 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.001037/0.001037, allocations: 174.9 kB / 330.8 MB, free: 444 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.496/1.496, allocations: 225.7 MB / 0.6016 GB, free: 1.605 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.000741/0.0007409, allocations: 95.66 kB / 0.709 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003242, allocations: 8 kB / 0.8262 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 109.2 MB / 0.9328 GB, free: 6.168 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001131/0.171, allocations: 1.118 MB / 0.9339 GB, free: 5.043 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.003945/0.175, allocations: 5.071 MB / 0.9388 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.62e-05/0.175, allocations: 4 kB / 0.9388 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.141e-05/0.1751, allocations: 3.938 kB / 0.9388 GB, free: 15.47 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.1753, allocations: 31.83 kB / 0.9389 GB, free: 15.44 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.1772, allocations: 0.7686 MB / 0.9396 GB, free: 14.66 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.1773, allocations: 107.7 kB / 0.9397 GB, free: 14.56 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.1774, allocations: 15.97 kB / 0.9397 GB, free: 14.54 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.609e-05/0.1774, allocations: 39.84 kB / 0.9398 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1777, allocations: 228.9 kB / 0.94 GB, free: 14.28 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 4.172e-05/0.1778, allocations: 12 kB / 0.94 GB, free: 14.27 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002311/0.1801, allocations: 1.318 MB / 0.9413 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0006738/0.1808, allocations: 0.6796 MB / 0.942 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.1813, allocations: 470.7 kB / 0.9424 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.002334/0.1836, allocations: 1.768 MB / 0.9441 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1836, allocations: 0 / 0.9441 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.046e-05/0.1837, allocations: 4 kB / 0.9441 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.1837, allocations: 3.938 kB / 0.9441 GB, free: 10.02 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.0082/0.1919, allocations: 1.586 MB / 0.9457 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1919, allocations: 11.98 kB / 0.9457 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000402/0.1924, allocations: 146.9 kB / 0.9458 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.1929, allocations: 0.5211 MB / 0.9464 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1929, allocations: 12.36 kB / 0.9464 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.193, allocations: 8.375 kB / 0.9464 GB, free: 7.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.1934, allocations: 387.5 kB / 0.9467 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.1934, allocations: 0 / 0.9467 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1935, allocations: 0 / 0.9467 GB, free: 7.215 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.1935, allocations: 4 kB / 0.9467 GB, free: 7.211 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004423/0.1939, allocations: 439.7 kB / 0.9472 GB, free: 6.781 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/0.1947, allocations: 0.8035 MB / 0.948 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005197/0.1952, allocations: 0.5594 MB / 0.9485 GB, free: 5.336 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.1955, allocations: 341.7 kB / 0.9488 GB, free: 4.996 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.1966, allocations: 1.04 MB / 0.9498 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004003/0.197, allocations: 404.8 kB / 0.9502 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.197, allocations: 0 / 0.9502 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8): time 0.001318/0.1983, allocations: 1.339 MB / 0.9515 GB, free: 1.973 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.483e-05/0.1984, allocations: 85.09 kB / 0.9516 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/0.2002, allocations: 1.831 MB / 0.9534 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.2003, allocations: 37.64 kB / 0.9534 GB, free: 15.95 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.2007, allocations: 473.3 kB / 0.9539 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.016e-05/0.2007, allocations: 27.72 kB / 0.9539 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.2007, allocations: 0 / 0.9539 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2009, allocations: 407 kB / 0.9543 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.2023, allocations: 1.514 MB / 0.9558 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.2037, allocations: 1.646 MB / 0.9574 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008246/0.2119, allocations: 3.655 MB / 0.961 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.212, allocations: 0 / 0.961 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004528/0.2165, allocations: 4.3 MB / 0.9652 GB, free: 3.793 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2165, allocations: 11.97 kB / 0.9652 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.2165, allocations: 0 / 0.9652 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.2166, allocations: 7.938 kB / 0.9652 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2167, allocations: 19.92 kB / 0.9652 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.2167, allocations: 0 / 0.9652 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.2173, allocations: 236.3 kB / 0.9654 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/0.2173, allocations: 19.98 kB / 0.9654 GB, free: 3.5 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.000491/0.2178, allocations: 366.2 kB / 0.9658 GB, free: 3.133 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00012/0.2179, allocations: 130 kB / 0.9659 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.2183, allocations: 145 kB / 0.9661 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2183, allocations: 4 kB / 0.9661 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2184, allocations: 0 / 0.9661 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.2184, allocations: 0 / 0.9661 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.2191, allocations: 0.6756 MB / 0.9667 GB, free: 2.117 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.2191, allocations: 3.984 kB / 0.9667 GB, free: 2.113 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.791e-05/0.2192, allocations: 23.95 kB / 0.9667 GB, free: 2.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2192, allocations: 4 kB / 0.9667 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.2192, allocations: 0 / 0.9667 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.2192, allocations: 0 / 0.9667 GB, free: 2.086 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.2192, allocations: 3.984 kB / 0.9668 GB, free: 2.082 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009783/0.2202, allocations: 1.055 MB / 0.9678 GB, free: 1 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.2204, allocations: 203 kB / 0.968 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.763e-05/0.2205, allocations: 0 / 0.968 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2207, allocations: 11.98 kB / 0.968 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.2208, allocations: 7.984 kB / 0.968 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.853e-05/0.2208, allocations: 11.98 kB / 0.968 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001272/0.2221, allocations: 1.085 MB / 0.9691 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2221, allocations: 0 / 0.9691 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001026/0.2231, allocations: 439.9 kB / 0.9695 GB, free: 15.21 MB / 0.6198 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.0016/0.2247, allocations: 490.1 kB / 0.97 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.227, allocations: 2.648 MB / 0.9725 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.227, allocations: 0 / 0.9725 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.2273, allocations: 335.8 kB / 0.9729 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.2278, allocations: 55.95 kB / 0.9729 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003113/0.2309, allocations: 2.863 MB / 0.9757 GB, free: 8.785 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/0.2317, allocations: 1.151 MB / 0.9768 GB, free: 7.609 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.2319, allocations: 40.48 kB / 0.9769 GB, free: 7.566 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.784e-05/0.232, allocations: 31.34 kB / 0.9769 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.232, allocations: 0 / 0.9769 GB, free: 7.535 MB / 0.6198 GB Notification: Performance of Templates: time 0.01849/0.2505, allocations: 9.738 MB / 0.9864 GB, free: 13.79 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)