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.00175/0.00175, allocations: 81.86 kB / 19.87 MB, free: 4.621 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.002102/0.002102, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9574/0.9574, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.491/2.491, allocations: 438.1 MB / 0.682 GB, free: 14.12 MB / 0.6511 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 2.144e-06/2.144e-06, allocations: 0 / 0.8898 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.053e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001146/0.001167, allocations: 0.6065 MB / 0.8904 GB, free: 8.996 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.002311, allocations: 1.03 MB / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.002339, allocations: 0 / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.002358, allocations: 0 / 0.8914 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005242/0.002882, allocations: 99.62 kB / 0.8915 GB, free: 7.852 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 2.413e-05/0.002906, allocations: 4 kB / 0.8915 GB, free: 7.848 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.228e-05/0.002959, allocations: 4 kB / 0.8915 GB, free: 7.844 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.003005, allocations: 7.984 kB / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.00304, allocations: 0 / 0.8915 GB, free: 7.836 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.003232, allocations: 47.78 kB / 0.8916 GB, free: 7.789 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.003245, allocations: 4 kB / 0.8916 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.003405, allocations: 75.84 kB / 0.8917 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.209e-05/0.003417, allocations: 0 / 0.8917 GB, free: 7.711 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.331e-05/0.00343, allocations: 4 kB / 0.8917 GB, free: 7.707 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.003582, allocations: 79.83 kB / 0.8917 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.003586, allocations: 4 kB / 0.8917 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003587, allocations: 0 / 0.8917 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003591, allocations: 0 / 0.8917 GB, free: 7.625 MB / 0.8542 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.0003133/0.003904, allocations: 372.4 kB / 0.8921 GB, free: 7.227 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.003952, allocations: 8.625 kB / 0.8921 GB, free: 7.219 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.003981, allocations: 8.938 kB / 0.8921 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.771e-05/0.004069, allocations: 108.6 kB / 0.8922 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.00408, allocations: 384 / 0.8922 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.004089, allocations: 4.375 kB / 0.8922 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.94e-05/0.004158, allocations: 30.25 kB / 0.8922 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.004165, allocations: 192 / 0.8922 GB, free: 7.039 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.004172, allocations: 4.125 kB / 0.8922 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.004177, allocations: 0 / 0.8922 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.007e-06/0.004186, allocations: 4 kB / 0.8923 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003117/0.004498, allocations: 466.8 kB / 0.8927 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.004591, allocations: 265.4 kB / 0.893 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.568e-05/0.004626, allocations: 126.9 kB / 0.8931 GB, free: 6.145 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.004661, allocations: 127.2 kB / 0.8932 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.162e-05/0.004713, allocations: 152.6 kB / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.804e-06/0.004714, allocations: 0 / 0.8933 GB, free: 5.859 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.326e-05/0.004768, allocations: 33.58 kB / 0.8934 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.004825, allocations: 174.6 kB / 0.8935 GB, free: 5.637 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.171e-05/0.004917, allocations: 165.9 kB / 0.8937 GB, free: 5.457 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.004927, allocations: 25.7 kB / 0.8937 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.004968, allocations: 130.8 kB / 0.8938 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.00497, allocations: 0 / 0.8938 GB, free: 5.293 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.004995, allocations: 23.38 kB / 0.8939 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.005109, allocations: 0.4884 MB / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.889e-06/0.005114, allocations: 0 / 0.8943 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.005122, allocations: 4 kB / 0.8943 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.005145, allocations: 7.688 kB / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.005146, allocations: 0 / 0.8944 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.555e-05/0.005221, allocations: 41.64 kB / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.005236, allocations: 9.812 kB / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.005241, allocations: 0 / 0.8944 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/0.005251, allocations: 8.031 kB / 0.8944 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.725e-05/0.005268, allocations: 0 / 0.8944 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.527e-06/0.005272, allocations: 0 / 0.8944 GB, free: 4.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.12e-05/0.005283, allocations: 4 kB / 0.8944 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.005288, allocations: 0 / 0.8944 GB, free: 4.68 MB / 0.8542 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 9.61e-05/0.005384, allocations: 275.8 kB / 0.8947 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.005434, allocations: 152.8 kB / 0.8948 GB, free: 4.242 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.762e-05/0.005492, allocations: 156 kB / 0.895 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.005562, allocations: 264.1 kB / 0.8952 GB, free: 3.816 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.185e-05/0.005634, allocations: 272 kB / 0.8955 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.052e-05/0.005705, allocations: 276.1 kB / 0.8957 GB, free: 3.266 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.005888, allocations: 480.5 kB / 0.8962 GB, free: 2.762 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-05/0.005927, allocations: 144.9 kB / 0.8963 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.005963, allocations: 144.9 kB / 0.8965 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.976e-05/0.006033, allocations: 272 kB / 0.8967 GB, free: 2.191 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.269e-05/0.006106, allocations: 268.3 kB / 0.897 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-05/0.00618, allocations: 272 kB / 0.8973 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.871e-05/0.006249, allocations: 276 kB / 0.8975 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.006385, allocations: 448 kB / 0.8979 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.477e-05/0.006429, allocations: 144.9 kB / 0.8981 GB, free: 0.7578 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.938e-05/0.006509, allocations: 276 kB / 0.8983 GB, free: 492 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.006566, allocations: 148.9 kB / 0.8985 GB, free: 336 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.879e-05/0.006644, allocations: 268 kB / 0.8987 GB, free: 60 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.369e-05/0.006698, allocations: 156.8 kB / 0.8989 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.006736, allocations: 119.2 kB / 0.899 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.006736, allocations: 0 / 0.899 GB, free: 15.78 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001718/0.006908, allocations: 27.88 kB / 0.899 GB, free: 15.75 MB / 0.8698 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.0003358/0.007244, allocations: 272.5 kB / 0.8993 GB, free: 15.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.031e-05/0.007314, allocations: 7.688 kB / 0.8993 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007316, allocations: 4 kB / 0.8993 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.007319, allocations: 3.938 kB / 0.8993 GB, free: 15.46 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.007667, allocations: 0.7023 MB / 0.9 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.008016, allocations: 268.2 kB / 0.9003 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.008052, allocations: 55.38 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.008081, allocations: 8.062 kB / 0.9003 GB, free: 14.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.008122, allocations: 66.2 kB / 0.9004 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of SimCode: time 4.31e-07/0.008122, allocations: 0 / 0.9004 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of Templates: time 0.002445/0.01057, allocations: 0.8683 MB / 0.9012 GB, free: 13.5 MB / 0.8698 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.509277903940529]