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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00194/0.00194, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002208/0.002208, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.727/2.727, allocations: 476.7 MB / 0.7629 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002156/0.002156, allocations: 75.89 kB / 1.107 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9037, allocations: 168.7 MB / 1.272 GB, free: 7.887 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001618/0.9054, allocations: 0.5976 MB / 1.273 GB, free: 7.531 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.9065, allocations: 1.012 MB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.9065, allocations: 0 / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.117e-05/0.9065, allocations: 0.9062 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.9071, allocations: 97.98 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.642e-05/0.9072, allocations: 5.438 kB / 1.274 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.426e-05/0.9072, allocations: 7.766 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.821e-05/0.9073, allocations: 2.016 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.154e-05/0.9073, allocations: 7 kB / 1.274 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002409/0.9075, allocations: 36.84 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.948e-06/0.9076, allocations: 1.094 kB / 1.274 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.9078, allocations: 80.19 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.9078, allocations: 5.031 kB / 1.274 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.034e-05/0.9078, allocations: 4.922 kB / 1.274 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.908, allocations: 75.36 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.908, allocations: 1.031 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.908, allocations: 3.938 kB / 1.274 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.908, allocations: 0 / 1.274 GB, free: 6.66 MB / 0.9981 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.000368/0.9084, allocations: 336.2 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/0.9084, allocations: 11.97 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.9085, allocations: 1.75 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.9086, allocations: 162.4 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.9086, allocations: 1.406 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.238e-06/0.9086, allocations: 4.312 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.798e-05/0.9087, allocations: 35.73 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9087, allocations: 1.906 kB / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.9087, allocations: 0 / 1.274 GB, free: 6.062 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.9087, allocations: 4 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.252e-05/0.9087, allocations: 5.688 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.9091, allocations: 469.1 kB / 1.275 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.331e-05/0.9092, allocations: 169.9 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.9092, allocations: 81.14 kB / 1.275 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.9092, allocations: 80.73 kB / 1.275 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.9092, allocations: 106.8 kB / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.9092, allocations: 0 / 1.275 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.619e-05/0.9093, allocations: 30.69 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.9093, allocations: 129.3 kB / 1.275 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.375e-05/0.9094, allocations: 109.6 kB / 1.276 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-06/0.9094, allocations: 26.52 kB / 1.276 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.9095, allocations: 84.92 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-06/0.9095, allocations: 0 / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.9095, allocations: 16.03 kB / 1.276 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.247e-05/0.9095, allocations: 316.6 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.008e-05/0.9095, allocations: 1.031 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.9096, allocations: 1 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.347e-05/0.9096, allocations: 8.094 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9096, allocations: 5 kB / 1.276 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001105/0.9097, allocations: 34.25 kB / 1.276 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.9097, allocations: 10.88 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.9097, allocations: 0.9375 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.9097, allocations: 3.938 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.916e-05/0.9098, allocations: 0.7188 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.9098, allocations: 0.7812 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.554e-05/0.9098, allocations: 3.938 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.9098, allocations: 1.062 kB / 1.276 GB, free: 4.301 MB / 0.9981 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.363e-05/0.9098, allocations: 194.1 kB / 1.276 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.9099, allocations: 104.3 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.9099, allocations: 110.1 kB / 1.276 GB, free: 3.883 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.652e-05/0.9099, allocations: 178.7 kB / 1.277 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/0.91, allocations: 177.2 kB / 1.277 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.974e-05/0.91, allocations: 191.1 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001537/0.9101, allocations: 404.1 kB / 1.277 GB, free: 2.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.658e-05/0.9102, allocations: 106 kB / 1.277 GB, free: 2.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.74e-05/0.9102, allocations: 105.9 kB / 1.278 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.489e-05/0.9102, allocations: 177.2 kB / 1.278 GB, free: 2.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.9102, allocations: 185 kB / 1.278 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001453/0.9104, allocations: 185.3 kB / 1.278 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-05/0.9105, allocations: 182 kB / 1.278 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.9107, allocations: 305.8 kB / 1.279 GB, free: 17.61 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.9108, allocations: 189 kB / 1.279 GB, free: 17.41 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.9109, allocations: 181.9 kB / 1.279 GB, free: 17.22 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.911, allocations: 106.9 kB / 1.279 GB, free: 17.11 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.9111, allocations: 180 kB / 1.279 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.553e-05/0.9111, allocations: 106.1 kB / 1.279 GB, free: 16.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.971e-05/0.9112, allocations: 82.12 kB / 1.279 GB, free: 16.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9112, allocations: 5.156 kB / 1.279 GB, free: 16.74 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003265/0.9115, allocations: 20.27 kB / 1.279 GB, free: 16.74 MB / 1.014 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.0005095/0.9121, allocations: 230.6 kB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 9.337e-05/0.9121, allocations: 2.562 kB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.9122, allocations: 0.6875 kB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.9122, allocations: 3.938 kB / 1.28 GB, free: 16.55 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.9126, allocations: 467.4 kB / 1.28 GB, free: 16.1 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005147/0.9131, allocations: 209 kB / 1.28 GB, free: 15.91 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.9135, allocations: 0.6739 MB / 1.281 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.9135, allocations: 1.906 kB / 1.281 GB, free: 15.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.9135, allocations: 13.28 kB / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of SimCode: time 7.22e-07/0.9135, allocations: 0 / 1.281 GB, free: 15.2 MB / 1.014 GB Notification: Performance of Templates: time 0.003314/0.9168, allocations: 0.6786 MB / 1.282 GB, free: 15.12 MB / 1.014 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.852817371487617]