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.001338/0.001338, allocations: 105.1 kB / 16.45 MB, free: 6.445 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.001267/0.001267, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.416/1.416, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] 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.702/2.702, allocations: 476.7 MB / 0.7611 GB, free: 15.71 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.002056/0.002056, allocations: 72.12 kB / 1.104 GB, free: 6.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.034/1.036, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001772/1.038, allocations: 0.5767 MB / 1.269 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001247/1.039, allocations: 0.997 MB / 1.27 GB, free: 6.656 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2e-05/1.039, allocations: 3.938 kB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.461e-05/1.039, allocations: 0.7812 kB / 1.27 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007197/1.04, allocations: 106.1 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 3.398e-05/1.04, allocations: 5.469 kB / 1.27 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.042e-05/1.04, allocations: 11.64 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.307e-05/1.04, allocations: 2.5 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.215e-05/1.04, allocations: 4.219 kB / 1.27 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/1.041, allocations: 33.53 kB / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/1.041, allocations: 0 / 1.27 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/1.041, allocations: 83.41 kB / 1.271 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.072e-05/1.041, allocations: 4.938 kB / 1.271 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/1.041, allocations: 1.031 kB / 1.271 GB, free: 6.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/1.041, allocations: 75.11 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/1.041, allocations: 0.6094 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.954e-06/1.041, allocations: 0.8438 kB / 1.271 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.739e-06/1.041, allocations: 3.938 kB / 1.271 GB, free: 6.523 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.0003136/1.041, allocations: 340.3 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.041, allocations: 10.36 kB / 1.271 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.318e-05/1.041, allocations: 31.5 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/1.041, allocations: 1.75 kB / 1.271 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/1.042, allocations: 167.3 kB / 1.271 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/1.042, allocations: 9.188 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/1.042, allocations: 1.188 kB / 1.271 GB, free: 5.91 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.395e-05/1.042, allocations: 32.38 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.042, allocations: 0 / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/1.042, allocations: 0.7812 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.042, allocations: 0.6562 kB / 1.271 GB, free: 5.875 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.965e-05/1.042, allocations: 6.344 kB / 1.271 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003222/1.042, allocations: 472.4 kB / 1.272 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.708e-05/1.042, allocations: 170.4 kB / 1.272 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/1.042, allocations: 80.14 kB / 1.272 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/1.042, allocations: 76.09 kB / 1.272 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.042, allocations: 107.2 kB / 1.272 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.042, allocations: 4.875 kB / 1.272 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.338e-05/1.042, allocations: 26.97 kB / 1.272 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/1.042, allocations: 136 kB / 1.272 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/1.042, allocations: 100.6 kB / 1.272 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.722e-06/1.042, allocations: 27.06 kB / 1.272 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.081e-05/1.042, allocations: 85 kB / 1.272 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/1.042, allocations: 0 / 1.272 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/1.042, allocations: 17.59 kB / 1.272 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.377e-05/1.042, allocations: 320.3 kB / 1.273 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.046e-05/1.042, allocations: 1.516 kB / 1.273 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-06/1.042, allocations: 0.8125 kB / 1.273 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.327e-05/1.042, allocations: 8.047 kB / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.042, allocations: 0 / 1.273 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.021e-05/1.043, allocations: 41 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.043, allocations: 6.781 kB / 1.273 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/1.043, allocations: 5.781 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/1.043, allocations: 0 / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.454e-05/1.043, allocations: 0.875 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.043, allocations: 0.6562 kB / 1.273 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.405e-05/1.043, allocations: 8.969 kB / 1.273 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/1.043, allocations: 0.75 kB / 1.273 GB, free: 4.109 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 5.949e-05/1.043, allocations: 187.1 kB / 1.273 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/1.043, allocations: 102.8 kB / 1.273 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.31e-05/1.043, allocations: 115.1 kB / 1.273 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.899e-05/1.043, allocations: 181.8 kB / 1.273 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.042e-05/1.043, allocations: 181.6 kB / 1.274 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.87e-05/1.043, allocations: 182.4 kB / 1.274 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002621/1.043, allocations: 401.8 kB / 1.274 GB, free: 18.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/1.043, allocations: 110.3 kB / 1.274 GB, free: 18.59 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.604e-05/1.043, allocations: 106.4 kB / 1.274 GB, free: 18.48 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.75e-05/1.043, allocations: 183.1 kB / 1.275 GB, free: 18.29 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/1.043, allocations: 181.8 kB / 1.275 GB, free: 18.11 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.024e-05/1.043, allocations: 177.9 kB / 1.275 GB, free: 17.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.141e-05/1.044, allocations: 185.7 kB / 1.275 GB, free: 17.74 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/1.044, allocations: 313.6 kB / 1.275 GB, free: 17.42 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/1.044, allocations: 184.1 kB / 1.276 GB, free: 17.21 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.771e-05/1.044, allocations: 178.4 kB / 1.276 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/1.044, allocations: 107.3 kB / 1.276 GB, free: 16.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.646e-05/1.044, allocations: 181.5 kB / 1.276 GB, free: 16.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.968e-05/1.044, allocations: 110.4 kB / 1.276 GB, free: 16.63 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.092e-05/1.044, allocations: 80.34 kB / 1.276 GB, free: 16.55 MB / 1.014 GB Notification: Performance of sort global known variables: time 7.1e-08/1.044, allocations: 0.6562 kB / 1.276 GB, free: 16.55 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002724/1.044, allocations: 20.64 kB / 1.276 GB, free: 16.55 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.0007835/1.045, allocations: 0.8545 MB / 1.277 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.549e-05/1.045, allocations: 3 kB / 1.277 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.045, allocations: 1.188 kB / 1.277 GB, free: 15.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.846e-06/1.045, allocations: 3.938 kB / 1.277 GB, free: 15.72 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/1.046, allocations: 464.9 kB / 1.277 GB, free: 15.27 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/1.046, allocations: 239.8 kB / 1.278 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003174/1.047, allocations: 0.6726 MB / 1.278 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.567e-05/1.047, allocations: 1.531 kB / 1.278 GB, free: 14.34 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.913e-05/1.047, allocations: 16.09 kB / 1.278 GB, free: 14.32 MB / 1.014 GB Notification: Performance of SimCode: time 3.1e-07/1.047, allocations: 3.938 kB / 1.278 GB, free: 14.32 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/1.071, allocations: 1.588 MB / 1.28 GB, free: 13.92 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/9.161, allocations: 7.984 kB / 1.28 GB, free: 13.92 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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_2/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: 15.36603581160307]