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.001294/0.001294, allocations: 83.59 kB / 20.45 MB, free: 4.113 MB / 18.57 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.001521/0.001521, allocations: 169 kB / 23.82 MB, free: 0.7422 MB / 18.57 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 0.9629/0.9629, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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 1.766/1.766, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] 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 1.783e-06/1.783e-06, allocations: 3.938 kB / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.939e-05, allocations: 5.375 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001293/0.001322, allocations: 0.5843 MB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001102/0.002424, allocations: 1.039 MB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.002446, allocations: 0.6875 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.813e-05/0.002464, allocations: 0 / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005068/0.002971, allocations: 96.55 kB / 0.7889 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 2.703e-05/0.002998, allocations: 4.656 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.79e-05/0.003046, allocations: 11.92 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.003084, allocations: 0.5 kB / 0.7889 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.019e-05/0.003115, allocations: 11.42 kB / 0.7889 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.003289, allocations: 31.97 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.0033, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001486/0.003449, allocations: 79.84 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.107e-06/0.003458, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.003476, allocations: 0 / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.003635, allocations: 95.7 kB / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003637, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.82e-07/0.003638, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.003643, allocations: 0 / 0.7891 GB, free: 10.44 MB / 0.7448 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.0002563/0.003899, allocations: 353 kB / 0.7894 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.003934, allocations: 13.69 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.315e-05/0.003967, allocations: 0.9375 kB / 0.7894 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.515e-05/0.004043, allocations: 112.6 kB / 0.7895 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.004051, allocations: 4.312 kB / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-06/0.004061, allocations: 384 / 0.7896 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.639e-05/0.004128, allocations: 31.59 kB / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.004135, allocations: 192 / 0.7896 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.298e-06/0.004144, allocations: 12.11 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.004151, allocations: 1.594 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.031e-05/0.004161, allocations: 0 / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003119/0.004473, allocations: 486.5 kB / 0.7901 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.053e-05/0.004553, allocations: 265.4 kB / 0.7903 GB, free: 9.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.004583, allocations: 128.1 kB / 0.7904 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.004608, allocations: 119.2 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.004647, allocations: 160.5 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.004648, allocations: 1.406 kB / 0.7907 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.647e-05/0.004705, allocations: 37.59 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.004754, allocations: 174.6 kB / 0.7909 GB, free: 8.438 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.609e-05/0.00484, allocations: 154.5 kB / 0.7911 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.004849, allocations: 29.7 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.004885, allocations: 131.4 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.505e-06/0.004888, allocations: 0.5312 kB / 0.7912 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.00491, allocations: 15.38 kB / 0.7912 GB, free: 8.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003402/0.00525, allocations: 0.4892 MB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.005259, allocations: 0 / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.7e-06/0.005264, allocations: 0.8125 kB / 0.7917 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.622e-05/0.005291, allocations: 12.22 kB / 0.7917 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005292, allocations: 5.312 kB / 0.7917 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.517e-05/0.005378, allocations: 37.64 kB / 0.7918 GB, free: 7.516 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.005389, allocations: 4 kB / 0.7918 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.005393, allocations: 5.281 kB / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.005404, allocations: 0 / 0.7918 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.629e-05/0.00542, allocations: 3.984 kB / 0.7918 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.005427, allocations: 0 / 0.7918 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.22e-05/0.005439, allocations: 0.6562 kB / 0.7918 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.005443, allocations: 0 / 0.7918 GB, free: 7.504 MB / 0.7448 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 7.511e-05/0.005518, allocations: 276.5 kB / 0.792 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.005563, allocations: 157.9 kB / 0.7922 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.338e-05/0.005607, allocations: 148 kB / 0.7923 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.181e-05/0.005659, allocations: 280 kB / 0.7926 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-05/0.005709, allocations: 268.8 kB / 0.7928 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.207e-05/0.005761, allocations: 268.1 kB / 0.7931 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.005903, allocations: 492.8 kB / 0.7936 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/0.005935, allocations: 156.9 kB / 0.7937 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.657e-05/0.005961, allocations: 144.9 kB / 0.7939 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-05/0.006012, allocations: 269.2 kB / 0.7941 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.006065, allocations: 272 kB / 0.7944 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-05/0.006116, allocations: 268 kB / 0.7946 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.064e-05/0.006166, allocations: 265 kB / 0.7949 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000114/0.00628, allocations: 455.9 kB / 0.7953 GB, free: 3.707 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.348e-05/0.006314, allocations: 147.1 kB / 0.7955 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.006377, allocations: 276.2 kB / 0.7957 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.466e-05/0.006431, allocations: 152.9 kB / 0.7959 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.006488, allocations: 268 kB / 0.7961 GB, free: 2.855 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.006517, allocations: 148.9 kB / 0.7963 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.486e-05/0.006551, allocations: 123.2 kB / 0.7964 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006552, allocations: 3.188 kB / 0.7964 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001739/0.006725, allocations: 27.86 kB / 0.7964 GB, free: 2.555 MB / 0.7448 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.000289/0.007014, allocations: 285.8 kB / 0.7967 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.603e-05/0.00707, allocations: 12.84 kB / 0.7967 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.007073, allocations: 4 kB / 0.7967 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.625e-06/0.007075, allocations: 3.938 kB / 0.7967 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.007358, allocations: 0.7028 MB / 0.7974 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.007684, allocations: 264.6 kB / 0.7976 GB, free: 1.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.026e-05/0.007714, allocations: 55.36 kB / 0.7977 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.187e-05/0.007736, allocations: 1.062 kB / 0.7977 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.007755, allocations: 13.36 kB / 0.7977 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/0.007755, allocations: 4 kB / 0.7977 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.002222/0.009978, allocations: 0.7231 MB / 0.7984 GB, free: 0.5156 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0532657080329955]