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.0008704/0.0008704, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008151/0.0008151, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8837/0.8837, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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 1.763/1.763, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.597e-05/1.73e-05, allocations: 9.234 kB / 0.9997 GB, free: 13.44 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001134/0.001151, allocations: 0.5793 MB / 1 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009702/0.002122, allocations: 1 MB / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.002141, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.455e-05/0.002156, allocations: 0 / 1.001 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.002791, allocations: 99.72 kB / 1.001 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 2.621e-05/0.002817, allocations: 15.91 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.00286, allocations: 4 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.002896, allocations: 0 / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.696e-05/0.002923, allocations: 7.938 kB / 1.001 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.003073, allocations: 35.97 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.102e-05/0.003084, allocations: 4 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.003214, allocations: 79.78 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.756e-06/0.003223, allocations: 3.984 kB / 1.002 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.461e-05/0.003237, allocations: 12 kB / 1.002 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.003374, allocations: 79.84 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003376, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.022e-06/0.003377, allocations: 3.938 kB / 1.002 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.003381, allocations: 0 / 1.002 GB, free: 11.5 MB / 0.9636 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.0002478/0.003628, allocations: 254.3 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.003664, allocations: 8.75 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.737e-05/0.003691, allocations: 34.75 kB / 1.002 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.962e-05/0.003711, allocations: 4.875 kB / 1.002 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.533e-05/0.003786, allocations: 117.7 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.003796, allocations: 4.359 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.023e-06/0.003803, allocations: 4.375 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.907e-05/0.003873, allocations: 30.27 kB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.003879, allocations: 192 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.003887, allocations: 3.938 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.003891, allocations: 0 / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.542e-05/0.003906, allocations: 4 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.004186, allocations: 358.6 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.267e-05/0.004249, allocations: 181.1 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.107e-05/0.00427, allocations: 80.14 kB / 1.003 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.004289, allocations: 75.28 kB / 1.003 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.00432, allocations: 113.8 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.21e-07/0.004321, allocations: 0 / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.006e-05/0.004371, allocations: 29.64 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.004414, allocations: 126.7 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.982e-05/0.004494, allocations: 109.8 kB / 1.003 GB, free: 9.832 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.004502, allocations: 25.7 kB / 1.003 GB, free: 9.801 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.004529, allocations: 80.14 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.264e-06/0.004531, allocations: 0 / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.004553, allocations: 13.72 kB / 1.003 GB, free: 9.699 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.004623, allocations: 314.8 kB / 1.004 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.524e-06/0.004631, allocations: 4 kB / 1.004 GB, free: 9.379 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.539e-06/0.004635, allocations: 4 kB / 1.004 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.915e-05/0.004654, allocations: 4.859 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.004656, allocations: 0 / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001292/0.004785, allocations: 45.56 kB / 1.004 GB, free: 9.316 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.004804, allocations: 4 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.004808, allocations: 3.938 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.004818, allocations: 0 / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.636e-05/0.004835, allocations: 4 kB / 1.004 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.00484, allocations: 4.094 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.062e-05/0.00485, allocations: 0 / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.004855, allocations: 0 / 1.004 GB, free: 9.301 MB / 0.9636 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 6.146e-05/0.004917, allocations: 189.1 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.004953, allocations: 116.8 kB / 1.004 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.493e-05/0.004988, allocations: 112.1 kB / 1.004 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-05/0.005031, allocations: 180.3 kB / 1.004 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-05/0.005073, allocations: 180.2 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.184e-05/0.005115, allocations: 176.3 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.005252, allocations: 384.2 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/0.005275, allocations: 101 kB / 1.005 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.0053, allocations: 109 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.879e-05/0.005338, allocations: 180.2 kB / 1.005 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/0.005381, allocations: 188.2 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.805e-05/0.005449, allocations: 184.2 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.897e-05/0.005498, allocations: 176.3 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.005609, allocations: 307.7 kB / 1.006 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.005647, allocations: 113 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.005697, allocations: 180.2 kB / 1.006 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.761e-05/0.005744, allocations: 101 kB / 1.006 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.005794, allocations: 180.3 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/0.005819, allocations: 108.9 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.345e-05/0.005853, allocations: 91.44 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005853, allocations: 0 / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001803/0.006033, allocations: 19.94 kB / 1.007 GB, free: 5.793 MB / 0.9636 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.0004595/0.006493, allocations: 0.8663 MB / 1.008 GB, free: 4.91 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.847e-05/0.006551, allocations: 7.938 kB / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.006553, allocations: 0 / 1.008 GB, free: 4.902 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.006554, allocations: 4 kB / 1.008 GB, free: 4.898 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.006802, allocations: 451.7 kB / 1.008 GB, free: 4.453 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.0072, allocations: 241.6 kB / 1.008 GB, free: 4.176 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.007238, allocations: 59.34 kB / 1.008 GB, free: 4.098 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.007258, allocations: 3.938 kB / 1.008 GB, free: 4.094 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.007282, allocations: 8.5 kB / 1.008 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of SimCode: time 6.72e-07/0.007282, allocations: 8.062 kB / 1.008 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.02224, allocations: 2.195 MB / 1.011 GB, free: 2.09 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.844/6.866, allocations: 9.797 kB / 1.011 GB, free: 2.082 MB / 0.9636 GB " [Timeout remaining time 293] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 840.0] 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/jenkins/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: 10.917430153116584]