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.00134/0.00134, allocations: 110.3 kB / 16.46 MB, free: 6.453 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.001468/0.001468, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.407/1.407, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.112/3.112, allocations: 0.49 GB / 0.7916 GB, free: 33.42 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.002066/0.002066, allocations: 77.23 kB / 1.149 GB, free: 26.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 176.1 MB / 1.321 GB, free: 3.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001801/0.3459, allocations: 0.5795 MB / 1.321 GB, free: 2.844 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001345/0.3473, allocations: 1.016 MB / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.057e-05/0.3473, allocations: 0 / 1.322 GB, free: 1.812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.3473, allocations: 4 kB / 1.322 GB, free: 1.809 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000681/0.348, allocations: 91.78 kB / 1.323 GB, free: 1.719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.067e-05/0.348, allocations: 19.92 kB / 1.323 GB, free: 1.699 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.459e-05/0.3481, allocations: 4 kB / 1.323 GB, free: 1.695 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.3481, allocations: 4 kB / 1.323 GB, free: 1.691 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.559e-05/0.3481, allocations: 7.938 kB / 1.323 GB, free: 1.684 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.3483, allocations: 29.88 kB / 1.323 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.3484, allocations: 0 / 1.323 GB, free: 1.656 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001772/0.3485, allocations: 87.84 kB / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.857e-06/0.3485, allocations: 0 / 1.323 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.091e-05/0.3486, allocations: 11.98 kB / 1.323 GB, free: 1.559 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001634/0.3487, allocations: 71.73 kB / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3487, allocations: 0 / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3487, allocations: 0 / 1.323 GB, free: 1.488 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3487, allocations: 0 / 1.323 GB, free: 1.488 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.0003621/0.3491, allocations: 335.4 kB / 1.323 GB, free: 1.113 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.3491, allocations: 11.98 kB / 1.323 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.3492, allocations: 30.75 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.271e-05/0.3492, allocations: 4.891 kB / 1.323 GB, free: 1.059 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.3493, allocations: 176.4 kB / 1.323 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.3493, allocations: 4.312 kB / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-06/0.3494, allocations: 384 / 1.323 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.93e-05/0.3494, allocations: 41.58 kB / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.3494, allocations: 0 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.3495, allocations: 0 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.3495, allocations: 0 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.56e-05/0.3495, allocations: 0 / 1.323 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004438/0.3499, allocations: 472.6 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.74e-05/0.35, allocations: 169.1 kB / 1.324 GB, free: 92 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.12e-05/0.35, allocations: 80.14 kB / 1.324 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.786e-05/0.3501, allocations: 75.28 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.707e-05/0.3502, allocations: 113.8 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3502, allocations: 4 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.506e-05/0.3502, allocations: 25.7 kB / 1.324 GB, free: 15.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.331e-05/0.3503, allocations: 126.7 kB / 1.324 GB, free: 15.64 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3504, allocations: 97.84 kB / 1.324 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.3504, allocations: 37.64 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.3505, allocations: 80.14 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.3505, allocations: 0 / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.687e-05/0.3505, allocations: 13.66 kB / 1.325 GB, free: 15.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3506, allocations: 322.8 kB / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.896e-06/0.3506, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-06/0.3507, allocations: 0 / 1.325 GB, free: 15.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.815e-05/0.3507, allocations: 12.84 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3507, allocations: 0 / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.937e-05/0.3508, allocations: 37.66 kB / 1.325 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.3508, allocations: 8 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3508, allocations: 4.094 kB / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.3508, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.458e-05/0.3508, allocations: 0 / 1.325 GB, free: 15 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3508, allocations: 3.938 kB / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.3508, allocations: 0 / 1.325 GB, free: 14.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.3509, allocations: 0 / 1.325 GB, free: 14.99 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.000108/0.351, allocations: 189.1 kB / 1.325 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.351, allocations: 105 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.3511, allocations: 108.1 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-05/0.3512, allocations: 188.2 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.936e-05/0.3512, allocations: 176.3 kB / 1.326 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.663e-05/0.3513, allocations: 180.2 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002575/0.3516, allocations: 409.2 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.503e-05/0.3516, allocations: 105 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.3517, allocations: 112.9 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.078e-05/0.3517, allocations: 180.2 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.3518, allocations: 188.4 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.506e-05/0.3519, allocations: 176.3 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.888e-05/0.352, allocations: 184.2 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.3521, allocations: 311.8 kB / 1.327 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.693e-05/0.3522, allocations: 182.2 kB / 1.328 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.3523, allocations: 180.3 kB / 1.328 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.649e-05/0.3524, allocations: 109 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.3525, allocations: 188.2 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.3525, allocations: 101 kB / 1.328 GB, free: 11.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.139e-05/0.3526, allocations: 83.22 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3526, allocations: 0 / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002507/0.3528, allocations: 23.88 kB / 1.328 GB, free: 11.36 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.0007422/0.3536, allocations: 0.8687 MB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 6.087e-05/0.3536, allocations: 4 kB / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.3536, allocations: 0 / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-06/0.3536, allocations: 0 / 1.329 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.354, allocations: 464.3 kB / 1.33 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.3546, allocations: 237.7 kB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.3549, allocations: 0.6727 MB / 1.33 GB, free: 9.039 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.547e-05/0.3549, allocations: 4 kB / 1.33 GB, free: 9.035 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.3549, allocations: 11.44 kB / 1.33 GB, free: 9.023 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3549, allocations: 0 / 1.33 GB, free: 9.023 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02544/0.3804, allocations: 1.583 MB / 1.332 GB, free: 7.648 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.546, allocations: 8.297 kB / 1.332 GB, free: 7.645 MB / 1.029 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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: 15.064399542985484]