Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001413/0.001413, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001541/0.001541, allocations: 214 kB / 22.24 MB, free: 5.258 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.097/3.097, allocations: 0.49 GB / 0.7951 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.001969/0.001969, allocations: 63.06 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3472, allocations: 176.1 MB / 1.326 GB, free: 1.492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001815/0.349, allocations: 0.5871 MB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3504, allocations: 1.011 MB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.3505, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.3505, allocations: 0 / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007257/0.3512, allocations: 91.77 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.189e-05/0.3512, allocations: 11.94 kB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.049e-05/0.3513, allocations: 7.984 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.154e-05/0.3513, allocations: 12 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.3514, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002273/0.3516, allocations: 40.19 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.3516, allocations: 0 / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.3518, allocations: 79.89 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.3518, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.3518, allocations: 11.94 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.352, allocations: 63.86 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.352, allocations: 3.984 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.363e-06/0.352, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.352, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 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.0003664/0.3524, allocations: 262.3 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3524, allocations: 11.97 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.3525, allocations: 34.69 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.3525, allocations: 8.891 kB / 1.328 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.3526, allocations: 102.5 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.414e-06/0.3526, allocations: 384 / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.3526, allocations: 4.375 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.245e-05/0.3527, allocations: 33.58 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.3527, allocations: 0 / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3527, allocations: 3.984 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3527, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.815e-05/0.3528, allocations: 4 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.3532, allocations: 366.5 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.714e-05/0.3532, allocations: 165.1 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.364e-05/0.3533, allocations: 88.12 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.046e-05/0.3533, allocations: 75.28 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/0.3534, allocations: 105.8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.3534, allocations: 0 / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.115e-05/0.3534, allocations: 29.64 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.3535, allocations: 130.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.3536, allocations: 105.8 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.3536, allocations: 25.7 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.229e-05/0.3537, allocations: 80.14 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.164e-06/0.3537, allocations: 0 / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.3537, allocations: 17.72 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.3538, allocations: 314.8 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.3538, allocations: 7.984 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.3539, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.3539, allocations: 12.86 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3539, allocations: 0 / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001091/0.354, allocations: 41.66 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.354, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.354, allocations: 4 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.354, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.551e-05/0.354, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.354, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.572e-05/0.3541, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.3541, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 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.0001055/0.3542, allocations: 193.6 kB / 1.33 GB, free: 13.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7e-05/0.3542, allocations: 101 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.666e-05/0.3543, allocations: 112.1 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/0.3544, allocations: 184.3 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.982e-05/0.3545, allocations: 180.2 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001534/0.3546, allocations: 192.2 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.3549, allocations: 376.1 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/0.3549, allocations: 105 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.168e-05/0.355, allocations: 105 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-05/0.355, allocations: 184.2 kB / 1.331 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.3551, allocations: 180.5 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.337e-05/0.3552, allocations: 184.2 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.313e-05/0.3553, allocations: 180.3 kB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002049/0.3555, allocations: 311.7 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.784e-05/0.3555, allocations: 105 kB / 1.332 GB, free: 10.55 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/0.3556, allocations: 180.2 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.3557, allocations: 109 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.82e-05/0.3558, allocations: 176.3 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.3558, allocations: 112.9 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.3558, allocations: 79.28 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3558, allocations: 0 / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002551/0.3561, allocations: 27.86 kB / 1.333 GB, free: 9.852 MB / 1.029 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.0006783/0.3568, allocations: 0.8588 MB / 1.334 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.677e-05/0.3568, allocations: 7.938 kB / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.3569, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.3569, allocations: 0 / 1.334 GB, free: 8.965 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3572, allocations: 459.7 kB / 1.334 GB, free: 8.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.3578, allocations: 253.8 kB / 1.334 GB, free: 8.223 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.863e-05/0.3578, allocations: 55.22 kB / 1.335 GB, free: 8.148 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.3579, allocations: 8 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.833e-05/0.3579, allocations: 7.438 kB / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of SimCode: time 2.71e-07/0.3579, allocations: 0 / 1.335 GB, free: 8.133 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02786/0.3857, allocations: 2.072 MB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11/11.39, allocations: 8 kB / 1.337 GB, free: 6.227 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.905516239989083]