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.001273/0.001273, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001424/0.001424, allocations: 214.8 kB / 22.24 MB, free: 5.262 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.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 3.271/3.271, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> 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: 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.002018/0.002018, allocations: 67.73 kB / 1.186 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3643, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001849/0.3661, allocations: 0.583 MB / 1.364 GB, free: 13.46 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3677, allocations: 1.004 MB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.3677, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.3677, allocations: 0 / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0007031/0.3684, allocations: 99.77 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.077e-05/0.3685, allocations: 15.92 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 4.832e-05/0.3685, allocations: 4 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.3686, allocations: 0 / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 1.974e-05/0.3686, allocations: 11.94 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.3688, allocations: 36.19 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3688, allocations: 4 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.369, allocations: 75.89 kB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.184e-05/0.369, allocations: 3.938 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.679e-05/0.369, allocations: 4 kB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.3692, allocations: 71.8 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3692, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/0.3692, allocations: 0 / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.3692, allocations: 3.984 kB / 1.365 GB, free: 12.11 MB / 1.061 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.00035/0.3696, allocations: 258.3 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.3696, allocations: 8.031 kB / 1.366 GB, free: 11.82 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.908e-05/0.3696, allocations: 34.75 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.6e-05/0.3697, allocations: 4.922 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.3698, allocations: 110.5 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3698, allocations: 384 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-06/0.3698, allocations: 384 / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.181e-05/0.3699, allocations: 33.64 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.3699, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.3699, allocations: 0 / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3699, allocations: 7.984 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.192e-05/0.3699, allocations: 7.938 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.3703, allocations: 358.6 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.3704, allocations: 169.1 kB / 1.366 GB, free: 11.02 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.525e-05/0.3705, allocations: 80.14 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.3705, allocations: 79.28 kB / 1.366 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/0.3706, allocations: 109.8 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3706, allocations: 3.938 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.171e-05/0.3707, allocations: 25.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.3707, allocations: 130.7 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.3709, allocations: 109.8 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.3709, allocations: 25.7 kB / 1.367 GB, free: 10.42 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.3709, allocations: 80.14 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3709, allocations: 0 / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3709, allocations: 17.72 kB / 1.367 GB, free: 10.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000191/0.3711, allocations: 314.8 kB / 1.367 GB, free: 9.996 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.416e-05/0.3712, allocations: 7.984 kB / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.64e-06/0.3712, allocations: 0 / 1.367 GB, free: 9.988 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.834e-05/0.3712, allocations: 8.797 kB / 1.367 GB, free: 9.977 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.3712, allocations: 4 kB / 1.367 GB, free: 9.973 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.738e-05/0.3713, allocations: 33.77 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3713, allocations: 4 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.3713, allocations: 0 / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3713, allocations: 4 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.555e-05/0.3713, allocations: 0 / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.3713, allocations: 0 / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.3714, allocations: 0 / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.3714, allocations: 0 / 1.367 GB, free: 9.926 MB / 1.061 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.0001192/0.3715, allocations: 198.1 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.2e-05/0.3715, allocations: 106 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.106e-05/0.3716, allocations: 108.2 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.296e-05/0.3717, allocations: 184.2 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.413e-05/0.3718, allocations: 180.3 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/0.3719, allocations: 188.2 kB / 1.368 GB, free: 8.934 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.3722, allocations: 376.2 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-05/0.3722, allocations: 101 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.3723, allocations: 116.8 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.112e-05/0.3724, allocations: 176.3 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.003e-05/0.3725, allocations: 180.5 kB / 1.369 GB, free: 7.926 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.277e-05/0.3725, allocations: 188.2 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.207e-05/0.3726, allocations: 180.2 kB / 1.369 GB, free: 7.551 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.3728, allocations: 315.7 kB / 1.37 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.3729, allocations: 105 kB / 1.37 GB, free: 7.109 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.373, allocations: 184.1 kB / 1.37 GB, free: 6.922 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.902e-05/0.3731, allocations: 105 kB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.177e-05/0.3731, allocations: 184.4 kB / 1.37 GB, free: 6.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.763e-05/0.3732, allocations: 105 kB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.302e-05/0.3733, allocations: 87.27 kB / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3733, allocations: 0 / 1.37 GB, free: 6.43 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002823/0.3735, allocations: 27.86 kB / 1.37 GB, free: 6.402 MB / 1.061 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.0007678/0.3743, allocations: 0.8666 MB / 1.371 GB, free: 5.516 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.648e-05/0.3744, allocations: 4 kB / 1.371 GB, free: 5.512 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3744, allocations: 0 / 1.371 GB, free: 5.512 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.3744, allocations: 0 / 1.371 GB, free: 5.512 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.3748, allocations: 459.7 kB / 1.372 GB, free: 5.059 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000564/0.3753, allocations: 245.8 kB / 1.372 GB, free: 4.777 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3754, allocations: 59.22 kB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 2.281e-05/0.3755, allocations: 0 / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.3755, allocations: 11.44 kB / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3755, allocations: 0 / 1.372 GB, free: 4.688 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.4046, allocations: 2.052 MB / 1.374 GB, free: 2.816 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.69, allocations: 8.234 kB / 1.374 GB, free: 2.812 MB / 1.061 GB " [Timeout remaining time 288] (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/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: 18.43029484897852]