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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") 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.662/1.662, allocations: 297.4 MB / 312.6 MB, free: 2.969 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.0009183/0.0009181, allocations: 182 kB / 382.3 MB, free: 14.86 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.404/1.404, allocations: 225.7 MB / 0.6617 GB, free: 7.262 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.000826/0.0008261, allocations: 90.78 kB / 0.7789 GB, free: 47.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003739/0.0003739, allocations: 8 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5867, allocations: 119.2 MB / 1.022 GB, free: 58.13 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006396/0.5873, allocations: 308.9 kB / 1.023 GB, free: 58.01 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001132/0.5885, allocations: 1.139 MB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.459e-05/0.5885, allocations: 5.062 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.467e-06/0.5885, allocations: 0.5 kB / 1.024 GB, free: 57.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.5891, allocations: 77.86 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.569e-05/0.5892, allocations: 5.297 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.07e-05/0.5892, allocations: 10.06 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.5893, allocations: 1.875 kB / 1.024 GB, free: 57.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.768e-05/0.5893, allocations: 9.672 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.5895, allocations: 30.88 kB / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.827e-06/0.5895, allocations: 0 / 1.024 GB, free: 57.29 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.5897, allocations: 79.91 kB / 1.024 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.165e-06/0.5897, allocations: 1.375 kB / 1.024 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.5897, allocations: 36.27 kB / 1.024 GB, free: 57.23 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001259/0.5898, allocations: 70.34 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5899, allocations: 1.188 kB / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5899, allocations: 0 / 1.024 GB, free: 57.22 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.696e-06/0.5899, allocations: 0 / 1.024 GB, free: 57.22 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002037/0.5901, allocations: 326 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.5901, allocations: 10.97 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.5901, allocations: 4.438 kB / 1.024 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.28e-05/0.5902, allocations: 176.6 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.5902, allocations: 4.312 kB / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.5903, allocations: 384 / 1.025 GB, free: 56.66 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.028e-05/0.5903, allocations: 32.45 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.5903, allocations: 0.875 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.5903, allocations: 1.031 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5904, allocations: 4.938 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.535e-05/0.5904, allocations: 5.531 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002507/0.5906, allocations: 471 kB / 1.025 GB, free: 56.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.991e-05/0.5907, allocations: 165.1 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.521e-05/0.5907, allocations: 89.69 kB / 1.025 GB, free: 55.85 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.5907, allocations: 77.11 kB / 1.025 GB, free: 55.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.5907, allocations: 111.5 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.81e-07/0.5907, allocations: 0 / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 5.529e-05/0.5908, allocations: 29.05 kB / 1.025 GB, free: 55.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.5908, allocations: 128 kB / 1.026 GB, free: 55.49 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.167e-05/0.5909, allocations: 102.3 kB / 1.026 GB, free: 55.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.5909, allocations: 26.89 kB / 1.026 GB, free: 55.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.82e-05/0.5909, allocations: 83.64 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.5909, allocations: 0 / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-06/0.591, allocations: 1.812 kB / 1.026 GB, free: 55.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.591, allocations: 314.8 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.357e-06/0.591, allocations: 0 / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.29e-06/0.591, allocations: 1.406 kB / 1.026 GB, free: 54.96 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.5911, allocations: 15.77 kB / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.5911, allocations: 0 / 1.026 GB, free: 54.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.792e-05/0.5911, allocations: 35.23 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5912, allocations: 4.984 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.5912, allocations: 0 / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.5912, allocations: 2.406 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.402e-05/0.5912, allocations: 0.6094 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5912, allocations: 1.156 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.5912, allocations: 3.5 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.5912, allocations: 0.6094 kB / 1.026 GB, free: 54.91 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 4.618e-05/0.5913, allocations: 189.4 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.499e-05/0.5913, allocations: 105.8 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.5914, allocations: 110.5 kB / 1.027 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/0.5914, allocations: 184.3 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/0.5914, allocations: 182.2 kB / 1.027 GB, free: 54.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.228e-05/0.5914, allocations: 179.1 kB / 1.027 GB, free: 53.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.5916, allocations: 412.4 kB / 1.027 GB, free: 53.49 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.5916, allocations: 103.9 kB / 1.028 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.5916, allocations: 105.7 kB / 1.028 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-05/0.5917, allocations: 182.9 kB / 1.028 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.5917, allocations: 188.5 kB / 1.028 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-05/0.5917, allocations: 185 kB / 1.028 GB, free: 52.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.135e-05/0.5918, allocations: 177 kB / 1.028 GB, free: 52.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.801e-05/0.5918, allocations: 313.2 kB / 1.029 GB, free: 52.21 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.99e-05/0.5919, allocations: 185.8 kB / 1.029 GB, free: 52.01 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.5919, allocations: 186.3 kB / 1.029 GB, free: 51.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.592, allocations: 103.5 kB / 1.029 GB, free: 51.72 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.592, allocations: 182.1 kB / 1.029 GB, free: 51.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.592, allocations: 101 kB / 1.029 GB, free: 51.43 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.409e-05/0.592, allocations: 80.88 kB / 1.029 GB, free: 51.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.592, allocations: 4 kB / 1.029 GB, free: 51.35 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002368/0.5923, allocations: 30.31 kB / 1.029 GB, free: 51.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0002928/0.5926, allocations: 230 kB / 1.03 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.42e-05/0.5926, allocations: 2.938 kB / 1.03 GB, free: 51.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.5926, allocations: 8.062 kB / 1.03 GB, free: 51.17 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.5927, allocations: 3.938 kB / 1.03 GB, free: 51.16 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.5929, allocations: 0.5274 MB / 1.03 GB, free: 50.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002656/0.5932, allocations: 190.3 kB / 1.03 GB, free: 50.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.19e-05/0.5933, allocations: 0.6747 MB / 1.031 GB, free: 49.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.254e-05/0.5933, allocations: 3.031 kB / 1.031 GB, free: 49.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.5933, allocations: 8.656 kB / 1.031 GB, free: 49.75 MB / 0.698 GB Notification: Performance of SimCode: time 1.252e-06/0.5933, allocations: 0 / 1.031 GB, free: 49.75 MB / 0.698 GB Notification: Performance of Templates: time 0.002381/0.5957, allocations: 0.655 MB / 1.032 GB, free: 49.64 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)