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.001063/0.001063, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001201/0.001201, allocations: 161 kB / 23.82 MB, free: 0.75 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.012/1.012, allocations: 177.1 MB / 204.2 MB, free: 5.246 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.854/1.854, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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.453e-06/1.453e-06, allocations: 0 / 0.8116 GB, free: 1.66 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.858e-05, allocations: 4.141 kB / 0.8116 GB, free: 1.656 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001177/0.001195, allocations: 0.5978 MB / 0.8122 GB, free: 1.078 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002218, allocations: 1.039 MB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.482e-05/0.002243, allocations: 0.875 kB / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.988e-05/0.002263, allocations: 0 / 0.8132 GB, free: 24 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0005535/0.002816, allocations: 92.42 kB / 0.8133 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.914e-05/0.002845, allocations: 15.92 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.52e-05/0.002891, allocations: 5.688 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.368e-05/0.002924, allocations: 0 / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.002954, allocations: 11.92 kB / 0.8133 GB, free: 15.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.00313, allocations: 34.86 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.003141, allocations: 1.531 kB / 0.8134 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.003297, allocations: 79.91 kB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.003306, allocations: 0 / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.003321, allocations: 0 / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.003473, allocations: 88.81 kB / 0.8135 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.003476, allocations: 3.938 kB / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.12e-07/0.003476, allocations: 0 / 0.8135 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.003483, allocations: 5.578 kB / 0.8135 GB, free: 15.7 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.0002876/0.003771, allocations: 356.2 kB / 0.8139 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/0.00381, allocations: 12.03 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.003845, allocations: 0.9375 kB / 0.8139 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.127e-05/0.003936, allocations: 107.1 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.003948, allocations: 4.375 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.003959, allocations: 384 / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.881e-05/0.004028, allocations: 30.27 kB / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.004038, allocations: 192 / 0.814 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.004048, allocations: 4.125 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/0.004058, allocations: 4.531 kB / 0.814 GB, free: 15.13 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.309e-05/0.004071, allocations: 8.641 kB / 0.814 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.004388, allocations: 482.5 kB / 0.8145 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.912e-05/0.004467, allocations: 262 kB / 0.8148 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.004498, allocations: 130.9 kB / 0.8149 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.004522, allocations: 120.8 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.004561, allocations: 156.5 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.11e-07/0.004562, allocations: 3.938 kB / 0.8151 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 5.344e-05/0.004616, allocations: 33.7 kB / 0.8152 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/0.004661, allocations: 171.2 kB / 0.8153 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.004742, allocations: 158.6 kB / 0.8155 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.745e-06/0.00475, allocations: 25.7 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.469e-05/0.004785, allocations: 127.6 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.004787, allocations: 4 kB / 0.8156 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.365e-05/0.004811, allocations: 20.22 kB / 0.8157 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/0.004909, allocations: 492.1 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-06/0.004917, allocations: 5.375 kB / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.949e-06/0.004922, allocations: 0 / 0.8161 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.004948, allocations: 19.61 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.004949, allocations: 1.75 kB / 0.8162 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.288e-05/0.005032, allocations: 37.58 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.005044, allocations: 6.656 kB / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.005049, allocations: 0 / 0.8162 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.005063, allocations: 4.812 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.005079, allocations: 4 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.005084, allocations: 0.9375 kB / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.528e-06/0.005093, allocations: 0 / 0.8162 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.005098, allocations: 0 / 0.8162 GB, free: 12.77 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 7.624e-05/0.005174, allocations: 285 kB / 0.8165 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.005217, allocations: 153 kB / 0.8166 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.00526, allocations: 148.9 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.414e-05/0.005314, allocations: 276 kB / 0.817 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.324e-05/0.005367, allocations: 274.3 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-05/0.005425, allocations: 268.1 kB / 0.8175 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.005575, allocations: 495.8 kB / 0.818 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002587/0.005834, allocations: 144.9 kB / 0.8182 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.005865, allocations: 152.8 kB / 0.8183 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.096e-05/0.005916, allocations: 272.1 kB / 0.8186 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.392e-05/0.00597, allocations: 271.1 kB / 0.8188 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-05/0.006021, allocations: 272 kB / 0.8191 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.116e-05/0.006072, allocations: 264.1 kB / 0.8193 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.006188, allocations: 451.9 kB / 0.8198 GB, free: 8.973 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.273e-05/0.006221, allocations: 148.9 kB / 0.8199 GB, free: 8.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.012e-05/0.006281, allocations: 272.2 kB / 0.8202 GB, free: 8.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.09e-05/0.006332, allocations: 148.9 kB / 0.8203 GB, free: 8.395 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.006388, allocations: 276 kB / 0.8206 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.006417, allocations: 144.9 kB / 0.8207 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.749e-05/0.006454, allocations: 128.4 kB / 0.8208 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006454, allocations: 0 / 0.8208 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001793/0.006634, allocations: 23.88 kB / 0.8209 GB, free: 7.82 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.0003091/0.006943, allocations: 272.6 kB / 0.8211 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.275e-05/0.007005, allocations: 11.62 kB / 0.8211 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.007007, allocations: 7.938 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.007008, allocations: 0.6562 kB / 0.8211 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.007298, allocations: 0.7148 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.0003291/0.007628, allocations: 254.7 kB / 0.8221 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.929e-05/0.007657, allocations: 51.36 kB / 0.8221 GB, free: 6.465 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.279e-05/0.00768, allocations: 5 kB / 0.8221 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.007697, allocations: 8.5 kB / 0.8221 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.007698, allocations: 5.062 kB / 0.8221 GB, free: 6.449 MB / 0.7761 GB Notification: Performance of Templates: time 0.002281/0.009979, allocations: 0.7226 MB / 0.8228 GB, free: 5.789 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: 5.1909850290976465]