Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001101/0.001101, allocations: 81.86 kB / 20.68 MB, free: 3.812 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.00105/0.00105, allocations: 181 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.8961/0.8961, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.68/1.68, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.942e-05/2.124e-05, allocations: 4.844 kB / 0.7876 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001621/0.001642, allocations: 0.595 MB / 0.7882 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.002994, allocations: 1.035 MB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.146e-05/0.003016, allocations: 0.5625 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.451e-05/0.00303, allocations: 0.75 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007164/0.003747, allocations: 91.64 kB / 0.7893 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.49e-05/0.003782, allocations: 12.7 kB / 0.7893 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 4.773e-05/0.00383, allocations: 7.984 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.066e-05/0.00387, allocations: 9.062 kB / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.003904, allocations: 0 / 0.7893 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.004052, allocations: 34.75 kB / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.787e-06/0.004061, allocations: 0 / 0.7894 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.004189, allocations: 71.91 kB / 0.7894 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.0042, allocations: 7.938 kB / 0.7895 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.728e-06/0.00421, allocations: 4 kB / 0.7895 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.004327, allocations: 83.77 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.004328, allocations: 0 / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.31e-07/0.004329, allocations: 3.938 kB / 0.7895 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004332, allocations: 5.438 kB / 0.7895 GB, free: 10.15 MB / 0.7448 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.0002036/0.004536, allocations: 352.2 kB / 0.7899 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.004565, allocations: 8.031 kB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.004584, allocations: 5.531 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.788e-05/0.004641, allocations: 112.6 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-06/0.004648, allocations: 1.25 kB / 0.79 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.004654, allocations: 8.359 kB / 0.79 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.413e-05/0.004698, allocations: 27.05 kB / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.46e-06/0.004703, allocations: 192 / 0.79 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.004709, allocations: 5.938 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.004713, allocations: 0 / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.041e-06/0.004719, allocations: 7.938 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.004947, allocations: 471.1 kB / 0.7905 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.338e-05/0.00501, allocations: 263 kB / 0.7908 GB, free: 8.816 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.005039, allocations: 126.9 kB / 0.7909 GB, free: 8.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.005063, allocations: 123.2 kB / 0.791 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.005099, allocations: 152.6 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.0051, allocations: 1.156 kB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.348e-05/0.005143, allocations: 41.52 kB / 0.7912 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.005185, allocations: 174.6 kB / 0.7913 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.751e-05/0.005253, allocations: 158.5 kB / 0.7915 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.005259, allocations: 25.7 kB / 0.7915 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.005292, allocations: 133.4 kB / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.162e-06/0.005293, allocations: 0 / 0.7916 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/0.005315, allocations: 23.36 kB / 0.7917 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.242e-05/0.005407, allocations: 492.1 kB / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.338e-06/0.005411, allocations: 0 / 0.7921 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.005416, allocations: 4 kB / 0.7921 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.773e-05/0.005434, allocations: 8.219 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.005436, allocations: 0.7188 kB / 0.7921 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.909e-05/0.005495, allocations: 38.17 kB / 0.7922 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.005504, allocations: 9.562 kB / 0.7922 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005509, allocations: 3.984 kB / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.623e-06/0.005515, allocations: 0 / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.145e-05/0.005527, allocations: 0 / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.005528, allocations: 0 / 0.7922 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.676e-06/0.005537, allocations: 4.625 kB / 0.7922 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.005541, allocations: 4 kB / 0.7922 GB, free: 7.238 MB / 0.7448 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 6.948e-05/0.005611, allocations: 276.5 kB / 0.7925 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.962e-05/0.005651, allocations: 153.5 kB / 0.7926 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.04e-05/0.005691, allocations: 156 kB / 0.7928 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.157e-05/0.005742, allocations: 269 kB / 0.793 GB, free: 6.371 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.162e-05/0.005794, allocations: 272 kB / 0.7933 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.894e-05/0.005843, allocations: 265.5 kB / 0.7935 GB, free: 5.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.00599, allocations: 484.5 kB / 0.794 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.128e-05/0.006022, allocations: 148.9 kB / 0.7941 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.953e-05/0.006051, allocations: 144.9 kB / 0.7943 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.304e-05/0.006104, allocations: 281.1 kB / 0.7945 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.169e-05/0.006156, allocations: 264.1 kB / 0.7948 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.164e-05/0.006207, allocations: 268 kB / 0.7951 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.429e-05/0.006262, allocations: 272.6 kB / 0.7953 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.006372, allocations: 448.8 kB / 0.7957 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.358e-05/0.006406, allocations: 144.9 kB / 0.7959 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.136e-05/0.006467, allocations: 276.3 kB / 0.7961 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.006518, allocations: 153.7 kB / 0.7963 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.006576, allocations: 272 kB / 0.7965 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.11e-05/0.006607, allocations: 150.5 kB / 0.7967 GB, free: 2.461 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.325e-05/0.006641, allocations: 123.4 kB / 0.7968 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006641, allocations: 4 kB / 0.7968 GB, free: 2.336 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001668/0.006808, allocations: 23.86 kB / 0.7968 GB, free: 2.312 MB / 0.7448 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.0002529/0.007061, allocations: 276.8 kB / 0.7971 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.545e-05/0.007106, allocations: 19.67 kB / 0.7971 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.007107, allocations: 0 / 0.7971 GB, free: 2.023 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.755e-06/0.00711, allocations: 6.094 kB / 0.7971 GB, free: 2.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.007369, allocations: 0.7062 MB / 0.7978 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002473/0.007616, allocations: 261.4 kB / 0.7981 GB, free: 1.023 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.606e-05/0.007642, allocations: 51.36 kB / 0.7981 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.007663, allocations: 1.031 kB / 0.7981 GB, free: 0.9531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.007695, allocations: 72.11 kB / 0.7982 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.007695, allocations: 0 / 0.7982 GB, free: 0.8828 MB / 0.7448 GB Notification: Performance of Templates: time 0.002031/0.009726, allocations: 0.8629 MB / 0.799 GB, free: 84 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.60924684908241]