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_100boreholes.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_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_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 9.0.0-master/package.mo): time 1.648/1.648, allocations: 306.1 MB / 321.4 MB, free: 10.75 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.0009606/0.0009607, allocations: 179.5 kB / 393.1 MB, free: 4.078 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.335/1.335, allocations: 225.7 MB / 0.6743 GB, free: 12.59 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.000784/0.000784, allocations: 96.92 kB / 0.7935 GB, free: 40.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003256, allocations: 8 kB / 0.9225 GB, free: 8.633 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5053/0.5057, allocations: 121.3 MB / 1.041 GB, free: 58.75 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001196/0.5069, allocations: 1.126 MB / 1.042 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.004003/0.5109, allocations: 5.063 MB / 1.047 GB, free: 53.6 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.186e-05/0.511, allocations: 3.938 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.5111, allocations: 8.172 kB / 1.047 GB, free: 53.59 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.5113, allocations: 20.06 kB / 1.047 GB, free: 53.58 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/0.5131, allocations: 0.7735 MB / 1.048 GB, free: 53.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.5132, allocations: 115.1 kB / 1.048 GB, free: 53.24 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.5133, allocations: 6.344 kB / 1.048 GB, free: 53.23 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.299e-05/0.5133, allocations: 42.62 kB / 1.048 GB, free: 53.22 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.5136, allocations: 222.5 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.5137, allocations: 14.06 kB / 1.048 GB, free: 53.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001733/0.5154, allocations: 1.33 MB / 1.049 GB, free: 52.81 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004891/0.5159, allocations: 0.68 MB / 1.05 GB, free: 52.65 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.5162, allocations: 467.9 kB / 1.051 GB, free: 52.35 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.5178, allocations: 1.768 MB / 1.052 GB, free: 51.74 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.5178, allocations: 1.094 kB / 1.052 GB, free: 51.74 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5178, allocations: 3.938 kB / 1.052 GB, free: 51.74 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.5179, allocations: 0 / 1.052 GB, free: 51.74 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.007489/0.5254, allocations: 1.598 MB / 1.054 GB, free: 50.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5254, allocations: 9.406 kB / 1.054 GB, free: 50.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.5257, allocations: 138 kB / 1.054 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.5261, allocations: 0.528 MB / 1.054 GB, free: 50.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.5262, allocations: 5.906 kB / 1.054 GB, free: 50.08 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.818e-05/0.5262, allocations: 4.484 kB / 1.054 GB, free: 50.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.5266, allocations: 397.8 kB / 1.055 GB, free: 50.01 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.5266, allocations: 0 / 1.055 GB, free: 50.01 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5266, allocations: 4 kB / 1.055 GB, free: 50.01 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5266, allocations: 2.688 kB / 1.055 GB, free: 50.01 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.527, allocations: 433.3 kB / 1.055 GB, free: 50 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005496/0.5275, allocations: 0.8049 MB / 1.056 GB, free: 49.55 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003817/0.5279, allocations: 0.5673 MB / 1.057 GB, free: 49.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002338/0.5282, allocations: 337.3 kB / 1.057 GB, free: 49.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006959/0.5289, allocations: 1.034 MB / 1.058 GB, free: 48.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000312/0.5292, allocations: 411.5 kB / 1.058 GB, free: 48.24 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.323e-06/0.5292, allocations: 0 / 1.058 GB, free: 48.24 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.00102/0.5302, allocations: 1.344 MB / 1.06 GB, free: 48.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.5303, allocations: 82.12 kB / 1.06 GB, free: 48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/0.5316, allocations: 1.823 MB / 1.062 GB, free: 47.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.5317, allocations: 25.7 kB / 1.062 GB, free: 47.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/0.5319, allocations: 481.4 kB / 1.062 GB, free: 46.96 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.532, allocations: 22.81 kB / 1.062 GB, free: 46.95 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.532, allocations: 7.984 kB / 1.062 GB, free: 46.94 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/0.5321, allocations: 412.8 kB / 1.062 GB, free: 46.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009358/0.533, allocations: 1.511 MB / 1.064 GB, free: 46.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009892/0.534, allocations: 1.641 MB / 1.066 GB, free: 45.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007147/0.5412, allocations: 3.657 MB / 1.069 GB, free: 43.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5412, allocations: 2.969 kB / 1.069 GB, free: 43.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003749/0.5449, allocations: 4.3 MB / 1.073 GB, free: 41.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.545, allocations: 5.125 kB / 1.073 GB, free: 41.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.545, allocations: 5.312 kB / 1.073 GB, free: 41.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.545, allocations: 5.188 kB / 1.073 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5451, allocations: 19.19 kB / 1.073 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.5452, allocations: 1.594 kB / 1.073 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/0.5457, allocations: 229.9 kB / 1.074 GB, free: 41.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.784e-05/0.5457, allocations: 22.56 kB / 1.074 GB, free: 41.62 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.0003982/0.5461, allocations: 364.1 kB / 1.074 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.5462, allocations: 128.7 kB / 1.074 GB, free: 41.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.5465, allocations: 151.6 kB / 1.074 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5466, allocations: 1.375 kB / 1.074 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.5466, allocations: 1.375 kB / 1.074 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5466, allocations: 0 / 1.074 GB, free: 41.33 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006075/0.5472, allocations: 0.6756 MB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5472, allocations: 1.5 kB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.853e-05/0.5473, allocations: 12.03 kB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5473, allocations: 1.156 kB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.5473, allocations: 2.5 kB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.5473, allocations: 7.406 kB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5473, allocations: 3.234 kB / 1.075 GB, free: 40.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.5482, allocations: 1.059 MB / 1.076 GB, free: 40.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.5484, allocations: 196.9 kB / 1.076 GB, free: 40.61 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.5485, allocations: 0.9688 kB / 1.076 GB, free: 40.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001956/0.5487, allocations: 11.19 kB / 1.076 GB, free: 40.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.494e-05/0.5487, allocations: 6.594 kB / 1.076 GB, free: 40.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.5488, allocations: 10.38 kB / 1.076 GB, free: 40.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001064/0.5499, allocations: 1.094 MB / 1.077 GB, free: 40.27 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5499, allocations: 0 / 1.077 GB, free: 40.27 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001134/0.551, allocations: 430.3 kB / 1.078 GB, free: 40.2 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.001101/0.5521, allocations: 496.3 kB / 1.078 GB, free: 40.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001994/0.5541, allocations: 2.641 MB / 1.081 GB, free: 39.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5541, allocations: 0 / 1.081 GB, free: 39.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.5545, allocations: 346.1 kB / 1.081 GB, free: 39.01 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5549, allocations: 50.7 kB / 1.081 GB, free: 38.96 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.5576, allocations: 2.86 MB / 1.084 GB, free: 37.85 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.5581, allocations: 1.156 MB / 1.085 GB, free: 37.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001744/0.5583, allocations: 39.39 kB / 1.085 GB, free: 37.13 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.5584, allocations: 26.41 kB / 1.085 GB, free: 37.12 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.5584, allocations: 0.9688 kB / 1.085 GB, free: 37.12 MB / 0.698 GB Notification: Performance of Templates: time 0.01659/0.575, allocations: 9.743 MB / 1.095 GB, free: 36.46 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)