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.001754/0.001754, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001877/0.001877, allocations: 190.3 kB / 22.23 MB, free: 5.137 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.513/1.513, allocations: 225.6 MB / 251 MB, free: 13.02 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.899/2.899, allocations: 476.7 MB / 0.7646 GB, free: 9.895 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.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.002081/0.002081, allocations: 67.89 kB / 1.11 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9903/0.9924, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002368/0.9947, allocations: 0.5862 MB / 1.275 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.9964, allocations: 1.011 MB / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.9964, allocations: 0 / 1.276 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.795e-05/0.9964, allocations: 3.938 kB / 1.276 GB, free: 2.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008174/0.9972, allocations: 99.77 kB / 1.276 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.14e-05/0.9973, allocations: 4 kB / 1.276 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 5.653e-05/0.9973, allocations: 7.984 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.9974, allocations: 4 kB / 1.276 GB, free: 2.465 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 1.738e-05/0.9974, allocations: 7.938 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.9976, allocations: 31.97 kB / 1.276 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.668e-06/0.9977, allocations: 4 kB / 1.276 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.9979, allocations: 79.91 kB / 1.276 GB, free: 2.344 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.351e-05/0.9979, allocations: 7.938 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.261e-05/0.9979, allocations: 0 / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.9981, allocations: 75.36 kB / 1.276 GB, free: 2.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.9981, allocations: 4 kB / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of FrontEnd: time 9.92e-07/0.9981, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.9981, allocations: 0 / 1.276 GB, free: 2.266 MB / 0.9669 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.0003787/0.9985, allocations: 265 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.9985, allocations: 11.98 kB / 1.277 GB, free: 1.969 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.777e-05/0.9986, allocations: 4.938 kB / 1.277 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.9987, allocations: 110.5 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.9987, allocations: 4.375 kB / 1.277 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.9987, allocations: 4.375 kB / 1.277 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.095e-05/0.9988, allocations: 33.77 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.9988, allocations: 0 / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.9988, allocations: 0 / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.9988, allocations: 4 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.088e-05/0.9989, allocations: 4 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.9993, allocations: 358.6 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/0.9994, allocations: 173.1 kB / 1.277 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.9995, allocations: 80.14 kB / 1.277 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.9995, allocations: 83.28 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.9996, allocations: 105.8 kB / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.9996, allocations: 0 / 1.277 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.069e-05/0.9997, allocations: 29.7 kB / 1.277 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.9998, allocations: 126.7 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001144/0.9999, allocations: 105.8 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.9999, allocations: 29.7 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.669e-05/1, allocations: 84.08 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/1, allocations: 9.609 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/1, allocations: 9.719 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001678/1, allocations: 314.8 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/1, allocations: 4 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/1, allocations: 0 / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/1, allocations: 8.859 kB / 1.278 GB, free: 168 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1, allocations: 4.062 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001162/1, allocations: 37.69 kB / 1.278 GB, free: 120 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1, allocations: 5.719 kB / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1, allocations: 0 / 1.278 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1, allocations: 4 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.855e-05/1, allocations: 4 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.658e-06/1, allocations: 3.938 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.689e-05/1, allocations: 7.875 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/1, allocations: 0 / 1.278 GB, free: 96 kB / 0.9669 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.0001456/1.001, allocations: 189.1 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.696e-05/1.001, allocations: 105 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.892e-05/1.001, allocations: 112.1 kB / 1.279 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.847e-05/1.001, allocations: 180.2 kB / 1.279 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001242/1.001, allocations: 180.5 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001074/1.001, allocations: 180.2 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/1.001, allocations: 384.2 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.833e-05/1.001, allocations: 109 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.779e-05/1.001, allocations: 104.9 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.867e-05/1.002, allocations: 176.3 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/1.002, allocations: 184.2 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.762e-05/1.002, allocations: 184.3 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.226e-05/1.002, allocations: 184.2 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/1.002, allocations: 304 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/1.002, allocations: 109 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.002, allocations: 184.3 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/1.002, allocations: 108.9 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/1.002, allocations: 176.3 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/1.002, allocations: 105 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.998e-05/1.002, allocations: 79.28 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.002, allocations: 0 / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002906/1.003, allocations: 23.94 kB / 1.281 GB, free: 12.61 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.0004274/1.003, allocations: 228.3 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.106e-05/1.003, allocations: 4 kB / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.003, allocations: 0 / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-06/1.003, allocations: 0 / 1.282 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/1.004, allocations: 466.1 kB / 1.282 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004189/1.004, allocations: 200 kB / 1.282 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/1.004, allocations: 0.6768 MB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.382e-05/1.004, allocations: 0 / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.908e-05/1.005, allocations: 15.38 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of SimCode: time 5.31e-07/1.005, allocations: 4 kB / 1.283 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of Templates: time 0.003505/1.008, allocations: 0.6806 MB / 1.284 GB, free: 10.34 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.311000054702163]