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.001862/0.001862, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.00242/0.00242, allocations: 210.1 kB / 22.99 MB, free: 4.957 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.557/1.557, allocations: 230.6 MB / 256.8 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.388/3.388, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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: translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cmp",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") [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.00209/0.00209, allocations: 72.05 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4517/0.4538, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002227/0.456, allocations: 0.5498 MB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4578, allocations: 1.039 MB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.459e-05/0.4578, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.905e-05/0.4578, allocations: 0 / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009026/0.4587, allocations: 127.7 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.423e-05/0.4588, allocations: 15.92 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.4588, allocations: 15.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.4589, allocations: 0 / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.864e-05/0.4589, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002631/0.4592, allocations: 47.2 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.248e-05/0.4592, allocations: 0 / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.4594, allocations: 119.8 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.4594, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.32e-05/0.4595, allocations: 7.922 kB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.4597, allocations: 103.8 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4597, allocations: 7.984 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.964e-06/0.4597, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4597, allocations: 0 / 1.329 GB, free: 14.92 MB / 1.029 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.0004387/0.4601, allocations: 258.3 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.4602, allocations: 8.031 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.4602, allocations: 8.891 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.4604, allocations: 106.5 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.4604, allocations: 8.312 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.4604, allocations: 384 / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4605, allocations: 37.81 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4605, allocations: 8 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4605, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.4606, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.4606, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.4611, allocations: 339.2 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.4612, allocations: 173 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.406e-05/0.4612, allocations: 84.08 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.774e-05/0.4613, allocations: 75.28 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.123e-05/0.4613, allocations: 113.8 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.4613, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.284e-05/0.4614, allocations: 25.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/0.4615, allocations: 134.6 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.4616, allocations: 105.8 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4617, allocations: 25.7 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.4617, allocations: 84.14 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.816e-06/0.4617, allocations: 3.938 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.486e-05/0.4618, allocations: 13.72 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4619, allocations: 314.8 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.4619, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.4619, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.462, allocations: 8.922 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.462, allocations: 7.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000132/0.4621, allocations: 41.59 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4621, allocations: 5.719 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4621, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.4622, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.289e-05/0.4622, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.4622, allocations: 3.984 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.53e-05/0.4622, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-06/0.4622, allocations: 0 / 1.331 GB, free: 12.79 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.0001444/0.4624, allocations: 193.6 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.102e-05/0.4624, allocations: 101 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.4625, allocations: 112.1 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/0.4626, allocations: 184.3 kB / 1.332 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.059e-05/0.4627, allocations: 180.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.785e-05/0.4628, allocations: 180.2 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002679/0.4631, allocations: 352.8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.377e-05/0.4631, allocations: 112.9 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.349e-05/0.4632, allocations: 105 kB / 1.332 GB, free: 11.19 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/0.4633, allocations: 176.3 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/0.4634, allocations: 184.6 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001021/0.4635, allocations: 180.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.524e-05/0.4635, allocations: 188.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.4638, allocations: 315.7 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.964e-05/0.4638, allocations: 105 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.692e-05/0.4639, allocations: 180.3 kB / 1.334 GB, free: 9.824 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.204e-05/0.464, allocations: 108.9 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.4641, allocations: 188.3 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/0.4641, allocations: 104.9 kB / 1.334 GB, free: 9.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.058e-05/0.4642, allocations: 79.28 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4642, allocations: 0 / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000304/0.4645, allocations: 31.92 kB / 1.334 GB, free: 9.301 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.0005449/0.465, allocations: 241.3 kB / 1.334 GB, free: 9.059 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.4651, allocations: 4 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4651, allocations: 0 / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.4651, allocations: 0 / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004806/0.4656, allocations: 463.5 kB / 1.335 GB, free: 8.602 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.4661, allocations: 220 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.745e-05/0.4662, allocations: 51.36 kB / 1.335 GB, free: 8.289 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.4662, allocations: 4 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.4662, allocations: 19.42 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4662, allocations: 0 / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of Templates: time 0.003782/0.47, allocations: 0.8015 MB / 1.336 GB, free: 7.5 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/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: 9.998752863990376]