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.001959/0.001959, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.002709/0.002709, allocations: 211.9 kB / 22.24 MB, free: 5.242 MB / 14.72 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.588/1.588, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.98/2.98, allocations: 476 MB / 0.7699 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 70.08 kB / 1.117 GB, free: 41.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4062, allocations: 169.9 MB / 1.283 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002075/0.4083, allocations: 0.5869 MB / 1.284 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.4099, allocations: 1.011 MB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.4099, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.4099, allocations: 0 / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0008047/0.4107, allocations: 95.77 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.961e-05/0.4108, allocations: 11.94 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.926e-05/0.4108, allocations: 4 kB / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.734e-05/0.4109, allocations: 0 / 1.285 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.409e-05/0.4109, allocations: 7.938 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.4112, allocations: 38.16 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.089e-05/0.4112, allocations: 4 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002066/0.4114, allocations: 87.83 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.4114, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.4114, allocations: 3.984 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.4116, allocations: 71.81 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4116, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4116, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.4116, allocations: 0 / 1.285 GB, free: 9.949 MB / 0.9825 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.0004119/0.412, allocations: 258.3 kB / 1.285 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4121, allocations: 8.031 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.4121, allocations: 0.9375 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.4123, allocations: 122.5 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4123, allocations: 384 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.571e-05/0.4123, allocations: 384 / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4124, allocations: 33.83 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.4124, allocations: 3.984 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.4124, allocations: 0 / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.4124, allocations: 0 / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.4125, allocations: 3.938 kB / 1.285 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.4129, allocations: 339.1 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.413, allocations: 182.9 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.4131, allocations: 84.14 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.4131, allocations: 75.28 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/0.4132, allocations: 117.8 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4132, allocations: 0 / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.048e-05/0.4132, allocations: 25.7 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.397e-05/0.4133, allocations: 126.7 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4134, allocations: 109.8 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.4135, allocations: 25.7 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.825e-05/0.4135, allocations: 80.14 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-06/0.4135, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.4135, allocations: 13.72 kB / 1.286 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.4137, allocations: 318.8 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.4137, allocations: 0 / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.717e-06/0.4137, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.559e-05/0.4137, allocations: 8.797 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.4137, allocations: 3.938 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001118/0.4138, allocations: 37.69 kB / 1.287 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4139, allocations: 4 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4139, allocations: 0 / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.4139, allocations: 0 / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.939e-05/0.4139, allocations: 4.094 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.4139, allocations: 0 / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.667e-05/0.4139, allocations: 4 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.4139, allocations: 0 / 1.287 GB, free: 7.82 MB / 0.9825 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 0.0001268/0.4141, allocations: 185.1 kB / 1.287 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.4141, allocations: 120.9 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.494e-05/0.4142, allocations: 104.1 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.299e-05/0.4143, allocations: 180.2 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-05/0.4144, allocations: 180.3 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.597e-05/0.4145, allocations: 176.3 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.4147, allocations: 372.8 kB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.201e-05/0.4148, allocations: 101 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.4148, allocations: 104.9 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.184e-05/0.4149, allocations: 180.3 kB / 1.288 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.474e-05/0.415, allocations: 180.2 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-05/0.4151, allocations: 184.2 kB / 1.289 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-05/0.4152, allocations: 180.3 kB / 1.289 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.4153, allocations: 307.9 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.4154, allocations: 109 kB / 1.289 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.29e-05/0.4155, allocations: 184.2 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.514e-05/0.4156, allocations: 101 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.711e-05/0.4157, allocations: 192.1 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.4157, allocations: 108.9 kB / 1.29 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.331e-05/0.4158, allocations: 83.28 kB / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4158, allocations: 0 / 1.29 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002912/0.4161, allocations: 23.88 kB / 1.29 GB, free: 4.352 MB / 0.9825 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.000445/0.4165, allocations: 233.3 kB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.4166, allocations: 3.938 kB / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4166, allocations: 0 / 1.29 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.997e-06/0.4166, allocations: 4 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.417, allocations: 462.5 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.4175, allocations: 200.2 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.345e-05/0.4175, allocations: 55.36 kB / 1.291 GB, free: 3.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.537e-05/0.4176, allocations: 4.062 kB / 1.291 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.162e-05/0.4176, allocations: 15.38 kB / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.4176, allocations: 0 / 1.291 GB, free: 3.344 MB / 0.9825 GB Notification: Performance of Templates: time 0.00348/0.4211, allocations: 0.6765 MB / 1.292 GB, free: 2.719 MB / 0.9825 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: 9.78017914108932]