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.001743/0.001743, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002204/0.002204, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.781 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.422/3.422, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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.002159/0.002159, allocations: 66.44 kB / 1.186 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4448/0.447, allocations: 181.9 MB / 1.363 GB, free: 14.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001862/0.4488, allocations: 0.5516 MB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4503, allocations: 1.039 MB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.908e-05/0.4503, allocations: 4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.457e-05/0.4504, allocations: 4 kB / 1.365 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008216/0.4512, allocations: 127.7 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 3.732e-05/0.4512, allocations: 7.938 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 5.567e-05/0.4513, allocations: 8 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.4513, allocations: 0 / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.307e-05/0.4513, allocations: 7.984 kB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002251/0.4516, allocations: 39.97 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.4516, allocations: 0 / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002144/0.4518, allocations: 115.8 kB / 1.365 GB, free: 12.11 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.4518, allocations: 7.938 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.464e-05/0.4518, allocations: 0 / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.452, allocations: 108 kB / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.452, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/0.452, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.452, allocations: 0 / 1.365 GB, free: 11.99 MB / 1.061 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.000363/0.4524, allocations: 262.2 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4525, allocations: 8.031 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.4525, allocations: 30.75 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.4525, allocations: 4.938 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.4526, allocations: 118.5 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.4526, allocations: 384 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4527, allocations: 384 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.72e-05/0.4528, allocations: 37.58 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4528, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.253e-06/0.4528, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.4528, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.625e-05/0.4528, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.4532, allocations: 362.6 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.857e-05/0.4533, allocations: 165.1 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.047e-05/0.4533, allocations: 84.08 kB / 1.366 GB, free: 10.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.933e-05/0.4534, allocations: 87.25 kB / 1.366 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.816e-05/0.4535, allocations: 113.8 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.4535, allocations: 0 / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.45e-05/0.4535, allocations: 29.66 kB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.4536, allocations: 126.7 kB / 1.367 GB, free: 10.43 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.4537, allocations: 105.8 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.4537, allocations: 25.7 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.4538, allocations: 84.14 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.876e-06/0.4538, allocations: 0 / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.4538, allocations: 13.72 kB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.4539, allocations: 318.8 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.654e-05/0.454, allocations: 11.94 kB / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.092e-06/0.454, allocations: 0 / 1.367 GB, free: 9.852 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.454, allocations: 4.859 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.454, allocations: 4 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000107/0.4541, allocations: 37.69 kB / 1.367 GB, free: 9.797 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.4541, allocations: 4 kB / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4541, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4541, allocations: 0 / 1.367 GB, free: 9.793 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.658e-05/0.4542, allocations: 8.094 kB / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.4542, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.4542, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.4542, allocations: 0 / 1.367 GB, free: 9.785 MB / 1.061 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.0001178/0.4543, allocations: 194.1 kB / 1.368 GB, free: 9.586 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.4544, allocations: 101 kB / 1.368 GB, free: 9.48 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.4544, allocations: 117.2 kB / 1.368 GB, free: 9.355 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.485e-05/0.4545, allocations: 188.2 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.181e-05/0.4546, allocations: 180.2 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.297e-05/0.4546, allocations: 180.2 kB / 1.368 GB, free: 8.797 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.4549, allocations: 380.2 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.43e-05/0.4549, allocations: 105 kB / 1.369 GB, free: 8.266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-05/0.455, allocations: 108.9 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.884e-05/0.455, allocations: 176.3 kB / 1.369 GB, free: 7.973 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.998e-05/0.4551, allocations: 184.4 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.519e-05/0.4552, allocations: 180.3 kB / 1.369 GB, free: 7.602 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.327e-05/0.4553, allocations: 180.3 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001535/0.4554, allocations: 307.7 kB / 1.37 GB, free: 7.094 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.127e-05/0.4555, allocations: 112.9 kB / 1.37 GB, free: 6.977 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.4556, allocations: 176.3 kB / 1.37 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.4556, allocations: 109 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.4557, allocations: 188.2 kB / 1.37 GB, free: 6.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.4558, allocations: 101 kB / 1.37 GB, free: 6.387 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.808e-05/0.4558, allocations: 83.27 kB / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4558, allocations: 0 / 1.371 GB, free: 6.305 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002541/0.4561, allocations: 23.94 kB / 1.371 GB, free: 6.281 MB / 1.061 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.0007373/0.4568, allocations: 0.8803 MB / 1.371 GB, free: 5.379 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.223e-05/0.4569, allocations: 8 kB / 1.371 GB, free: 5.371 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4569, allocations: 0 / 1.371 GB, free: 5.371 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.4569, allocations: 0 / 1.371 GB, free: 5.371 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4573, allocations: 459.3 kB / 1.372 GB, free: 4.922 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005614/0.4578, allocations: 261.5 kB / 1.372 GB, free: 4.625 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.671e-05/0.4579, allocations: 63.33 kB / 1.372 GB, free: 4.543 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.261e-05/0.4579, allocations: 8.062 kB / 1.372 GB, free: 4.535 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.458, allocations: 11.38 kB / 1.372 GB, free: 4.523 MB / 1.061 GB Notification: Performance of SimCode: time 3.5e-07/0.458, allocations: 4 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.4889, allocations: 2.172 MB / 1.374 GB, free: 2.516 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.71, allocations: 7.969 kB / 1.374 GB, free: 2.508 MB / 1.061 GB " [Timeout remaining time 287] (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: 20.13556642876938]