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.000941/0.000941, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009799/0.0009799, allocations: 168 kB / 24.87 MB, free: 8.867 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.9052/0.9052, allocations: 177.1 MB / 205.3 MB, free: 5.453 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.772/1.772, allocations: 377.9 MB / 0.6247 GB, free: 8.414 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.282e-06/1.282e-06, allocations: 0 / 0.8129 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.494e-05, allocations: 4.984 kB / 0.8129 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001098/0.001113, allocations: 0.5919 MB / 0.8134 GB, free: 0.7891 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002189, allocations: 1.032 MB / 0.8144 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.068e-05/0.002209, allocations: 5.531 kB / 0.8145 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.002222, allocations: 4 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.002668, allocations: 87.77 kB / 0.8145 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 2.287e-05/0.002691, allocations: 11.92 kB / 0.8146 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 3.795e-05/0.002729, allocations: 4.969 kB / 0.8146 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.518e-05/0.002764, allocations: 7.984 kB / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.263e-05/0.002787, allocations: 0 / 0.8146 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.002929, allocations: 36.75 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.002937, allocations: 1.688 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.003061, allocations: 71.91 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.676e-06/0.00307, allocations: 4 kB / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.437e-06/0.003079, allocations: 0 / 0.8147 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.003202, allocations: 95.64 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.192e-06/0.003203, allocations: 1.531 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.003204, allocations: 4 kB / 0.8148 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003207, allocations: 0 / 0.8148 GB, free: 15.42 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.0002213/0.003428, allocations: 352.2 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.003455, allocations: 9.781 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.291e-05/0.003478, allocations: 4.938 kB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.185e-05/0.00355, allocations: 108.6 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.003559, allocations: 384 / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-06/0.003564, allocations: 4.969 kB / 0.8152 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.339e-05/0.003617, allocations: 35.2 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.372e-06/0.003624, allocations: 4.125 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.942e-06/0.00363, allocations: 4.125 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.003635, allocations: 6.578 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.795e-06/0.003642, allocations: 4 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.003872, allocations: 463.1 kB / 0.8157 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.923e-05/0.003941, allocations: 269.4 kB / 0.816 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.572e-05/0.003967, allocations: 126.9 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.003992, allocations: 127.1 kB / 0.8162 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.733e-05/0.004029, allocations: 153.1 kB / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 5.61e-07/0.00403, allocations: 0 / 0.8164 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.421e-05/0.004074, allocations: 30.36 kB / 0.8164 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.004123, allocations: 174.6 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.016e-05/0.004193, allocations: 162.4 kB / 0.8167 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-06/0.004199, allocations: 27.36 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.284e-05/0.004232, allocations: 126.9 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-06/0.004233, allocations: 0 / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.004256, allocations: 23.31 kB / 0.8169 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003485/0.004604, allocations: 492.6 kB / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-06/0.004609, allocations: 0 / 0.8174 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.19e-06/0.004615, allocations: 8.531 kB / 0.8174 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.031e-05/0.004635, allocations: 12.45 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.004636, allocations: 1.156 kB / 0.8174 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.497e-05/0.004701, allocations: 37.7 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.004711, allocations: 7.938 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.004714, allocations: 1.375 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.004722, allocations: 0 / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.157e-05/0.004734, allocations: 0 / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.004736, allocations: 0 / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.057e-05/0.004746, allocations: 4.531 kB / 0.8174 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.396e-06/0.00475, allocations: 1.125 kB / 0.8174 GB, free: 12.51 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.329e-05/0.004823, allocations: 283.7 kB / 0.8177 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.004868, allocations: 153.8 kB / 0.8178 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.004906, allocations: 152 kB / 0.818 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.203e-05/0.004958, allocations: 268 kB / 0.8182 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/0.005008, allocations: 268.9 kB / 0.8185 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-05/0.005062, allocations: 272 kB / 0.8188 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.005205, allocations: 482.7 kB / 0.8192 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/0.005233, allocations: 144.9 kB / 0.8194 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.005264, allocations: 148.8 kB / 0.8195 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.234e-05/0.005316, allocations: 268.1 kB / 0.8198 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.005368, allocations: 272 kB / 0.82 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-05/0.005418, allocations: 264.1 kB / 0.8203 GB, free: 9.484 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.708e-05/0.005475, allocations: 278.8 kB / 0.8205 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.005582, allocations: 443.9 kB / 0.821 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.005616, allocations: 152.8 kB / 0.8211 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.005674, allocations: 268.4 kB / 0.8214 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.956e-05/0.005723, allocations: 148.9 kB / 0.8215 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.005779, allocations: 276 kB / 0.8218 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.005809, allocations: 148.9 kB / 0.8219 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.296e-05/0.005841, allocations: 132.6 kB / 0.822 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.005842, allocations: 0 / 0.822 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001735/0.006015, allocations: 23.88 kB / 0.8221 GB, free: 7.586 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.0002463/0.006261, allocations: 289.4 kB / 0.8223 GB, free: 7.309 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.807e-05/0.006309, allocations: 15.62 kB / 0.8223 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.006311, allocations: 1.094 kB / 0.8223 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.006312, allocations: 0 / 0.8223 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.006583, allocations: 0.714 MB / 0.823 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.00683, allocations: 258.7 kB / 0.8233 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.471e-05/0.006855, allocations: 55.34 kB / 0.8233 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 1.963e-05/0.006874, allocations: 3.688 kB / 0.8234 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.006904, allocations: 70.2 kB / 0.8234 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.006904, allocations: 0 / 0.8234 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of Templates: time 0.002028/0.008932, allocations: 0.8528 MB / 0.8242 GB, free: 5.355 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.7205612189136446]