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.001922/0.001922, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002343/0.002343, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.006/3.006, allocations: 0.49 GB / 0.7916 GB, free: 33.21 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.002124/0.002124, allocations: 76.17 kB / 1.149 GB, free: 26.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.349, allocations: 176.1 MB / 1.321 GB, free: 3.273 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00174/0.3508, allocations: 0.5816 MB / 1.321 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001341/0.3521, allocations: 1.023 MB / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.88e-05/0.3521, allocations: 0 / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.371e-05/0.3521, allocations: 0 / 1.322 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006783/0.3528, allocations: 87.78 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 3.68e-05/0.3529, allocations: 19.86 kB / 1.323 GB, free: 1.551 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.895e-05/0.3529, allocations: 4 kB / 1.323 GB, free: 1.547 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.44e-05/0.353, allocations: 8 kB / 1.323 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.353, allocations: 11.92 kB / 1.323 GB, free: 1.527 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.3532, allocations: 28.25 kB / 1.323 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3532, allocations: 4 kB / 1.323 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001759/0.3534, allocations: 83.91 kB / 1.323 GB, free: 1.414 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.079e-05/0.3534, allocations: 4 kB / 1.323 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.653e-05/0.3534, allocations: 3.938 kB / 1.323 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.3536, allocations: 75.72 kB / 1.323 GB, free: 1.332 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3536, allocations: 4 kB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3536, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.3536, allocations: 0 / 1.323 GB, free: 1.328 MB / 1.014 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.0003675/0.354, allocations: 331.4 kB / 1.323 GB, free: 0.957 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.354, allocations: 11.98 kB / 1.323 GB, free: 0.9453 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.354, allocations: 30.75 kB / 1.323 GB, free: 0.9062 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.005e-05/0.3541, allocations: 16.89 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000134/0.3542, allocations: 164.4 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.3542, allocations: 384 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.3542, allocations: 384 / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.3543, allocations: 33.64 kB / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3543, allocations: 0 / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.3543, allocations: 0 / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.616e-06/0.3543, allocations: 0 / 1.323 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.3544, allocations: 3.938 kB / 1.323 GB, free: 0.6484 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3548, allocations: 476.5 kB / 1.324 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3549, allocations: 169.1 kB / 1.324 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.65e-05/0.3549, allocations: 80.14 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.215e-05/0.355, allocations: 79.31 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/0.355, allocations: 113.8 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.355, allocations: 0 / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 6.762e-05/0.3551, allocations: 25.7 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.905e-05/0.3552, allocations: 126.7 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3553, allocations: 105.8 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3553, allocations: 29.64 kB / 1.324 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3553, allocations: 80.14 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.3553, allocations: 4 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.3554, allocations: 17.72 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3555, allocations: 314.8 kB / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.3555, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-06/0.3555, allocations: 0 / 1.325 GB, free: 14.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.924e-05/0.3556, allocations: 16.78 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3556, allocations: 3.938 kB / 1.325 GB, free: 14.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001037/0.3557, allocations: 37.72 kB / 1.325 GB, free: 14.85 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.3557, allocations: 10.03 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3557, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.3557, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.52e-05/0.3557, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.3557, allocations: 0 / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.3557, allocations: 4 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.505e-06/0.3557, allocations: 4 kB / 1.325 GB, free: 14.83 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.0001092/0.3559, allocations: 189 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.3559, allocations: 109 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.23e-05/0.356, allocations: 108.1 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.342e-05/0.3561, allocations: 180.2 kB / 1.325 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.37e-05/0.3561, allocations: 180.3 kB / 1.326 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.956e-05/0.3562, allocations: 180.2 kB / 1.326 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002591/0.3565, allocations: 409.1 kB / 1.326 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.023e-05/0.3565, allocations: 101 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.3566, allocations: 108.9 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.971e-05/0.3567, allocations: 184.3 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-05/0.3567, allocations: 180.5 kB / 1.327 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.288e-05/0.3568, allocations: 180.2 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.594e-05/0.3569, allocations: 188.3 kB / 1.327 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.3571, allocations: 311.7 kB / 1.327 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.3571, allocations: 178.1 kB / 1.328 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.943e-05/0.3572, allocations: 184.2 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.3573, allocations: 105 kB / 1.328 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.3574, allocations: 184.2 kB / 1.328 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.274e-05/0.3575, allocations: 109 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.3575, allocations: 79.22 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3575, allocations: 4 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000251/0.3577, allocations: 23.86 kB / 1.328 GB, free: 11.21 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.0007394/0.3585, allocations: 0.8725 MB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.255e-05/0.3586, allocations: 0 / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3586, allocations: 0 / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.3586, allocations: 8.062 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3589, allocations: 461.3 kB / 1.33 GB, free: 9.852 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005736/0.3595, allocations: 245.7 kB / 1.33 GB, free: 9.57 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3598, allocations: 0.6766 MB / 1.33 GB, free: 8.867 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.538e-05/0.3598, allocations: 4 kB / 1.33 GB, free: 8.863 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3599, allocations: 7.438 kB / 1.33 GB, free: 8.855 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3599, allocations: 0 / 1.33 GB, free: 8.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.3831, allocations: 1.576 MB / 1.332 GB, free: 7.488 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.159, allocations: 0 / 1.332 GB, free: 7.488 MB / 1.029 GB " [Timeout remaining time 292] (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: 14.447880723979324]