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.0008841/0.0008841, 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.0008221/0.0008221, allocations: 165.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.8892/0.8892, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.785/1.785, allocations: 389 MB / 0.633 GB, free: 12.68 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.683e-06/1.683e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.847e-05/2.015e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00126/0.001281, allocations: 0.577 MB / 1 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001315/0.002596, allocations: 1.012 MB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.002616, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.677e-05/0.002632, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0007285/0.003361, allocations: 99.7 kB / 1.001 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 3.707e-05/0.003398, allocations: 11.94 kB / 1.001 GB, free: 11.71 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.145e-05/0.003449, allocations: 11.98 kB / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.003489, allocations: 0 / 1.001 GB, free: 11.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.452e-05/0.003524, allocations: 15.86 kB / 1.001 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.00378, allocations: 27.98 kB / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.003794, allocations: 0 / 1.001 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.003963, allocations: 79.84 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.003974, allocations: 3.984 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.508e-05/0.003989, allocations: 0 / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.004174, allocations: 87.83 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.004176, allocations: 0 / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.322e-06/0.004178, allocations: 4 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004181, allocations: 3.938 kB / 1.002 GB, free: 11.48 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.0003123/0.004494, allocations: 256.5 kB / 1.002 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.00454, allocations: 8.75 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.004574, allocations: 30.75 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.264e-05/0.004597, allocations: 4.875 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.95e-05/0.004696, allocations: 117.7 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.004707, allocations: 384 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.004714, allocations: 384 / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.26e-05/0.004796, allocations: 30.27 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004803, allocations: 4.188 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.004812, allocations: 3.938 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.004815, allocations: 0 / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.57e-05/0.004831, allocations: 0 / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.005126, allocations: 354.6 kB / 1.002 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/0.00519, allocations: 181 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.394e-05/0.005214, allocations: 84.14 kB / 1.003 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.005233, allocations: 79.27 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.005265, allocations: 109.8 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=0): time 6.61e-07/0.005265, allocations: 0 / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of matching and sorting (n=0): time 5.315e-05/0.005319, allocations: 33.62 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.28e-05/0.005371, allocations: 130.7 kB / 1.003 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.676e-05/0.005458, allocations: 101.9 kB / 1.003 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.005469, allocations: 25.7 kB / 1.003 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.165e-05/0.005501, allocations: 80.14 kB / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.005503, allocations: 0 / 1.003 GB, free: 9.711 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.027e-05/0.005534, allocations: 17.7 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.062e-05/0.005624, allocations: 310.8 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-06/0.005633, allocations: 0 / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.846e-06/0.005642, allocations: 8 kB / 1.004 GB, free: 9.367 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.407e-05/0.005666, allocations: 4.922 kB / 1.004 GB, free: 9.359 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.005668, allocations: 4 kB / 1.004 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001065/0.005775, allocations: 41.58 kB / 1.004 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.005791, allocations: 7.938 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.005797, allocations: 7.922 kB / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.00581, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.63e-05/0.005826, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.005831, allocations: 0 / 1.004 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.005844, allocations: 4 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00585, allocations: 0 / 1.004 GB, free: 9.289 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 7.768e-05/0.005927, allocations: 185.2 kB / 1.004 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.005986, allocations: 116.9 kB / 1.004 GB, free: 8.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.063e-05/0.006037, allocations: 112.1 kB / 1.004 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.006088, allocations: 180.2 kB / 1.004 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.668e-05/0.006145, allocations: 184.2 kB / 1.004 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-05/0.006193, allocations: 176.3 kB / 1.004 GB, free: 8.305 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.006454, allocations: 380.2 kB / 1.005 GB, free: 7.883 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.901e-05/0.006503, allocations: 108.9 kB / 1.005 GB, free: 7.77 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.006533, allocations: 101 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-05/0.00659, allocations: 184.2 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/0.006643, allocations: 176.3 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.135e-05/0.006695, allocations: 184.2 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.396e-05/0.006749, allocations: 188.2 kB / 1.006 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.006866, allocations: 307.7 kB / 1.006 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.437e-05/0.0069, allocations: 101 kB / 1.006 GB, free: 6.488 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.746e-05/0.006968, allocations: 184.2 kB / 1.006 GB, free: 6.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.962e-05/0.007048, allocations: 108.9 kB / 1.006 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.007092, allocations: 180.3 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.007114, allocations: 104.9 kB / 1.007 GB, free: 5.895 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.745e-05/0.007152, allocations: 83.27 kB / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.007152, allocations: 0 / 1.007 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001734/0.007325, allocations: 23.88 kB / 1.007 GB, free: 5.789 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.0004388/0.007764, allocations: 0.8689 MB / 1.008 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 5.57e-05/0.00782, allocations: 11.94 kB / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.007821, allocations: 0 / 1.008 GB, free: 4.895 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.007822, allocations: 3.938 kB / 1.008 GB, free: 4.891 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.008069, allocations: 459.7 kB / 1.008 GB, free: 4.438 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004138/0.008483, allocations: 245.6 kB / 1.008 GB, free: 4.156 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.536e-05/0.008518, allocations: 59.33 kB / 1.008 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.242e-05/0.00854, allocations: 7.938 kB / 1.008 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.008566, allocations: 8.5 kB / 1.008 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of SimCode: time 7.81e-07/0.008567, allocations: 0 / 1.008 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01514/0.02371, allocations: 2.194 MB / 1.011 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.83/6.854, allocations: 8.062 kB / 1.011 GB, free: 2.066 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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] "Error: Failed to open simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv: Error: Error opening file: Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv " [Timeout remaining time 300] "" Variables in the reference:time,cmp Variables in the result: [Calling sys.exit(0), Time elapsed: 11.004021028988063]