Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 166.2 kB / 22.46 MB, free: 5.359 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.855/2.855, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.701e-05/2.902e-05, allocations: 2.281 kB / 0.951 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001674/0.001703, allocations: 0.5878 MB / 0.9516 GB, free: 10.9 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001652/0.003355, allocations: 0.9993 MB / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.003381, allocations: 0 / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.003393, allocations: 0 / 0.9526 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.004131, allocations: 103.6 kB / 0.9527 GB, free: 9.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 3.639e-05/0.004168, allocations: 8 kB / 0.9527 GB, free: 9.777 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.196e-05/0.00422, allocations: 7.984 kB / 0.9527 GB, free: 9.77 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.00426, allocations: 7.984 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.49e-05/0.004305, allocations: 7.938 kB / 0.9527 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002417/0.004546, allocations: 31.91 kB / 0.9528 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.00456, allocations: 4 kB / 0.9528 GB, free: 9.719 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.004751, allocations: 71.92 kB / 0.9528 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.004763, allocations: 3.984 kB / 0.9528 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.793e-05/0.004791, allocations: 8 kB / 0.9528 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.004983, allocations: 83.77 kB / 0.9529 GB, free: 9.555 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.004986, allocations: 3.938 kB / 0.9529 GB, free: 9.551 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.01e-07/0.004986, allocations: 3.938 kB / 0.9529 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.004992, allocations: 4 kB / 0.9529 GB, free: 9.543 MB / 0.8575 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.0004206/0.005412, allocations: 266.2 kB / 0.9532 GB, free: 9.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.005452, allocations: 8.031 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.005486, allocations: 0.9375 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.005615, allocations: 105.8 kB / 0.9533 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.005629, allocations: 384 / 0.9533 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.212e-05/0.005641, allocations: 8.359 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.972e-05/0.005741, allocations: 30.27 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.005753, allocations: 192 / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.005769, allocations: 4.125 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005774, allocations: 4 kB / 0.9533 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.107e-05/0.005795, allocations: 3.984 kB / 0.9533 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005073/0.006303, allocations: 347.1 kB / 0.9537 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.006434, allocations: 165.8 kB / 0.9538 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.583e-05/0.00648, allocations: 80.14 kB / 0.9539 GB, free: 8.438 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.006515, allocations: 75.28 kB / 0.954 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.463e-05/0.00659, allocations: 113.8 kB / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.006591, allocations: 0 / 0.9541 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.192e-05/0.006673, allocations: 33.64 kB / 0.9541 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.006775, allocations: 130.7 kB / 0.9542 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.006886, allocations: 101.9 kB / 0.9543 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.0069, allocations: 25.7 kB / 0.9544 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.00696, allocations: 88.09 kB / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.006962, allocations: 0 / 0.9545 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.006992, allocations: 13.72 kB / 0.9545 GB, free: 7.812 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.007151, allocations: 314.8 kB / 0.9548 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-06/0.00716, allocations: 0 / 0.9548 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.007169, allocations: 4 kB / 0.9548 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.916e-05/0.007198, allocations: 4.859 kB / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.0072, allocations: 0 / 0.9548 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001575/0.007357, allocations: 53.58 kB / 0.9548 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.007377, allocations: 4 kB / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.007382, allocations: 0 / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.0074, allocations: 0 / 0.9548 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.44e-05/0.007424, allocations: 7.984 kB / 0.9548 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.007431, allocations: 4 kB / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.06e-05/0.007452, allocations: 0 / 0.9548 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.007458, allocations: 0 / 0.9548 GB, free: 7.41 MB / 0.8575 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 0.0001482/0.007607, allocations: 181.1 kB / 0.955 GB, free: 7.223 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.007695, allocations: 112.9 kB / 0.9551 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.635e-05/0.007772, allocations: 108.2 kB / 0.9552 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001032/0.007875, allocations: 188.3 kB / 0.9554 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.836e-05/0.007973, allocations: 188.2 kB / 0.9556 GB, free: 6.609 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.543e-05/0.008059, allocations: 176.3 kB / 0.9557 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.008338, allocations: 352.8 kB / 0.9561 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.206e-05/0.00839, allocations: 109 kB / 0.9562 GB, free: 5.934 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.008446, allocations: 101 kB / 0.9563 GB, free: 5.828 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-05/0.00854, allocations: 184.2 kB / 0.9565 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.911e-05/0.008629, allocations: 180.2 kB / 0.9566 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001081/0.008737, allocations: 188.2 kB / 0.9568 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001107/0.008848, allocations: 180.3 kB / 0.957 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.009059, allocations: 307.8 kB / 0.9573 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.091e-05/0.00913, allocations: 105 kB / 0.9574 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.009245, allocations: 184.1 kB / 0.9576 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.5e-05/0.00934, allocations: 105 kB / 0.9577 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.009441, allocations: 180.3 kB / 0.9578 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-05/0.009497, allocations: 108.9 kB / 0.9579 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.197e-05/0.009559, allocations: 79.28 kB / 0.958 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.009559, allocations: 0 / 0.958 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003017/0.00986, allocations: 23.92 kB / 0.958 GB, free: 3.953 MB / 0.8575 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.0004248/0.01029, allocations: 243.4 kB / 0.9583 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.495e-05/0.01036, allocations: 4 kB / 0.9583 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01036, allocations: 3.938 kB / 0.9583 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-06/0.01036, allocations: 0 / 0.9583 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.01079, allocations: 461.2 kB / 0.9587 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.0112, allocations: 208.2 kB / 0.9589 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.391e-05/0.01125, allocations: 51.36 kB / 0.959 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.01128, allocations: 7.984 kB / 0.959 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.081e-05/0.0113, allocations: 8.5 kB / 0.959 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.0113, allocations: 0 / 0.959 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of Templates: time 0.00356/0.01486, allocations: 0.7006 MB / 0.9597 GB, free: 2.289 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.422192852944136]