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.001779/0.001779, 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.002404/0.002404, allocations: 211.8 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.696/1.696, allocations: 230.6 MB / 256 MB, free: 7.773 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.481/3.481, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 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.002083/0.002083, allocations: 67.62 kB / 1.186 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4505, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.00224/0.4527, allocations: 0.5516 MB / 1.364 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.4548, allocations: 1.035 MB / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.4548, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.4548, allocations: 0 / 1.365 GB, free: 12.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0008821/0.4557, allocations: 139.7 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.182e-05/0.4557, allocations: 7.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.179e-05/0.4558, allocations: 7.984 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.823e-05/0.4559, allocations: 3.938 kB / 1.365 GB, free: 12.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.938e-05/0.4559, allocations: 8 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002462/0.4561, allocations: 43.97 kB / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.4561, allocations: 0 / 1.365 GB, free: 12.28 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.4564, allocations: 115.8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.4564, allocations: 0 / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.4564, allocations: 3.938 kB / 1.365 GB, free: 12.16 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.4566, allocations: 108 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4566, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.374e-06/0.4566, allocations: 0 / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.4566, allocations: 0 / 1.365 GB, free: 12.06 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.0003981/0.457, allocations: 258.3 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4571, allocations: 8.031 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.747e-05/0.4571, allocations: 34.75 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.4572, allocations: 4.922 kB / 1.366 GB, free: 11.72 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4573, allocations: 106.5 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.4573, allocations: 384 / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-06/0.4573, allocations: 4.312 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.96e-05/0.4574, allocations: 37.64 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.4574, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.4574, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4574, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.131e-05/0.4575, allocations: 3.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4579, allocations: 370.5 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.829e-05/0.458, allocations: 165.1 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.972e-05/0.458, allocations: 80.14 kB / 1.366 GB, free: 10.88 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.4581, allocations: 79.27 kB / 1.366 GB, free: 10.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.085e-05/0.4581, allocations: 109.8 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.4581, allocations: 7.938 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 8.216e-05/0.4582, allocations: 29.66 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.112e-05/0.4583, allocations: 126.7 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.4584, allocations: 109.8 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.4584, allocations: 25.7 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.4585, allocations: 84.08 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.4585, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.4585, allocations: 17.72 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4587, allocations: 314.8 kB / 1.367 GB, free: 9.934 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.272e-05/0.4587, allocations: 4 kB / 1.367 GB, free: 9.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.131e-06/0.4587, allocations: 4 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.451e-05/0.4587, allocations: 16.78 kB / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4587, allocations: 0 / 1.367 GB, free: 9.906 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.4588, allocations: 29.7 kB / 1.367 GB, free: 9.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.4589, allocations: 4 kB / 1.367 GB, free: 9.867 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4589, allocations: 3.984 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.4589, allocations: 4 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.751e-05/0.4589, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.4589, allocations: 0 / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.4589, allocations: 4.094 kB / 1.367 GB, free: 9.855 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.4589, allocations: 4 kB / 1.367 GB, free: 9.852 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.0001292/0.459, allocations: 194.1 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.4591, allocations: 104.9 kB / 1.368 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.4592, allocations: 109.2 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-05/0.4593, allocations: 180.3 kB / 1.368 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.482e-05/0.4594, allocations: 188.1 kB / 1.368 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-05/0.4594, allocations: 180.2 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002533/0.4597, allocations: 376.2 kB / 1.369 GB, free: 8.449 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.417e-05/0.4597, allocations: 101 kB / 1.369 GB, free: 8.344 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.873e-05/0.4598, allocations: 109 kB / 1.369 GB, free: 8.23 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.581e-05/0.4599, allocations: 188.2 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.64e-05/0.46, allocations: 180.5 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.46, allocations: 184.2 kB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.302e-05/0.4601, allocations: 180.3 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.4603, allocations: 311.7 kB / 1.37 GB, free: 7.156 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.885e-05/0.4604, allocations: 105 kB / 1.37 GB, free: 7.047 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.4605, allocations: 180.2 kB / 1.37 GB, free: 6.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.4605, allocations: 105 kB / 1.37 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.4606, allocations: 192.2 kB / 1.37 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.4607, allocations: 101 kB / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.4607, allocations: 83.28 kB / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4607, allocations: 0 / 1.371 GB, free: 6.371 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002736/0.461, allocations: 27.92 kB / 1.371 GB, free: 6.344 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.00082/0.4618, allocations: 0.8764 MB / 1.371 GB, free: 5.449 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.868e-05/0.4619, allocations: 8 kB / 1.371 GB, free: 5.441 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4619, allocations: 4.062 kB / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.4619, allocations: 0 / 1.371 GB, free: 5.438 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004112/0.4623, allocations: 459.7 kB / 1.372 GB, free: 4.984 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006062/0.4629, allocations: 257.5 kB / 1.372 GB, free: 4.691 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.501e-05/0.463, allocations: 59.34 kB / 1.372 GB, free: 4.613 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.463, allocations: 4 kB / 1.372 GB, free: 4.609 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.011e-05/0.4631, allocations: 19.42 kB / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.4631, allocations: 0 / 1.372 GB, free: 4.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03532/0.4984, allocations: 2.163 MB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/13.02, allocations: 13.16 kB / 1.374 GB, free: 2.582 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_ZonedBorefields_BaseClasses_HeatTransfer_Validation_ShaKappa_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.7003668602556]