Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001537/0.001537, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001811/0.001811, allocations: 169 kB / 24.06 MB, free: 456 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 1.005/1.005, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.091/2.091, allocations: 429.5 MB / 0.6743 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.8795 GB, free: 5.953 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.418e-05, allocations: 2.312 kB / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001326/0.001351, allocations: 0.6102 MB / 0.8801 GB, free: 5.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.002439, allocations: 1.04 MB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.00246, allocations: 1.031 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.373e-05/0.002474, allocations: 0.5469 kB / 0.8811 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004706/0.002944, allocations: 95.45 kB / 0.8812 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.204e-05/0.002966, allocations: 7.984 kB / 0.8812 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.003007, allocations: 4.875 kB / 0.8812 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.406e-05/0.003041, allocations: 5 kB / 0.8812 GB, free: 4.203 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.699e-05/0.003068, allocations: 11.98 kB / 0.8812 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.003222, allocations: 29.06 kB / 0.8812 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.003233, allocations: 7.938 kB / 0.8812 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.003366, allocations: 71.91 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.355e-06/0.003374, allocations: 0.875 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.137e-05/0.003385, allocations: 4 kB / 0.8813 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.003509, allocations: 93.36 kB / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.003511, allocations: 0 / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.82e-07/0.003512, allocations: 0 / 0.8814 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.003516, allocations: 0 / 0.8814 GB, free: 3.992 MB / 0.8386 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.0002324/0.003748, allocations: 364.5 kB / 0.8817 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.00378, allocations: 8.531 kB / 0.8818 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.003805, allocations: 2.781 kB / 0.8818 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.095e-05/0.003876, allocations: 108.6 kB / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.003885, allocations: 384 / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-06/0.003889, allocations: 384 / 0.8819 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.077e-05/0.00394, allocations: 34.27 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-06/0.003945, allocations: 1.406 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.003951, allocations: 4.125 kB / 0.8819 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003956, allocations: 3.984 kB / 0.8819 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.59e-06/0.003961, allocations: 1.094 kB / 0.8819 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002542/0.004215, allocations: 466.7 kB / 0.8824 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.178e-05/0.004287, allocations: 271.1 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.54e-05/0.004313, allocations: 126.9 kB / 0.8827 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.004337, allocations: 119.2 kB / 0.8828 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.004376, allocations: 156.6 kB / 0.883 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.004377, allocations: 2.719 kB / 0.883 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.614e-05/0.004423, allocations: 33.58 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.00447, allocations: 170.6 kB / 0.8832 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.244e-05/0.004542, allocations: 161.9 kB / 0.8833 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.004552, allocations: 29.7 kB / 0.8834 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.004588, allocations: 130.8 kB / 0.8835 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.00459, allocations: 0 / 0.8835 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.004612, allocations: 19.38 kB / 0.8835 GB, free: 1.652 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.533e-05/0.004708, allocations: 493.9 kB / 0.884 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-06/0.004713, allocations: 3.938 kB / 0.884 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.168e-06/0.004718, allocations: 0 / 0.884 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.431e-05/0.004742, allocations: 20.36 kB / 0.884 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.004744, allocations: 0 / 0.884 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.685e-05/0.004811, allocations: 34.48 kB / 0.884 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.004823, allocations: 12.81 kB / 0.8841 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.004827, allocations: 0 / 0.8841 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.004835, allocations: 3.984 kB / 0.8841 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.512e-05/0.00485, allocations: 4.094 kB / 0.8841 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.004853, allocations: 0 / 0.8841 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.718e-06/0.004862, allocations: 0 / 0.8841 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.108e-06/0.004867, allocations: 0 / 0.8841 GB, free: 1.074 MB / 0.8386 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.346e-05/0.00494, allocations: 275.8 kB / 0.8843 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.905e-05/0.004989, allocations: 156.8 kB / 0.8845 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.005033, allocations: 156 kB / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.233e-05/0.005086, allocations: 268.1 kB / 0.8849 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-05/0.005156, allocations: 272 kB / 0.8851 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-05/0.005207, allocations: 268.1 kB / 0.8854 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.005355, allocations: 484.5 kB / 0.8859 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-05/0.005385, allocations: 152.9 kB / 0.886 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.005413, allocations: 144.9 kB / 0.8861 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.167e-05/0.005464, allocations: 268 kB / 0.8864 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.005516, allocations: 272.1 kB / 0.8867 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.053e-05/0.005566, allocations: 268 kB / 0.8869 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.065e-05/0.005617, allocations: 272 kB / 0.8872 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.005724, allocations: 440 kB / 0.8876 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.422e-05/0.005758, allocations: 152.9 kB / 0.8877 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.094e-05/0.005819, allocations: 268.3 kB / 0.888 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.005869, allocations: 148.9 kB / 0.8881 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.005996, allocations: 276 kB / 0.8884 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.006025, allocations: 152.8 kB / 0.8885 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.651e-05/0.006062, allocations: 127.2 kB / 0.8887 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006062, allocations: 0 / 0.8887 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001794/0.006241, allocations: 23.88 kB / 0.8887 GB, free: 12.14 MB / 0.8542 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.0003222/0.006563, allocations: 280.5 kB / 0.889 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.176e-05/0.006615, allocations: 7.688 kB / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.006617, allocations: 0 / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.333e-06/0.006618, allocations: 0 / 0.889 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.006895, allocations: 0.7107 MB / 0.8897 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.007188, allocations: 257.6 kB / 0.8899 GB, free: 10.86 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.755e-05/0.007216, allocations: 55.34 kB / 0.89 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.65e-05/0.007242, allocations: 4 kB / 0.89 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.007273, allocations: 70.27 kB / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of SimCode: time 8.01e-07/0.007274, allocations: 0 / 0.89 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of Templates: time 0.002246/0.00952, allocations: 0.8716 MB / 0.8909 GB, free: 9.895 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.317439972888678]