Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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_8_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_8_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 8.1.1-maint.8.1.x/package.mo): time 1.611/1.611, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.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.001327/0.001327, allocations: 182 kB / 382.3 MB, free: 14.84 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.357/1.357, allocations: 225.7 MB / 0.6617 GB, free: 7.254 MB / 490.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.0007898/0.0007897, allocations: 91.48 kB / 0.7789 GB, free: 47.1 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0005031/0.0005032, allocations: 12 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6124/0.6129, allocations: 119.2 MB / 1.022 GB, free: 58.58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001888/0.6149, allocations: 1.427 MB / 1.024 GB, free: 57.9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005543/0.6204, allocations: 6.154 MB / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.806e-05/0.6205, allocations: 0 / 1.03 GB, free: 52.89 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001067/0.6216, allocations: 351.7 kB / 1.03 GB, free: 52.74 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.6217, allocations: 56.7 kB / 1.03 GB, free: 52.71 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.6239, allocations: 0.765 MB / 1.031 GB, free: 52.41 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.6241, allocations: 189.3 kB / 1.031 GB, free: 52.35 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.553e-05/0.6242, allocations: 18.67 kB / 1.031 GB, free: 52.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.133e-05/0.6243, allocations: 52.86 kB / 1.031 GB, free: 52.31 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002439/0.6245, allocations: 175.6 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.6246, allocations: 13.75 kB / 1.031 GB, free: 52.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00187/0.6264, allocations: 1.321 MB / 1.033 GB, free: 51.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.6267, allocations: 282.9 kB / 1.033 GB, free: 51.82 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.6269, allocations: 326.3 kB / 1.033 GB, free: 51.6 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00155/0.6284, allocations: 1.543 MB / 1.035 GB, free: 51.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.6285, allocations: 4 kB / 1.035 GB, free: 51.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.333e-06/0.6285, allocations: 0 / 1.035 GB, free: 51.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.6285, allocations: 0.5312 kB / 1.035 GB, free: 51.09 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.00737/0.6359, allocations: 1.222 MB / 1.036 GB, free: 50.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6359, allocations: 7.875 kB / 1.036 GB, free: 50.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003156/0.6362, allocations: 93.94 kB / 1.036 GB, free: 50.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.6366, allocations: 403.2 kB / 1.036 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.6366, allocations: 8.938 kB / 1.036 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.6367, allocations: 10.31 kB / 1.036 GB, free: 49.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000356/0.637, allocations: 388.9 kB / 1.037 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.637, allocations: 1.781 kB / 1.037 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.6371, allocations: 0 / 1.037 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.6371, allocations: 1.562 kB / 1.037 GB, free: 49.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000376/0.6374, allocations: 438.8 kB / 1.037 GB, free: 49.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.638, allocations: 0.6622 MB / 1.038 GB, free: 49.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005038/0.6385, allocations: 0.5648 MB / 1.038 GB, free: 49.29 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.6388, allocations: 338.2 kB / 1.039 GB, free: 49.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008264/0.6396, allocations: 1.035 MB / 1.04 GB, free: 48.13 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003871/0.64, allocations: 412.2 kB / 1.04 GB, free: 48.05 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.64, allocations: 0 / 1.04 GB, free: 48.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.001201/0.6412, allocations: 1.293 MB / 1.041 GB, free: 47.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.6413, allocations: 82.22 kB / 1.041 GB, free: 47.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.6424, allocations: 1.275 MB / 1.043 GB, free: 47.33 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.6424, allocations: 31.39 kB / 1.043 GB, free: 47.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.6426, allocations: 281.6 kB / 1.043 GB, free: 47.08 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.595e-05/0.6426, allocations: 25.44 kB / 1.043 GB, free: 47.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.6427, allocations: 7.984 kB / 1.043 GB, free: 47.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.6428, allocations: 425.1 kB / 1.043 GB, free: 46.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009582/0.6437, allocations: 1.359 MB / 1.045 GB, free: 46.24 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.6448, allocations: 1.493 MB / 1.046 GB, free: 45.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007069/0.6519, allocations: 3.502 MB / 1.05 GB, free: 43.91 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.6519, allocations: 2.969 kB / 1.05 GB, free: 43.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003153/0.6551, allocations: 3.947 MB / 1.053 GB, free: 41.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.6551, allocations: 10.34 kB / 1.053 GB, free: 41.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.6551, allocations: 3.25 kB / 1.053 GB, free: 41.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.6551, allocations: 3.703 kB / 1.053 GB, free: 41.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.6553, allocations: 15.25 kB / 1.053 GB, free: 41.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.6553, allocations: 3.938 kB / 1.053 GB, free: 41.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/0.6558, allocations: 231.5 kB / 1.054 GB, free: 41.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.626e-05/0.6558, allocations: 27.09 kB / 1.054 GB, free: 41.75 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.0002445/0.6561, allocations: 253.2 kB / 1.054 GB, free: 41.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.659e-05/0.6561, allocations: 78.64 kB / 1.054 GB, free: 41.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.6564, allocations: 84.42 kB / 1.054 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.6564, allocations: 3.219 kB / 1.054 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.6564, allocations: 0 / 1.054 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.6564, allocations: 0 / 1.054 GB, free: 41.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.6568, allocations: 0.5109 MB / 1.055 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6568, allocations: 0 / 1.055 GB, free: 41.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.546e-05/0.6569, allocations: 14.44 kB / 1.055 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.6569, allocations: 1.219 kB / 1.055 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.6569, allocations: 3.75 kB / 1.055 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.6569, allocations: 3.156 kB / 1.055 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.6569, allocations: 0 / 1.055 GB, free: 41.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006801/0.6576, allocations: 1.007 MB / 1.056 GB, free: 41.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.065e-05/0.6577, allocations: 168.6 kB / 1.056 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.6577, allocations: 8.516 kB / 1.056 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.6579, allocations: 4.766 kB / 1.056 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.6579, allocations: 7.078 kB / 1.056 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.658, allocations: 11.47 kB / 1.056 GB, free: 40.89 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000617/0.6586, allocations: 0.7066 MB / 1.057 GB, free: 40.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6586, allocations: 4 kB / 1.057 GB, free: 40.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009913/0.6596, allocations: 402.6 kB / 1.057 GB, free: 40.58 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.001005/0.6606, allocations: 487.4 kB / 1.057 GB, free: 40.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.6623, allocations: 2.499 MB / 1.06 GB, free: 39.41 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.6623, allocations: 0 / 1.06 GB, free: 39.41 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.6625, allocations: 343.5 kB / 1.06 GB, free: 39.39 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004067/0.6629, allocations: 56.11 kB / 1.06 GB, free: 39.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.6647, allocations: 2.075 MB / 1.062 GB, free: 38.55 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.665, allocations: 0.9856 MB / 1.063 GB, free: 37.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001738/0.6652, allocations: 51.11 kB / 1.063 GB, free: 37.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.6653, allocations: 27.02 kB / 1.063 GB, free: 37.83 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.6653, allocations: 0 / 1.063 GB, free: 37.83 MB / 0.698 GB Notification: Performance of Templates: time 0.01564/0.6809, allocations: 9.766 MB / 1.073 GB, free: 37.21 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)