Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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.001335/0.001335, allocations: 108.9 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.001523/0.001523, 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.527/1.527, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.286/3.286, allocations: 0.505 GB / 0.8066 GB, free: 23.13 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa",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.002218/0.002218, allocations: 69.88 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.398, allocations: 180.2 MB / 1.348 GB, free: 9.977 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001873/0.3998, allocations: 0.5473 MB / 1.348 GB, free: 9.434 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.4017, allocations: 1.043 MB / 1.349 GB, free: 8.375 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.4017, allocations: 4 kB / 1.349 GB, free: 8.371 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 1.39e-05/0.4017, allocations: 3.938 kB / 1.349 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0008146/0.4025, allocations: 127.7 kB / 1.349 GB, free: 8.242 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.514e-05/0.4026, allocations: 11.94 kB / 1.349 GB, free: 8.23 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.4026, allocations: 11.92 kB / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.4027, allocations: 0 / 1.349 GB, free: 8.219 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.4027, allocations: 4 kB / 1.349 GB, free: 8.215 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.4029, allocations: 47.88 kB / 1.35 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.403, allocations: 0 / 1.35 GB, free: 8.168 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.4032, allocations: 119.9 kB / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 8.777e-06/0.4032, allocations: 0 / 1.35 GB, free: 8.051 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.316e-05/0.4032, allocations: 7.984 kB / 1.35 GB, free: 8.043 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/0.4034, allocations: 103.9 kB / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.4034, allocations: 0 / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4034, allocations: 0 / 1.35 GB, free: 7.941 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.4034, allocations: 0 / 1.35 GB, free: 7.941 MB / 1.045 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.0004173/0.4039, allocations: 341.1 kB / 1.35 GB, free: 7.562 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.4039, allocations: 15.98 kB / 1.35 GB, free: 7.547 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.4039, allocations: 30.75 kB / 1.35 GB, free: 7.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.234e-05/0.404, allocations: 4.938 kB / 1.35 GB, free: 7.504 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.4041, allocations: 168.4 kB / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.4041, allocations: 384 / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.4041, allocations: 384 / 1.35 GB, free: 7.301 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.013e-05/0.4042, allocations: 29.64 kB / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.4042, allocations: 0 / 1.35 GB, free: 7.266 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.4042, allocations: 4 kB / 1.35 GB, free: 7.262 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.4043, allocations: 3.938 kB / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.704e-05/0.4043, allocations: 0 / 1.35 GB, free: 7.258 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.4047, allocations: 476.6 kB / 1.351 GB, free: 6.723 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4048, allocations: 165.1 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.4049, allocations: 80.14 kB / 1.351 GB, free: 6.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.637e-05/0.4049, allocations: 75.28 kB / 1.351 GB, free: 6.395 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.035e-05/0.405, allocations: 117.8 kB / 1.351 GB, free: 6.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.405, allocations: 0 / 1.351 GB, free: 6.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=0): time 7.354e-05/0.4051, allocations: 25.7 kB / 1.351 GB, free: 6.238 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.542e-05/0.4051, allocations: 126.7 kB / 1.351 GB, free: 6.102 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.4053, allocations: 105.8 kB / 1.351 GB, free: 5.988 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4053, allocations: 25.7 kB / 1.351 GB, free: 5.957 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.623e-05/0.4053, allocations: 88.03 kB / 1.352 GB, free: 5.867 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-06/0.4053, allocations: 4 kB / 1.352 GB, free: 5.863 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.4054, allocations: 17.72 kB / 1.352 GB, free: 5.84 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4055, allocations: 318.8 kB / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.528e-06/0.4055, allocations: 0 / 1.352 GB, free: 5.52 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.082e-06/0.4055, allocations: 3.938 kB / 1.352 GB, free: 5.516 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.6e-05/0.4056, allocations: 12.8 kB / 1.352 GB, free: 5.5 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4056, allocations: 3.938 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.887e-05/0.4057, allocations: 37.77 kB / 1.352 GB, free: 5.453 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.4057, allocations: 4 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.4057, allocations: 0 / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.4057, allocations: 192 / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.536e-05/0.4057, allocations: 0 / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.4057, allocations: 3.984 kB / 1.352 GB, free: 5.445 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.704e-05/0.4057, allocations: 3.984 kB / 1.352 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.4057, allocations: 7.984 kB / 1.352 GB, free: 5.434 MB / 1.045 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.0001203/0.4059, allocations: 189.1 kB / 1.352 GB, free: 5.238 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.523e-05/0.4059, allocations: 109 kB / 1.352 GB, free: 5.125 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.31e-05/0.406, allocations: 112.1 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.97e-05/0.4061, allocations: 180.2 kB / 1.353 GB, free: 4.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001781/0.4063, allocations: 180.2 kB / 1.353 GB, free: 4.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.099e-05/0.4064, allocations: 180.3 kB / 1.353 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.4068, allocations: 409.7 kB / 1.353 GB, free: 3.996 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.197e-05/0.4068, allocations: 105 kB / 1.353 GB, free: 3.887 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.407, allocations: 104.9 kB / 1.353 GB, free: 3.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.034e-05/0.4071, allocations: 184.3 kB / 1.354 GB, free: 3.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.505e-05/0.4072, allocations: 180.5 kB / 1.354 GB, free: 3.406 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001112/0.4073, allocations: 180.2 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.902e-05/0.4074, allocations: 188.3 kB / 1.354 GB, free: 3.031 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.4077, allocations: 307.7 kB / 1.354 GB, free: 2.707 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001026/0.4078, allocations: 182.1 kB / 1.355 GB, free: 2.504 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/0.408, allocations: 184.2 kB / 1.355 GB, free: 2.316 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.289e-05/0.4081, allocations: 105 kB / 1.355 GB, free: 2.207 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.4082, allocations: 180.2 kB / 1.355 GB, free: 2.023 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.726e-05/0.4082, allocations: 105 kB / 1.355 GB, free: 1.914 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001187/0.4083, allocations: 83.28 kB / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4083, allocations: 0 / 1.355 GB, free: 1.832 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003149/0.4087, allocations: 27.92 kB / 1.355 GB, free: 1.805 MB / 1.045 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.0007933/0.4095, allocations: 0.8746 MB / 1.356 GB, free: 0.9062 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.848e-05/0.4095, allocations: 4 kB / 1.356 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4095, allocations: 0 / 1.356 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.943e-06/0.4095, allocations: 4.062 kB / 1.356 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.4099, allocations: 459.7 kB / 1.357 GB, free: 456 kB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006189/0.4106, allocations: 257.7 kB / 1.357 GB, free: 156 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.4109, allocations: 0.6727 MB / 1.357 GB, free: 15.45 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.4109, allocations: 11.98 kB / 1.357 GB, free: 15.44 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.411, allocations: 11.44 kB / 1.357 GB, free: 15.43 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.411, allocations: 0 / 1.357 GB, free: 15.43 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02667/0.4376, allocations: 1.687 MB / 1.359 GB, free: 13.93 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.825, allocations: 7.781 kB / 1.359 GB, free: 13.93 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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.871586055960506]