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.0009003/0.0009003, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001122/0.001122, allocations: 185.3 kB / 24.09 MB, free: 412 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.9201/0.9201, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.9 MB / 0.624 GB, free: 8.402 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.693e-06/1.693e-06, allocations: 0.6562 kB / 0.8121 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.416e-05/2.586e-05, allocations: 3.188 kB / 0.8121 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001324/0.00135, allocations: 0.602 MB / 0.8127 GB, free: 0.7969 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009912/0.002342, allocations: 1.04 MB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.331e-05/0.002365, allocations: 4 kB / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.474e-05/0.00238, allocations: 0 / 0.8137 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.002892, allocations: 87.7 kB / 0.8138 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 3.664e-05/0.002929, allocations: 15.92 kB / 0.8138 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 4.255e-05/0.002971, allocations: 5.375 kB / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.577e-05/0.003007, allocations: 0 / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.003036, allocations: 0 / 0.8138 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.003201, allocations: 31.97 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.003211, allocations: 0.6562 kB / 0.8138 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001392/0.003351, allocations: 79.89 kB / 0.8139 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.817e-06/0.003359, allocations: 13.17 kB / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.03e-05/0.00337, allocations: 0 / 0.8139 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.003497, allocations: 83.72 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.003505, allocations: 5.375 kB / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.71e-07/0.003506, allocations: 0 / 0.814 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.00351, allocations: 0 / 0.814 GB, free: 15.43 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.0002252/0.003735, allocations: 356.2 kB / 0.8143 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.003767, allocations: 13.19 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.003788, allocations: 0.9375 kB / 0.8143 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.585e-05/0.003853, allocations: 113.4 kB / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.003861, allocations: 384 / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-06/0.003865, allocations: 384 / 0.8145 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.876e-05/0.003914, allocations: 30.77 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.86e-06/0.003919, allocations: 0.9375 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.21e-06/0.003924, allocations: 4.125 kB / 0.8145 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.003928, allocations: 9.125 kB / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-06/0.003934, allocations: 0 / 0.8145 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002485/0.004182, allocations: 467.1 kB / 0.8149 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.75e-05/0.00425, allocations: 263 kB / 0.8152 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.032e-05/0.00428, allocations: 134.8 kB / 0.8153 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.004304, allocations: 119.2 kB / 0.8154 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.781e-05/0.004342, allocations: 160.6 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 6.81e-07/0.004343, allocations: 1.938 kB / 0.8156 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 4.437e-05/0.004387, allocations: 33.64 kB / 0.8156 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.004433, allocations: 174.6 kB / 0.8158 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.304e-05/0.004506, allocations: 153.9 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-06/0.004513, allocations: 25.7 kB / 0.816 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.648e-05/0.004549, allocations: 132.3 kB / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.004551, allocations: 0 / 0.8161 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.004573, allocations: 19.38 kB / 0.8161 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.004673, allocations: 497.3 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.865e-06/0.004681, allocations: 7.938 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.689e-06/0.004686, allocations: 0 / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.045e-05/0.004706, allocations: 12.25 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.004708, allocations: 0.5312 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.467e-05/0.004772, allocations: 38.56 kB / 0.8166 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.004784, allocations: 7.938 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.004788, allocations: 0.8125 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.004795, allocations: 0 / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.351e-05/0.004809, allocations: 0.5312 kB / 0.8166 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.295e-06/0.004811, allocations: 4 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.338e-06/0.00482, allocations: 0.9062 kB / 0.8167 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.004824, allocations: 0 / 0.8167 GB, free: 12.52 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.379e-05/0.004898, allocations: 280.5 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.979e-05/0.004938, allocations: 148.9 kB / 0.8171 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.079e-05/0.004978, allocations: 157.2 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.235e-05/0.005031, allocations: 268 kB / 0.8175 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.164e-05/0.005082, allocations: 268.1 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.654e-05/0.005139, allocations: 268.7 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.00529, allocations: 480.5 kB / 0.8184 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.06e-05/0.005321, allocations: 149.8 kB / 0.8186 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/0.00535, allocations: 152.8 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.868e-05/0.005409, allocations: 269.8 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.00547, allocations: 272 kB / 0.8192 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.584e-05/0.005526, allocations: 264.1 kB / 0.8195 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.82e-05/0.005584, allocations: 276 kB / 0.8198 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.005699, allocations: 457 kB / 0.8202 GB, free: 8.742 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.677e-05/0.005736, allocations: 148.8 kB / 0.8203 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.005797, allocations: 272.3 kB / 0.8206 GB, free: 8.316 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.348e-05/0.005851, allocations: 148.2 kB / 0.8207 GB, free: 8.168 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.031e-05/0.005911, allocations: 280 kB / 0.821 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.00594, allocations: 144.9 kB / 0.8211 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.005976, allocations: 123.2 kB / 0.8213 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.005976, allocations: 0 / 0.8213 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001729/0.006149, allocations: 27.86 kB / 0.8213 GB, free: 7.59 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.0002743/0.006424, allocations: 281.7 kB / 0.8216 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 4.531e-05/0.006469, allocations: 15.62 kB / 0.8216 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.00647, allocations: 1.031 kB / 0.8216 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.006471, allocations: 0 / 0.8216 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.006736, allocations: 0.7072 MB / 0.8223 GB, free: 6.59 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000289/0.007025, allocations: 261.5 kB / 0.8225 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.457e-05/0.007049, allocations: 52.67 kB / 0.8226 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.194e-05/0.007071, allocations: 0 / 0.8226 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.007101, allocations: 75.28 kB / 0.8226 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of SimCode: time 7.71e-07/0.007102, allocations: 0 / 0.8226 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of Templates: time 0.002139/0.009241, allocations: 0.8515 MB / 0.8235 GB, free: 5.375 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.7243716130033135]