Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001038/0.001038, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009697/0.0009697, allocations: 161 kB / 23.82 MB, free: 0.7539 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 1.004/1.004, allocations: 177.1 MB / 204.2 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.756/1.756, allocations: 377.8 MB / 0.6236 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.8116 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.54e-05, allocations: 3.406 kB / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001461/0.001477, allocations: 0.6002 MB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001375/0.002852, allocations: 1.047 MB / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.957e-05/0.002871, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.002891, allocations: 0 / 0.8132 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.000623/0.003514, allocations: 84.41 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.233e-05/0.003546, allocations: 16.83 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.0036, allocations: 4 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.468e-05/0.003635, allocations: 0.6562 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.942e-05/0.003664, allocations: 4 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.003857, allocations: 32.78 kB / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.003868, allocations: 0 / 0.8134 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.004041, allocations: 84.98 kB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.227e-05/0.004053, allocations: 7.922 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.732e-05/0.004071, allocations: 4 kB / 0.8135 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.004246, allocations: 81.34 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.004248, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004249, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.004253, allocations: 0 / 0.8135 GB, free: 15.71 MB / 0.7761 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.0003251/0.004578, allocations: 365.7 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.004618, allocations: 8.031 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.004662, allocations: 4.922 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.004758, allocations: 108.6 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.00477, allocations: 2.125 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.474e-06/0.004777, allocations: 384 / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.425e-05/0.004852, allocations: 34.27 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.004859, allocations: 192 / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.004868, allocations: 5.406 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.004874, allocations: 0 / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.159e-05/0.004886, allocations: 0 / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.005248, allocations: 490.5 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.408e-05/0.005342, allocations: 266.7 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.74e-05/0.005379, allocations: 130.8 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.00541, allocations: 123.2 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.005464, allocations: 161 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.005465, allocations: 2.062 kB / 0.8152 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 6.079e-05/0.005526, allocations: 29.64 kB / 0.8152 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/0.005593, allocations: 174.6 kB / 0.8153 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.005689, allocations: 161.9 kB / 0.8155 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.005699, allocations: 25.7 kB / 0.8155 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/0.005741, allocations: 126.9 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.005744, allocations: 0.5312 kB / 0.8156 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.005776, allocations: 24.09 kB / 0.8157 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.005898, allocations: 492.1 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-06/0.005906, allocations: 1.5 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.122e-06/0.005913, allocations: 0 / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.704e-05/0.00594, allocations: 11.69 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.005941, allocations: 0.625 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.432e-05/0.006036, allocations: 42.56 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.006049, allocations: 8 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.006053, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.006066, allocations: 0.75 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.519e-05/0.006081, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006085, allocations: 0.625 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.006098, allocations: 1.312 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.006104, allocations: 8 kB / 0.8162 GB, free: 12.76 MB / 0.7761 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 8.946e-05/0.006194, allocations: 275.8 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.241e-05/0.006256, allocations: 157.6 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.006304, allocations: 152 kB / 0.8168 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-05/0.006377, allocations: 265 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.42e-05/0.006461, allocations: 272 kB / 0.8173 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.211e-05/0.006533, allocations: 268.1 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.006735, allocations: 0.4894 MB / 0.818 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/0.006773, allocations: 144.9 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.00681, allocations: 144.9 kB / 0.8183 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.007002, allocations: 277 kB / 0.8186 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.775e-05/0.00707, allocations: 276 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.318e-05/0.007133, allocations: 268 kB / 0.8191 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.155e-05/0.007195, allocations: 274.3 kB / 0.8193 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.007336, allocations: 443.9 kB / 0.8198 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.007379, allocations: 152.9 kB / 0.8199 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.874e-05/0.007458, allocations: 276.2 kB / 0.8202 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.007531, allocations: 144.9 kB / 0.8203 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.012e-05/0.007601, allocations: 268.1 kB / 0.8206 GB, free: 8.121 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.007641, allocations: 156.3 kB / 0.8207 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.46e-05/0.007686, allocations: 131.2 kB / 0.8208 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.007686, allocations: 0 / 0.8208 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002768/0.007962, allocations: 19.88 kB / 0.8209 GB, free: 7.816 MB / 0.7761 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.0003375/0.0083, allocations: 276.5 kB / 0.8211 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.66e-05/0.008366, allocations: 11.69 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.008368, allocations: 0.5 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.435e-06/0.00837, allocations: 4.5 kB / 0.8211 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.008765, allocations: 0.7106 MB / 0.8218 GB, free: 6.812 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.009101, allocations: 258.8 kB / 0.8221 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.381e-05/0.009135, allocations: 51.36 kB / 0.8221 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.375e-05/0.009158, allocations: 4.703 kB / 0.8221 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.767e-05/0.009176, allocations: 13.59 kB / 0.8221 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of SimCode: time 7.42e-07/0.009177, allocations: 0 / 0.8221 GB, free: 6.445 MB / 0.7761 GB Notification: Performance of Templates: time 0.002962/0.01214, allocations: 0.8544 MB / 0.823 GB, free: 5.664 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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: 4.917841676156968]