Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001701/0.001701, allocations: 111 kB / 16.46 MB, free: 6.453 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.002032/0.002032, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 8.953 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.183/3.183, allocations: 0.4899 GB / 0.7916 GB, free: 33.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.003199/0.003199, allocations: 68.34 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3809, allocations: 176.1 MB / 1.321 GB, free: 2.77 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001852/0.3828, allocations: 0.5784 MB / 1.322 GB, free: 2.195 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3842, allocations: 1.023 MB / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.3842, allocations: 0 / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.3842, allocations: 0 / 1.323 GB, free: 1.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0007208/0.385, allocations: 91.78 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.632e-05/0.385, allocations: 19.86 kB / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.964e-05/0.3851, allocations: 0 / 1.323 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.602e-05/0.3851, allocations: 12 kB / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 1.64e-05/0.3851, allocations: 0 / 1.323 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.3853, allocations: 35.91 kB / 1.323 GB, free: 1 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.3853, allocations: 4 kB / 1.323 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.3855, allocations: 83.91 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-06/0.3855, allocations: 3.938 kB / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.657e-05/0.3856, allocations: 0 / 1.323 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.3857, allocations: 79.72 kB / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3857, allocations: 0 / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3857, allocations: 0 / 1.323 GB, free: 0.832 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3857, allocations: 0 / 1.323 GB, free: 0.832 MB / 1.014 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.0003847/0.3861, allocations: 331.4 kB / 1.324 GB, free: 472 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.3862, allocations: 12.03 kB / 1.324 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.3862, allocations: 8.891 kB / 1.324 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.3863, allocations: 164.4 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.3864, allocations: 384 / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.153e-05/0.3864, allocations: 384 / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.624e-05/0.3865, allocations: 37.83 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.3865, allocations: 0 / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.3865, allocations: 0 / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.3865, allocations: 0 / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.342e-05/0.3865, allocations: 7.938 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005173/0.387, allocations: 472.5 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3871, allocations: 169.2 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.3872, allocations: 80.14 kB / 1.324 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.3872, allocations: 75.28 kB / 1.324 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.695e-05/0.3873, allocations: 113.8 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.3873, allocations: 0 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.212e-05/0.3874, allocations: 29.7 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.3874, allocations: 126.7 kB / 1.325 GB, free: 15.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.3875, allocations: 102 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3876, allocations: 25.7 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.3876, allocations: 84.14 kB / 1.325 GB, free: 14.81 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/0.3876, allocations: 4 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.3876, allocations: 13.72 kB / 1.325 GB, free: 14.79 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3878, allocations: 318.7 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-06/0.3878, allocations: 0 / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.3878, allocations: 4 kB / 1.325 GB, free: 14.46 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.3878, allocations: 16.78 kB / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3878, allocations: 0 / 1.325 GB, free: 14.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001157/0.3879, allocations: 49.66 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.388, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.388, allocations: 48 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.388, allocations: 3.984 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.388, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.388, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.522e-05/0.388, allocations: 4 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.388, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 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.0001168/0.3881, allocations: 185.1 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.3882, allocations: 112.9 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.86e-05/0.3883, allocations: 108.1 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.281e-05/0.3883, allocations: 180.3 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.008e-05/0.3884, allocations: 180.2 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.699e-05/0.3885, allocations: 176.3 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.3888, allocations: 413.1 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/0.3888, allocations: 105 kB / 1.327 GB, free: 12.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.3889, allocations: 105 kB / 1.327 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.737e-05/0.3889, allocations: 184.2 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.389, allocations: 180.5 kB / 1.327 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.683e-05/0.3891, allocations: 180.2 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.3892, allocations: 184.3 kB / 1.328 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001579/0.3893, allocations: 311.7 kB / 1.328 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.614e-05/0.3894, allocations: 182.1 kB / 1.328 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.572e-05/0.3895, allocations: 180.2 kB / 1.328 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.3896, allocations: 105 kB / 1.328 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.954e-05/0.3897, allocations: 188.2 kB / 1.328 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.3897, allocations: 105 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.827e-05/0.3898, allocations: 79.28 kB / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3898, allocations: 0 / 1.329 GB, free: 10.78 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000264/0.39, allocations: 19.88 kB / 1.329 GB, free: 10.76 MB / 1.029 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.0004025/0.3904, allocations: 235.8 kB / 1.329 GB, free: 10.53 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.005e-05/0.3905, allocations: 7.938 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3905, allocations: 0 / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.658e-06/0.3905, allocations: 3.938 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.3909, allocations: 465.4 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.3913, allocations: 200.2 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.3916, allocations: 0.6805 MB / 1.33 GB, free: 9.129 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.516e-05/0.3917, allocations: 4 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.3917, allocations: 7.438 kB / 1.33 GB, free: 9.117 MB / 1.029 GB Notification: Performance of SimCode: time 5.21e-07/0.3917, allocations: 4 kB / 1.33 GB, free: 9.113 MB / 1.029 GB Notification: Performance of Templates: time 0.003258/0.3949, allocations: 0.6754 MB / 1.331 GB, free: 8.484 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.942128421273082]