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.001041/0.001041, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001517/0.002558, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001061/0.001061, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001394/0.002455, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9076/0.9076, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07782/0.9854, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.21/2.21, allocations: 447.1 MB / 0.675 GB, free: 5.902 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2123/2.422, allocations: 146 MB / 0.8176 GB, free: 3.816 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.443e-06/1.443e-06, allocations: 0 / 0.819 GB, free: 2.434 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.553e-05, allocations: 2.312 kB / 0.819 GB, free: 2.43 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001028/0.001044, allocations: 0.6403 MB / 0.8196 GB, free: 1.785 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007777/0.001821, allocations: 1.038 MB / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.642e-05/0.001838, allocations: 0 / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.527e-06/0.001841, allocations: 0 / 0.8206 GB, free: 0.7305 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003054/0.002147, allocations: 87.64 kB / 0.8207 GB, free: 0.6445 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 2.341e-05/0.00217, allocations: 15.92 kB / 0.8207 GB, free: 0.6289 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 4.136e-05/0.002211, allocations: 8 kB / 0.8207 GB, free: 0.6211 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 3.203e-05/0.002243, allocations: 4 kB / 0.8207 GB, free: 0.6172 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.002285, allocations: 11.92 kB / 0.8207 GB, free: 0.6055 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.002414, allocations: 27.98 kB / 0.8208 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.378e-06/0.002424, allocations: 0 / 0.8208 GB, free: 0.5781 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.002562, allocations: 87.83 kB / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.029e-05/0.002572, allocations: 0 / 0.8209 GB, free: 0.4922 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.024e-05/0.002583, allocations: 4 kB / 0.8209 GB, free: 500 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001183/0.002701, allocations: 75.77 kB / 0.8209 GB, free: 424 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.002712, allocations: 7.984 kB / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002713, allocations: 0 / 0.8209 GB, free: 416 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.002721, allocations: 0 / 0.8209 GB, free: 416 kB / 0.7917 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.0002347/0.002956, allocations: 244.5 kB / 0.8212 GB, free: 148 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.637e-05/0.002982, allocations: 8.031 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.159e-05/0.003004, allocations: 0.9375 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.264e-05/0.003077, allocations: 113.8 kB / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-06/0.003084, allocations: 384 / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.003091, allocations: 384 / 0.8213 GB, free: 0 / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.816e-05/0.003159, allocations: 30.31 kB / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-06/0.003163, allocations: 192 / 0.8213 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.219e-06/0.003169, allocations: 8.125 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.003172, allocations: 0 / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.622e-06/0.003179, allocations: 3.938 kB / 0.8213 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001932/0.003372, allocations: 290.8 kB / 0.8216 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.061e-05/0.003423, allocations: 173.2 kB / 0.8218 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.956e-05/0.003442, allocations: 84.14 kB / 0.8219 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.003457, allocations: 75.28 kB / 0.8219 GB, free: 15.31 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.003489, allocations: 109.8 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 5.51e-07/0.00349, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 4.836e-05/0.003538, allocations: 37.62 kB / 0.8221 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/0.003576, allocations: 130.7 kB / 0.8222 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.943e-05/0.003636, allocations: 106.7 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.773e-06/0.003642, allocations: 25.7 kB / 0.8223 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.936e-05/0.003672, allocations: 88.09 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.003674, allocations: 3.938 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.003694, allocations: 17.73 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.6e-05/0.00376, allocations: 314.8 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.336e-06/0.003763, allocations: 0 / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.65e-06/0.003769, allocations: 4 kB / 0.8227 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.087e-05/0.00379, allocations: 20.84 kB / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.003791, allocations: 0 / 0.8227 GB, free: 14.4 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.495e-05/0.003836, allocations: 29.7 kB / 0.8228 GB, free: 14.37 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.003846, allocations: 7.984 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.003851, allocations: 3.938 kB / 0.8228 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.003861, allocations: 4 kB / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.372e-05/0.003875, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.924e-06/0.003877, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.719e-06/0.003887, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.00389, allocations: 0 / 0.8228 GB, free: 14.35 MB / 0.8073 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 5.357e-05/0.003944, allocations: 193.1 kB / 0.823 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.085e-05/0.003975, allocations: 104.9 kB / 0.8231 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.004006, allocations: 112.1 kB / 0.8232 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.559e-05/0.004041, allocations: 184.2 kB / 0.8234 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.389e-05/0.004075, allocations: 176.3 kB / 0.8235 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.004111, allocations: 180.3 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000319/0.00443, allocations: 317.4 kB / 0.824 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.056e-05/0.004451, allocations: 105 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.004477, allocations: 108.9 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.28e-05/0.0045, allocations: 101 kB / 0.8243 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.384e-05/0.004534, allocations: 180.3 kB / 0.8245 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.00457, allocations: 184.2 kB / 0.8247 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.311e-05/0.004603, allocations: 184.2 kB / 0.8248 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-05/0.004638, allocations: 192.2 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.737e-05/0.004715, allocations: 299.8 kB / 0.8253 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.004755, allocations: 184.2 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.004795, allocations: 109 kB / 0.8256 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.004831, allocations: 184.5 kB / 0.8258 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.00485, allocations: 101 kB / 0.8258 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.248e-05/0.004862, allocations: 8.859 kB / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004862, allocations: 0 / 0.8259 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001337/0.004996, allocations: 35.86 kB / 0.8259 GB, free: 11 MB / 0.8073 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.0002522/0.005248, allocations: 227.5 kB / 0.8261 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 3.796e-05/0.005286, allocations: 8.859 kB / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.00529, allocations: 0 / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.005293, allocations: 3.938 kB / 0.8261 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.005473, allocations: 467.8 kB / 0.8266 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.005773, allocations: 214.5 kB / 0.8268 GB, free: 10.07 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.314e-05/0.005796, allocations: 51.36 kB / 0.8268 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.001e-05/0.005816, allocations: 0 / 0.8268 GB, free: 10 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.005842, allocations: 51.38 kB / 0.8269 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of SimCode: time 4e-07/0.005843, allocations: 0 / 0.8269 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of Templates: time 0.001975/0.007818, allocations: 0.8696 MB / 0.8277 GB, free: 9.129 MB / 0.8073 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.793849402107298]