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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") 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.454/1.454, allocations: 255.9 MB / 271.2 MB, free: 8.895 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.000988/0.0009882, allocations: 186.3 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.692/1.692, allocations: 225.7 MB / 0.6016 GB, free: 1.68 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.0007602/0.0007602, allocations: 99.55 kB / 0.709 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.000312, allocations: 12.53 kB / 0.8262 GB, free: 115.6 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1776, allocations: 109.2 MB / 0.9328 GB, free: 6.211 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006579/0.1783, allocations: 301.1 kB / 0.9331 GB, free: 5.922 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1794, allocations: 1.138 MB / 0.9342 GB, free: 4.73 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.1794, allocations: 0 / 0.9342 GB, free: 4.73 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.412e-05/0.1795, allocations: 0 / 0.9342 GB, free: 4.73 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007359/0.1802, allocations: 83.84 kB / 0.9343 GB, free: 4.648 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 3.836e-05/0.1803, allocations: 15.94 kB / 0.9343 GB, free: 4.633 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 3.815e-05/0.1803, allocations: 4 kB / 0.9343 GB, free: 4.629 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.1804, allocations: 7.984 kB / 0.9343 GB, free: 4.621 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.197e-05/0.1804, allocations: 11.92 kB / 0.9343 GB, free: 4.609 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1806, allocations: 23.98 kB / 0.9343 GB, free: 4.586 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 8.967e-06/0.1806, allocations: 0 / 0.9343 GB, free: 4.586 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.1808, allocations: 79.91 kB / 0.9344 GB, free: 4.508 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 9.067e-06/0.1808, allocations: 0 / 0.9344 GB, free: 4.508 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.1808, allocations: 29.69 kB / 0.9344 GB, free: 4.473 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.181, allocations: 67.86 kB / 0.9345 GB, free: 4.406 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.181, allocations: 0 / 0.9345 GB, free: 4.406 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.483e-06/0.181, allocations: 0 / 0.9345 GB, free: 4.406 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.181, allocations: 4 kB / 0.9345 GB, free: 4.402 MB / 0.573 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.0002266/0.1812, allocations: 331.8 kB / 0.9348 GB, free: 4.031 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1813, allocations: 8.031 kB / 0.9348 GB, free: 4.023 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1813, allocations: 4.938 kB / 0.9348 GB, free: 4.02 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.871e-05/0.1814, allocations: 164.3 kB / 0.935 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.155e-05/0.1814, allocations: 384 / 0.935 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.343e-06/0.1814, allocations: 384 / 0.935 GB, free: 3.82 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.202e-05/0.1815, allocations: 37.81 kB / 0.935 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.1815, allocations: 0 / 0.935 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-06/0.1815, allocations: 4 kB / 0.935 GB, free: 3.773 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1815, allocations: 0 / 0.935 GB, free: 3.773 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.676e-05/0.1816, allocations: 4 kB / 0.935 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.1819, allocations: 464.6 kB / 0.9355 GB, free: 3.246 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.988e-05/0.1819, allocations: 169.1 kB / 0.9356 GB, free: 3.07 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.1819, allocations: 92.2 kB / 0.9357 GB, free: 2.977 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.1819, allocations: 75.28 kB / 0.9358 GB, free: 2.902 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.182, allocations: 105.8 kB / 0.9359 GB, free: 2.789 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.182, allocations: 0 / 0.9359 GB, free: 2.789 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 5.945e-05/0.182, allocations: 33.62 kB / 0.9359 GB, free: 2.75 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.1821, allocations: 130.6 kB / 0.9361 GB, free: 2.609 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.1821, allocations: 105.8 kB / 0.9362 GB, free: 2.496 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-06/0.1822, allocations: 29.7 kB / 0.9362 GB, free: 2.461 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.1822, allocations: 84.12 kB / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.1822, allocations: 0 / 0.9363 GB, free: 2.375 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.1822, allocations: 3.938 kB / 0.9363 GB, free: 2.371 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.1823, allocations: 322.8 kB / 0.9366 GB, free: 2.047 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.1823, allocations: 4 kB / 0.9366 GB, free: 2.043 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.029e-06/0.1823, allocations: 0 / 0.9366 GB, free: 2.043 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.1823, allocations: 8.922 kB / 0.9366 GB, free: 2.031 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.1823, allocations: 0 / 0.9366 GB, free: 2.031 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.558e-05/0.1824, allocations: 37.64 kB / 0.9366 GB, free: 1.988 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1825, allocations: 4 kB / 0.9366 GB, free: 1.984 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.1825, allocations: 0 / 0.9366 GB, free: 1.984 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.1825, allocations: 0 / 0.9366 GB, free: 1.984 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.721e-05/0.1825, allocations: 7.984 kB / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.1825, allocations: 0 / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.1825, allocations: 0 / 0.9366 GB, free: 1.977 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.1825, allocations: 0 / 0.9366 GB, free: 1.977 MB / 0.573 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.993e-05/0.1826, allocations: 194.3 kB / 0.9368 GB, free: 1.777 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.912e-05/0.1826, allocations: 105 kB / 0.9369 GB, free: 1.668 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.1827, allocations: 111.8 kB / 0.937 GB, free: 1.547 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.1827, allocations: 180.2 kB / 0.9372 GB, free: 1.363 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-05/0.1827, allocations: 176.4 kB / 0.9374 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.1828, allocations: 192.2 kB / 0.9376 GB, free: 0.9883 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.1829, allocations: 405.2 kB / 0.9379 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/0.1829, allocations: 104.9 kB / 0.938 GB, free: 436 kB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.473e-05/0.1829, allocations: 109 kB / 0.9381 GB, free: 320 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/0.183, allocations: 180.2 kB / 0.9383 GB, free: 132 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.183, allocations: 176.3 kB / 0.9385 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-05/0.1831, allocations: 184.3 kB / 0.9387 GB, free: 15.76 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.695e-05/0.1832, allocations: 188.2 kB / 0.9388 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001351/0.1833, allocations: 307.7 kB / 0.9391 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.732e-05/0.1834, allocations: 186.3 kB / 0.9393 GB, free: 15.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.959e-05/0.1835, allocations: 180.3 kB / 0.9395 GB, free: 14.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.1836, allocations: 108.9 kB / 0.9396 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.669e-05/0.1836, allocations: 184.2 kB / 0.9398 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.1837, allocations: 104.9 kB / 0.9399 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.1837, allocations: 87.27 kB / 0.9399 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1837, allocations: 0 / 0.9399 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002417/0.184, allocations: 20 kB / 0.94 GB, free: 14.34 MB / 0.5886 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.0003648/0.1844, allocations: 236.2 kB / 0.9402 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.9e-05/0.1844, allocations: 0 / 0.9402 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1844, allocations: 0 / 0.9402 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.824e-06/0.1844, allocations: 0 / 0.9402 GB, free: 14.11 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1848, allocations: 0.5314 MB / 0.9407 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/0.1852, allocations: 209.8 kB / 0.9409 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.1854, allocations: 0.6731 MB / 0.9416 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.647e-05/0.1854, allocations: 4 kB / 0.9416 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.1855, allocations: 11.44 kB / 0.9416 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of SimCode: time 3.21e-07/0.1855, allocations: 0 / 0.9416 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of Templates: time 0.002552/0.188, allocations: 0.6514 MB / 0.9422 GB, free: 11.98 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)