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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 108.3 kB / 17.54 MB, free: 4.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 225.6 MB / 249.3 MB, free: 3.039 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.47/2.47, allocations: 476.7 MB / 0.7628 GB, free: 15.25 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 67.89 kB / 1.107 GB, free: 5.137 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7912/0.793, allocations: 168.7 MB / 1.271 GB, free: 7.723 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001492/0.7945, allocations: 0.6089 MB / 1.272 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009419/0.7955, allocations: 1.007 MB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.529e-05/0.7955, allocations: 0 / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.061e-05/0.7955, allocations: 0.7188 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006031/0.7961, allocations: 93.97 kB / 1.273 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 2.995e-05/0.7961, allocations: 13.62 kB / 1.273 GB, free: 6.578 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.7962, allocations: 7.438 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.7962, allocations: 2.172 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.689e-05/0.7962, allocations: 7.422 kB / 1.273 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.7964, allocations: 36.86 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.506e-06/0.7964, allocations: 0.7188 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.7966, allocations: 86.84 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.7966, allocations: 0.8125 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.7966, allocations: 1.375 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.7967, allocations: 74.75 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.7967, allocations: 1.594 kB / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7967, allocations: 0 / 1.273 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.7967, allocations: 0 / 1.273 GB, free: 6.504 MB / 0.9981 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.0002137/0.797, allocations: 332.7 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.797, allocations: 14.06 kB / 1.274 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.733e-05/0.797, allocations: 30.75 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.865e-05/0.797, allocations: 2.469 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.973e-05/0.7971, allocations: 171.5 kB / 1.274 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.7971, allocations: 5.188 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.7971, allocations: 1.969 kB / 1.274 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.606e-05/0.7972, allocations: 35.5 kB / 1.274 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.7972, allocations: 4.562 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.7972, allocations: 0.5156 kB / 1.274 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.7972, allocations: 4.812 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.466e-05/0.7972, allocations: 2.016 kB / 1.274 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000244/0.7975, allocations: 463.8 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.533e-05/0.7975, allocations: 167.3 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.286e-05/0.7975, allocations: 80.14 kB / 1.275 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.484e-06/0.7975, allocations: 83.84 kB / 1.275 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.7975, allocations: 111.5 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7975, allocations: 0 / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 5.289e-05/0.7976, allocations: 32.23 kB / 1.275 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.073e-05/0.7976, allocations: 126.7 kB / 1.275 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.7977, allocations: 97.84 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-06/0.7977, allocations: 30.45 kB / 1.275 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 1.622e-05/0.7977, allocations: 89.58 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.7977, allocations: 0 / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.13e-05/0.7977, allocations: 12.83 kB / 1.275 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.126e-05/0.7977, allocations: 317.1 kB / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.716e-06/0.7977, allocations: 1.031 kB / 1.275 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.7977, allocations: 4.812 kB / 1.275 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.793e-05/0.7978, allocations: 7.578 kB / 1.275 GB, free: 4.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7978, allocations: 4.844 kB / 1.275 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.381e-05/0.7978, allocations: 36.86 kB / 1.275 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.7978, allocations: 4.75 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7979, allocations: 1.906 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.949e-06/0.7979, allocations: 0 / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.204e-05/0.7979, allocations: 1.125 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.7979, allocations: 0 / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.266e-05/0.7979, allocations: 1.547 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.7979, allocations: 1 kB / 1.276 GB, free: 4.105 MB / 0.9981 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 3.775e-05/0.7979, allocations: 194.3 kB / 1.276 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.227e-05/0.798, allocations: 104 kB / 1.276 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.798, allocations: 106.2 kB / 1.276 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.798, allocations: 185.8 kB / 1.276 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.798, allocations: 177.5 kB / 1.276 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.798, allocations: 182.6 kB / 1.276 GB, free: 3.141 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.98e-05/0.7981, allocations: 405.4 kB / 1.277 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.148e-05/0.7982, allocations: 106.8 kB / 1.277 GB, free: 18.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.226e-05/0.7982, allocations: 114.6 kB / 1.277 GB, free: 18.46 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.668e-05/0.7983, allocations: 177.9 kB / 1.277 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/0.7984, allocations: 181.8 kB / 1.277 GB, free: 18.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-05/0.7984, allocations: 182.4 kB / 1.278 GB, free: 17.92 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.574e-05/0.7985, allocations: 178.1 kB / 1.278 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000126/0.7986, allocations: 310.7 kB / 1.278 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 7.479e-05/0.7987, allocations: 191.2 kB / 1.278 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.406e-05/0.7988, allocations: 187.1 kB / 1.278 GB, free: 17.02 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.7989, allocations: 101.7 kB / 1.278 GB, free: 16.91 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.765e-05/0.7989, allocations: 186.3 kB / 1.279 GB, free: 16.73 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-05/0.799, allocations: 102.9 kB / 1.279 GB, free: 16.62 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001045/0.7991, allocations: 84 kB / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.262e-06/0.7991, allocations: 0 / 1.279 GB, free: 16.54 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002778/0.7993, allocations: 21.92 kB / 1.279 GB, free: 16.54 MB / 1.014 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.0005676/0.7999, allocations: 0.8662 MB / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 5.254e-05/0.8, allocations: 10.56 kB / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8, allocations: 0 / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.8, allocations: 1.062 kB / 1.28 GB, free: 15.7 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.8003, allocations: 455.5 kB / 1.28 GB, free: 15.25 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.8007, allocations: 242.2 kB / 1.28 GB, free: 15.01 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.801, allocations: 0.6745 MB / 1.281 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.192e-05/0.801, allocations: 1.875 kB / 1.281 GB, free: 14.31 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.099e-05/0.801, allocations: 9.375 kB / 1.281 GB, free: 14.3 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.801, allocations: 0 / 1.281 GB, free: 14.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02239/0.8234, allocations: 1.511 MB / 1.282 GB, free: 13.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/8.006, allocations: 18.08 kB / 1.283 GB, free: 13.89 MB / 1.014 GB " [Timeout remaining time 292] (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 --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: 13.272192038000867]