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.ShaGFunction.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.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.658/1.658, allocations: 306.1 MB / 321.4 MB, free: 10.71 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.00117/0.00117, allocations: 179.2 kB / 393.1 MB, free: 4.09 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.425/1.425, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0007562/0.0007562, allocations: 94.7 kB / 0.7935 GB, free: 40.04 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.0003641, allocations: 12 kB / 0.9225 GB, free: 8.625 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6106/0.611, allocations: 121.3 MB / 1.041 GB, free: 58.31 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0007861/0.6119, allocations: 308.8 kB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.6131, allocations: 1.139 MB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.625e-05/0.6131, allocations: 1.344 kB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.6131, allocations: 3.938 kB / 1.042 GB, free: 57.26 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0006892/0.6138, allocations: 84.69 kB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.905e-05/0.6138, allocations: 5.812 kB / 1.042 GB, free: 57.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 3.542e-05/0.6139, allocations: 14.67 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.073e-05/0.6139, allocations: 3.938 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.614, allocations: 2.75 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.6142, allocations: 31.25 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.6142, allocations: 1.094 kB / 1.042 GB, free: 57.2 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.6144, allocations: 73.06 kB / 1.043 GB, free: 57.18 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 9.959e-06/0.6144, allocations: 7.922 kB / 1.043 GB, free: 57.17 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.304e-05/0.6144, allocations: 34.56 kB / 1.043 GB, free: 57.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.6146, allocations: 67.12 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.6146, allocations: 0.7812 kB / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6146, allocations: 0 / 1.043 GB, free: 57.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.177e-06/0.6146, allocations: 4.688 kB / 1.043 GB, free: 57.11 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.0002307/0.6148, allocations: 330.5 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.6149, allocations: 10.12 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.6149, allocations: 6.094 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.346e-05/0.615, allocations: 164.4 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.615, allocations: 1.781 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.908e-06/0.615, allocations: 1.547 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.034e-05/0.6151, allocations: 32.67 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.6151, allocations: 2.25 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.6151, allocations: 1.719 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.6151, allocations: 5.719 kB / 1.043 GB, free: 56.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.803e-05/0.6152, allocations: 5.125 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.6155, allocations: 464.5 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.6155, allocations: 171.1 kB / 1.044 GB, free: 55.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.824e-05/0.6155, allocations: 82.11 kB / 1.044 GB, free: 55.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.386e-05/0.6156, allocations: 77.48 kB / 1.044 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6156, allocations: 112.2 kB / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.6156, allocations: 0 / 1.044 GB, free: 55.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.484e-05/0.6157, allocations: 28.44 kB / 1.044 GB, free: 55.52 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.6157, allocations: 132.3 kB / 1.044 GB, free: 55.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.056e-05/0.6158, allocations: 101.4 kB / 1.044 GB, free: 55.28 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.035e-06/0.6158, allocations: 29.42 kB / 1.044 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.6158, allocations: 82.25 kB / 1.044 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.6158, allocations: 0 / 1.044 GB, free: 55.16 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-06/0.6158, allocations: 0 / 1.044 GB, free: 55.16 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.6159, allocations: 316.8 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.6159, allocations: 1.25 kB / 1.045 GB, free: 54.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.332e-06/0.6159, allocations: 5.25 kB / 1.045 GB, free: 54.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.468e-05/0.6159, allocations: 12.77 kB / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.616, allocations: 0 / 1.045 GB, free: 54.83 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.875e-05/0.616, allocations: 34.03 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6161, allocations: 8 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.6161, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6161, allocations: 1.375 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.356e-05/0.6161, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6161, allocations: 0 / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.6161, allocations: 5.25 kB / 1.045 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.6161, allocations: 0.8438 kB / 1.045 GB, free: 54.8 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 5.346e-05/0.6162, allocations: 192.2 kB / 1.045 GB, free: 54.61 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.394e-05/0.6163, allocations: 114.9 kB / 1.045 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.205e-05/0.6163, allocations: 106.9 kB / 1.045 GB, free: 54.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.6163, allocations: 177.7 kB / 1.045 GB, free: 54.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/0.6164, allocations: 189.2 kB / 1.046 GB, free: 54.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.811e-05/0.6164, allocations: 177.5 kB / 1.046 GB, free: 53.84 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.6165, allocations: 411.1 kB / 1.046 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.886e-05/0.6166, allocations: 102.7 kB / 1.046 GB, free: 53.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.6166, allocations: 111 kB / 1.046 GB, free: 53.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.39e-05/0.6166, allocations: 180.4 kB / 1.046 GB, free: 52.99 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.6166, allocations: 177.8 kB / 1.047 GB, free: 52.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-05/0.6167, allocations: 191.6 kB / 1.047 GB, free: 52.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.799e-05/0.6167, allocations: 182.3 kB / 1.047 GB, free: 52.43 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.135e-05/0.6168, allocations: 308.4 kB / 1.047 GB, free: 52.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.6168, allocations: 183.7 kB / 1.047 GB, free: 51.91 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.366e-05/0.6169, allocations: 189.5 kB / 1.048 GB, free: 51.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.6169, allocations: 101 kB / 1.048 GB, free: 51.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.617, allocations: 181.4 kB / 1.048 GB, free: 51.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.617, allocations: 102.3 kB / 1.048 GB, free: 51.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.617, allocations: 85.62 kB / 1.048 GB, free: 51.25 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.617, allocations: 0 / 1.048 GB, free: 51.25 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002682/0.6173, allocations: 25 kB / 1.048 GB, free: 51.25 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.0003692/0.6177, allocations: 239.2 kB / 1.048 GB, free: 51.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.972e-05/0.6178, allocations: 6.844 kB / 1.048 GB, free: 51.07 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6178, allocations: 0 / 1.048 GB, free: 51.07 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.059e-06/0.6178, allocations: 9.375 kB / 1.048 GB, free: 51.06 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.618, allocations: 0.5319 MB / 1.049 GB, free: 50.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.6183, allocations: 182.9 kB / 1.049 GB, free: 50.35 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.127e-05/0.6184, allocations: 0.6718 MB / 1.05 GB, free: 49.65 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.167e-05/0.6185, allocations: 5.344 kB / 1.05 GB, free: 49.65 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.6185, allocations: 14.3 kB / 1.05 GB, free: 49.64 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.6185, allocations: 0 / 1.05 GB, free: 49.64 MB / 0.698 GB Notification: Performance of Templates: time 0.002498/0.621, allocations: 0.6473 MB / 1.05 GB, free: 49.53 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)