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.001611/0.001611, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001926/0.001926, allocations: 218.6 kB / 22.26 MB, free: 5.121 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.996 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.827/2.827, allocations: 476.7 MB / 0.7707 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [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.002054/0.002054, allocations: 66.73 kB / 1.117 GB, free: 39.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.355, allocations: 170 MB / 1.283 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001786/0.3568, allocations: 0.5897 MB / 1.284 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001371/0.3581, allocations: 1.023 MB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/0.3582, allocations: 0 / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.981e-05/0.3582, allocations: 3.938 kB / 1.285 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007075/0.3589, allocations: 99.77 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 3.642e-05/0.3589, allocations: 11.98 kB / 1.285 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.359, allocations: 4 kB / 1.285 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.359, allocations: 4 kB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.629e-05/0.359, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.3593, allocations: 43.64 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.697e-06/0.3593, allocations: 0 / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.3594, allocations: 83.91 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.067e-05/0.3595, allocations: 4 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.3595, allocations: 7.984 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.3597, allocations: 74.25 kB / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3597, allocations: 0 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3597, allocations: 0 / 1.285 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3597, allocations: 0 / 1.285 GB, free: 9.34 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.0003347/0.36, allocations: 254.3 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.36, allocations: 12.03 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.3601, allocations: 34.75 kB / 1.286 GB, free: 9.008 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.323e-05/0.3601, allocations: 8.859 kB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.3602, allocations: 110.5 kB / 1.286 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-06/0.3602, allocations: 8.375 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.738e-06/0.3602, allocations: 384 / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.098e-05/0.3603, allocations: 33.58 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.3603, allocations: 0 / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.3603, allocations: 3.984 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.3603, allocations: 4 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.594e-05/0.3603, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.3607, allocations: 370.5 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.3608, allocations: 169.1 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.812e-05/0.3609, allocations: 82 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.3609, allocations: 75.28 kB / 1.286 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.3609, allocations: 109.8 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3609, allocations: 4 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.011e-05/0.361, allocations: 25.7 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.3611, allocations: 130.7 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3612, allocations: 101.8 kB / 1.287 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.46e-05/0.3612, allocations: 29.64 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.3613, allocations: 84.14 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.3613, allocations: 0 / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.3613, allocations: 13.72 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.3614, allocations: 322.8 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.007e-06/0.3615, allocations: 0 / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-06/0.3615, allocations: 3.938 kB / 1.287 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.3615, allocations: 12.84 kB / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.3615, allocations: 0 / 1.287 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.401e-05/0.3616, allocations: 33.7 kB / 1.287 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3616, allocations: 4 kB / 1.287 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.3616, allocations: 4 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.3616, allocations: 4.094 kB / 1.287 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.639e-05/0.3616, allocations: 3.938 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.3616, allocations: 3.984 kB / 1.287 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.47e-05/0.3617, allocations: 3.953 kB / 1.287 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3617, allocations: 0 / 1.287 GB, free: 7.125 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.000112/0.3618, allocations: 189.1 kB / 1.287 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.542e-05/0.3619, allocations: 105 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.3619, allocations: 108.1 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001439/0.3621, allocations: 184.2 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.331e-05/0.3621, allocations: 180.3 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.35e-05/0.3622, allocations: 180.2 kB / 1.288 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.3625, allocations: 380.3 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.635e-05/0.3625, allocations: 108.9 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.3625, allocations: 109 kB / 1.289 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.621e-05/0.3626, allocations: 180.2 kB / 1.289 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.377e-05/0.3627, allocations: 184.2 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-05/0.3628, allocations: 180.3 kB / 1.289 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-05/0.3629, allocations: 180.2 kB / 1.289 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001616/0.363, allocations: 312 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.3631, allocations: 108.9 kB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.501e-05/0.3632, allocations: 180.3 kB / 1.29 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.314e-05/0.3633, allocations: 104.9 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.3634, allocations: 188.2 kB / 1.29 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/0.3634, allocations: 105 kB / 1.29 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.048e-05/0.3635, allocations: 75.28 kB / 1.29 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3635, allocations: 0 / 1.29 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002648/0.3637, allocations: 19.94 kB / 1.291 GB, free: 3.641 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.0007103/0.3645, allocations: 0.8741 MB / 1.291 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.668e-05/0.3645, allocations: 12 kB / 1.291 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3645, allocations: 0 / 1.291 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.51e-06/0.3646, allocations: 3.938 kB / 1.291 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.365, allocations: 455.8 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005761/0.3655, allocations: 233.8 kB / 1.292 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.3658, allocations: 0.669 MB / 1.293 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.924e-05/0.3659, allocations: 4 kB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.02e-05/0.3659, allocations: 11.44 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3659, allocations: 0 / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.3933, allocations: 1.636 MB / 1.294 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.94, allocations: 9.391 kB / 1.294 GB, free: 15.85 MB / 0.9981 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.96672180504538]