Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001824/0.001824, allocations: 79.89 kB / 19.76 MB, free: 1.875 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.002287/0.002287, allocations: 157.9 kB / 23.01 MB, free: 4.602 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.422/1.422, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.844/2.844, allocations: 394.2 MB / 0.6386 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002251/0.002251, allocations: 69.7 kB / 1.009 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7616/0.7638, allocations: 181.8 MB / 1.187 GB, free: 16.25 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001604/0.7654, allocations: 0.5953 MB / 1.187 GB, free: 15.89 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0009757/0.7664, allocations: 1.011 MB / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.044e-05/0.7664, allocations: 0 / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.054e-05/0.7665, allocations: 0 / 1.188 GB, free: 15.16 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0006661/0.7671, allocations: 91.8 kB / 1.188 GB, free: 15.12 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.364e-05/0.7672, allocations: 17.69 kB / 1.188 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.7672, allocations: 7.578 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.208e-05/0.7672, allocations: 5.688 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 1.514e-05/0.7672, allocations: 2.859 kB / 1.188 GB, free: 15.1 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.7674, allocations: 36.64 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.488e-06/0.7674, allocations: 0.9062 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.7676, allocations: 83 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.478e-06/0.7676, allocations: 1.281 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 1.459e-05/0.7676, allocations: 9.328 kB / 1.188 GB, free: 15.05 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.7678, allocations: 65.23 kB / 1.189 GB, free: 15.04 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.7678, allocations: 0 / 1.189 GB, free: 15.04 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7678, allocations: 0 / 1.189 GB, free: 15.04 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.7678, allocations: 0 / 1.189 GB, free: 15.04 MB / 1.076 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.0002288/0.768, allocations: 256 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.768, allocations: 10.41 kB / 1.189 GB, free: 14.78 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.7681, allocations: 5.734 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.855e-05/0.7681, allocations: 111.5 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.7681, allocations: 384 / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-06/0.7681, allocations: 2.281 kB / 1.189 GB, free: 14.64 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.515e-05/0.7682, allocations: 31.75 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7682, allocations: 4.5 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.7682, allocations: 0 / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-06/0.7682, allocations: 0 / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.444e-05/0.7682, allocations: 2.469 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.7685, allocations: 344.1 kB / 1.189 GB, free: 14.25 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 3.783e-05/0.7685, allocations: 175 kB / 1.189 GB, free: 14.07 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.162e-05/0.7685, allocations: 81.7 kB / 1.19 GB, free: 13.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-06/0.7685, allocations: 79.22 kB / 1.19 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.7685, allocations: 108.7 kB / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.7685, allocations: 0 / 1.19 GB, free: 13.8 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 5.572e-05/0.7686, allocations: 27.42 kB / 1.19 GB, free: 13.77 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.7686, allocations: 128.7 kB / 1.19 GB, free: 13.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.7687, allocations: 109 kB / 1.19 GB, free: 13.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-06/0.7687, allocations: 25.7 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.632e-05/0.7687, allocations: 85.72 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-06/0.7687, allocations: 4 kB / 1.19 GB, free: 13.4 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.7687, allocations: 16.83 kB / 1.19 GB, free: 13.38 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.103e-05/0.7688, allocations: 313.1 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.025e-06/0.7688, allocations: 1.094 kB / 1.19 GB, free: 13.07 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.224e-06/0.7688, allocations: 11 kB / 1.19 GB, free: 13.06 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.882e-05/0.7688, allocations: 6.922 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.7688, allocations: 3.938 kB / 1.19 GB, free: 13.05 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.331e-05/0.7689, allocations: 32.61 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.7689, allocations: 6.125 kB / 1.19 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.7689, allocations: 8.875 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.7689, allocations: 0 / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-05/0.7689, allocations: 1.219 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.7689, allocations: 0 / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.7689, allocations: 1.859 kB / 1.19 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.7689, allocations: 1.188 kB / 1.19 GB, free: 13.01 MB / 1.076 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 4.012e-05/0.769, allocations: 194.8 kB / 1.191 GB, free: 12.81 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.43e-05/0.769, allocations: 102.7 kB / 1.191 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.941e-05/0.769, allocations: 108.1 kB / 1.191 GB, free: 12.59 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.7691, allocations: 181.5 kB / 1.191 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/0.7691, allocations: 182.4 kB / 1.191 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.7691, allocations: 183.5 kB / 1.191 GB, free: 12.04 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.566e-05/0.7692, allocations: 357.9 kB / 1.192 GB, free: 11.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.7692, allocations: 107.1 kB / 1.192 GB, free: 11.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.171e-05/0.7692, allocations: 107.1 kB / 1.192 GB, free: 11.44 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.7692, allocations: 181.7 kB / 1.192 GB, free: 11.25 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.7693, allocations: 186.2 kB / 1.192 GB, free: 11.07 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-05/0.7693, allocations: 178.3 kB / 1.192 GB, free: 10.89 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-05/0.7693, allocations: 178 kB / 1.193 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.262e-05/0.7693, allocations: 311.7 kB / 1.193 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.7694, allocations: 111.8 kB / 1.193 GB, free: 10.27 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.7694, allocations: 182.9 kB / 1.193 GB, free: 10.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.7694, allocations: 103 kB / 1.193 GB, free: 9.984 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.7695, allocations: 182.2 kB / 1.193 GB, free: 9.801 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.7695, allocations: 102.7 kB / 1.194 GB, free: 9.695 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.304e-05/0.7695, allocations: 84.7 kB / 1.194 GB, free: 9.617 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.7695, allocations: 0 / 1.194 GB, free: 9.617 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002505/0.7697, allocations: 20.44 kB / 1.194 GB, free: 9.613 MB / 1.076 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.0002772/0.77, allocations: 233.2 kB / 1.194 GB, free: 9.426 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 6.077e-05/0.7701, allocations: 10.56 kB / 1.194 GB, free: 9.418 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.7701, allocations: 0 / 1.194 GB, free: 9.418 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.7701, allocations: 1.156 kB / 1.194 GB, free: 9.418 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.7703, allocations: 461.5 kB / 1.194 GB, free: 8.969 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002757/0.7706, allocations: 202.5 kB / 1.194 GB, free: 8.773 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.646e-05/0.7706, allocations: 56.3 kB / 1.195 GB, free: 8.703 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.7707, allocations: 6.281 kB / 1.195 GB, free: 8.699 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.62e-05/0.7707, allocations: 10.36 kB / 1.195 GB, free: 8.691 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.7707, allocations: 0 / 1.195 GB, free: 8.691 MB / 1.076 GB Notification: Performance of Templates: time 0.002953/0.7736, allocations: 0.6844 MB / 1.195 GB, free: 8.617 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.459997985046357]