Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002232/0.002232, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002321/0.002321, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.801 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.193/3.193, allocations: 0.4893 GB / 0.7944 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] 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.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,fileNamePrefix="Buildings_12_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_12_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.00211/0.00211, allocations: 65.14 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.446/0.4481, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002095/0.4502, allocations: 0.5655 MB / 1.326 GB, free: 1.82 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001539/0.4518, allocations: 1.023 MB / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.4518, allocations: 0 / 1.327 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.4518, allocations: 4 kB / 1.327 GB, free: 0.7773 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0008649/0.4527, allocations: 135.7 kB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.063e-05/0.4527, allocations: 11.92 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 4.738e-05/0.4527, allocations: 4 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.4528, allocations: 4 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.11e-05/0.4528, allocations: 3.938 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002429/0.4531, allocations: 51.89 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.4531, allocations: 0 / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002237/0.4533, allocations: 115.8 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.358e-06/0.4533, allocations: 4 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 1.74e-05/0.4533, allocations: 4 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.4535, allocations: 104 kB / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4536, allocations: 0 / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4536, allocations: 0 / 1.327 GB, free: 356 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4536, allocations: 0 / 1.327 GB, free: 356 kB / 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.0004052/0.454, allocations: 266.2 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.454, allocations: 12.03 kB / 1.327 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.969e-05/0.4541, allocations: 30.75 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.4541, allocations: 4.891 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.4542, allocations: 106.5 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.4542, allocations: 4.375 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4543, allocations: 384 / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001008/0.4544, allocations: 37.62 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4544, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-06/0.4544, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4544, allocations: 0 / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.999e-05/0.4544, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.4549, allocations: 366.5 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.455, allocations: 165.1 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.517e-05/0.455, allocations: 84.14 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.819e-05/0.4551, allocations: 79.28 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.805e-05/0.4552, allocations: 105.8 kB / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.4552, allocations: 0 / 1.328 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.007e-05/0.4552, allocations: 33.64 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.622e-05/0.4553, allocations: 130.7 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.4555, allocations: 109.7 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.4555, allocations: 25.7 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.865e-05/0.4555, allocations: 88.12 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.868e-06/0.4555, allocations: 0 / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.179e-05/0.4556, allocations: 13.72 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.4557, allocations: 326.8 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.4557, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.4557, allocations: 0 / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.836e-05/0.4558, allocations: 8.859 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4558, allocations: 0 / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001244/0.4559, allocations: 37.59 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4559, allocations: 10.34 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4559, allocations: 0 / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.4559, allocations: 3.938 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.859e-05/0.4559, allocations: 3.984 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.4559, allocations: 4.094 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.291e-05/0.456, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.456, allocations: 4 kB / 1.329 GB, free: 14.13 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.0001299/0.4561, allocations: 192.2 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.4562, allocations: 105 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.4562, allocations: 112.1 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.149e-05/0.4563, allocations: 180.2 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.262e-05/0.4564, allocations: 180.2 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.91e-05/0.4565, allocations: 184.3 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.4568, allocations: 376.2 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.004e-05/0.4568, allocations: 109 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.4569, allocations: 101 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.457, allocations: 188.2 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/0.4571, allocations: 180.5 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.721e-05/0.4571, allocations: 180.2 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.192e-05/0.4572, allocations: 188.3 kB / 1.331 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.4574, allocations: 307.7 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.4575, allocations: 101 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.572e-05/0.4576, allocations: 188.2 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.162e-05/0.4576, allocations: 105 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.4577, allocations: 180.3 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.4578, allocations: 116.9 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.4578, allocations: 79.28 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4578, allocations: 0 / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002589/0.4581, allocations: 27.92 kB / 1.332 GB, free: 10.62 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.0007875/0.4589, allocations: 0.8583 MB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.178e-05/0.459, allocations: 7.938 kB / 1.333 GB, free: 9.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.459, allocations: 3.938 kB / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.643e-06/0.459, allocations: 0 / 1.333 GB, free: 9.727 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003943/0.4594, allocations: 459.7 kB / 1.334 GB, free: 9.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006472/0.46, allocations: 264.1 kB / 1.334 GB, free: 8.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.331e-05/0.4601, allocations: 55.36 kB / 1.334 GB, free: 8.902 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.839e-05/0.4601, allocations: 11.95 kB / 1.334 GB, free: 8.891 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.11e-05/0.4601, allocations: 11.44 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4602, allocations: 0 / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03222/0.4924, allocations: 2.163 MB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/12.66, allocations: 9.312 kB / 1.336 GB, free: 6.867 MB / 1.029 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_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_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.fmu > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.580343997105956]