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.0009831/0.0009831, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00106/0.00106, allocations: 169 kB / 24.28 MB, free: 272 kB / 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.9584/0.9584, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.786/1.786, allocations: 377.8 MB / 0.6239 GB, free: 8.566 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.512e-06/1.512e-06, allocations: 0 / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.454e-05/1.605e-05, allocations: 4.844 kB / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00104/0.001056, allocations: 0.6024 MB / 0.8122 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009406/0.001997, allocations: 1.035 MB / 0.8132 GB, free: 360 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.443e-05/0.002021, allocations: 4 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.612e-05/0.002037, allocations: 1.688 kB / 0.8132 GB, free: 356 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0004638/0.002501, allocations: 91.64 kB / 0.8133 GB, free: 264 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 2.445e-05/0.002526, allocations: 7.984 kB / 0.8133 GB, free: 256 kB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 4.642e-05/0.002572, allocations: 4 kB / 0.8133 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.002607, allocations: 9.516 kB / 0.8133 GB, free: 244 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 2.343e-05/0.00263, allocations: 3.938 kB / 0.8133 GB, free: 240 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.002791, allocations: 31.97 kB / 0.8134 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 9.588e-06/0.0028, allocations: 0 / 0.8134 GB, free: 208 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.002929, allocations: 72.69 kB / 0.8134 GB, free: 136 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 8.826e-06/0.002937, allocations: 7.938 kB / 0.8134 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 1.379e-05/0.002951, allocations: 0.75 kB / 0.8134 GB, free: 128 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.00309, allocations: 91.7 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.003092, allocations: 1.594 kB / 0.8135 GB, free: 36 kB / 0.7605 GB Notification: Performance of FrontEnd: time 1.513e-06/0.003094, allocations: 4 kB / 0.8135 GB, free: 32 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 3.206e-06/0.003097, allocations: 0 / 0.8135 GB, free: 32 kB / 0.7605 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.0002574/0.003354, allocations: 356.4 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.003384, allocations: 8.562 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.003416, allocations: 4.938 kB / 0.8139 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.063e-05/0.003497, allocations: 109.3 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.418e-06/0.003506, allocations: 0.9062 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.003515, allocations: 4.375 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.434e-05/0.003579, allocations: 31.91 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.003585, allocations: 192 / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-06/0.003592, allocations: 4.125 kB / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.003599, allocations: 0 / 0.814 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.067e-05/0.00361, allocations: 4.562 kB / 0.814 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002922/0.003902, allocations: 483.1 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.957e-05/0.003982, allocations: 270.2 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.962e-05/0.004011, allocations: 126.9 kB / 0.8149 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.004037, allocations: 124.3 kB / 0.815 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.004079, allocations: 156.5 kB / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.00408, allocations: 0 / 0.8151 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.851e-05/0.004129, allocations: 31.02 kB / 0.8152 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.00418, allocations: 178.6 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.184e-05/0.004261, allocations: 157.9 kB / 0.8155 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.714e-06/0.004269, allocations: 25.7 kB / 0.8155 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/0.004306, allocations: 128.6 kB / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.004308, allocations: 0 / 0.8156 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.25e-05/0.00433, allocations: 19.38 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.004431, allocations: 0.4884 MB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-06/0.004439, allocations: 4 kB / 0.8161 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-06/0.004445, allocations: 6.156 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.206e-05/0.004467, allocations: 7.688 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004469, allocations: 0 / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.644e-05/0.004545, allocations: 41.58 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.004555, allocations: 6.781 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.004559, allocations: 0 / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.004569, allocations: 0 / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.397e-05/0.004583, allocations: 4 kB / 0.8162 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.004589, allocations: 3.984 kB / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.177e-06/0.004598, allocations: 0 / 0.8162 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.004603, allocations: 0 / 0.8162 GB, free: 13.09 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.596e-05/0.004679, allocations: 277.4 kB / 0.8165 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.004724, allocations: 156.8 kB / 0.8166 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.004764, allocations: 152.2 kB / 0.8168 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.455e-05/0.004819, allocations: 272.1 kB / 0.817 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.565e-05/0.004874, allocations: 276.6 kB / 0.8173 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.004931, allocations: 264.1 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.005081, allocations: 496.5 kB / 0.818 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/0.005115, allocations: 153.3 kB / 0.8181 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.005145, allocations: 148.9 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.366e-05/0.005198, allocations: 268.6 kB / 0.8185 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.74e-05/0.005256, allocations: 269.4 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.255e-05/0.005308, allocations: 268.1 kB / 0.8191 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.342e-05/0.005362, allocations: 272 kB / 0.8193 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.005474, allocations: 447.9 kB / 0.8197 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.005509, allocations: 151.5 kB / 0.8199 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.005571, allocations: 268.3 kB / 0.8201 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.005623, allocations: 156.8 kB / 0.8203 GB, free: 8.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.953e-05/0.005683, allocations: 272.1 kB / 0.8206 GB, free: 8.445 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.19e-05/0.005715, allocations: 148.8 kB / 0.8207 GB, free: 8.293 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.005752, allocations: 123.2 kB / 0.8208 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.005752, allocations: 0 / 0.8208 GB, free: 8.172 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001802/0.005932, allocations: 28.55 kB / 0.8208 GB, free: 8.145 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.0002738/0.006206, allocations: 279.6 kB / 0.8211 GB, free: 7.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.729e-05/0.006263, allocations: 12.52 kB / 0.8211 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.006264, allocations: 0 / 0.8211 GB, free: 7.859 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.006266, allocations: 4.719 kB / 0.8211 GB, free: 7.855 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.006543, allocations: 0.7098 MB / 0.8218 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.006837, allocations: 257.6 kB / 0.8221 GB, free: 6.863 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.721e-05/0.006864, allocations: 51.36 kB / 0.8221 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.885e-05/0.006883, allocations: 0 / 0.8221 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.0069, allocations: 12.5 kB / 0.8221 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.0069, allocations: 0 / 0.8221 GB, free: 6.781 MB / 0.7761 GB Notification: Performance of Templates: time 0.002573/0.009474, allocations: 0.7259 MB / 0.8228 GB, free: 6.125 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.975321089848876]