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.002346/0.002346, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.003433/0.003433, allocations: 216 kB / 22.24 MB, free: 5.242 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.643/1.643, allocations: 230.6 MB / 256 MB, free: 7.789 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.468/3.468, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 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.002205/0.002205, allocations: 70.11 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.498, allocations: 176.1 MB / 1.326 GB, free: 1.871 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.002144/0.5001, allocations: 0.5537 MB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.5018, allocations: 1.031 MB / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.498e-05/0.5018, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.5018, allocations: 0 / 1.327 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0009627/0.5028, allocations: 127.7 kB / 1.327 GB, free: 156 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.299e-05/0.5028, allocations: 11.94 kB / 1.327 GB, free: 144 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.314e-05/0.5029, allocations: 7.984 kB / 1.327 GB, free: 136 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.5029, allocations: 7.938 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.32e-05/0.5029, allocations: 7.938 kB / 1.327 GB, free: 120 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002499/0.5032, allocations: 39.97 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.5032, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.5035, allocations: 119.8 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.5035, allocations: 4 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.5035, allocations: 0 / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.5037, allocations: 103.7 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.5037, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.404e-06/0.5037, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.5037, allocations: 0 / 1.328 GB, free: 15.86 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.0004189/0.5042, allocations: 258.3 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.5042, allocations: 8.031 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.5042, allocations: 12.89 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.5044, allocations: 114.5 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.5044, allocations: 4.312 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.848e-06/0.5044, allocations: 384 / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.5045, allocations: 29.83 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5045, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5045, allocations: 4 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5045, allocations: 0 / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.5046, allocations: 4 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.505, allocations: 343.2 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.5052, allocations: 177 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.5052, allocations: 84.14 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.5052, allocations: 75.28 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.5053, allocations: 109.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.5053, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.146e-05/0.5054, allocations: 29.64 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.5055, allocations: 130.6 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.5056, allocations: 109.8 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.5056, allocations: 29.7 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.916e-05/0.5056, allocations: 80.14 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.095e-06/0.5056, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.266e-05/0.5057, allocations: 13.72 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.5058, allocations: 310.8 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.5058, allocations: 0 / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.921e-06/0.5058, allocations: 4 kB / 1.329 GB, free: 13.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.5059, allocations: 8.859 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.5059, allocations: 3.938 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001197/0.506, allocations: 49.64 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.506, allocations: 4 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.506, allocations: 3.938 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.506, allocations: 0 / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.637e-05/0.506, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.506, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.506, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.506, allocations: 0 / 1.329 GB, free: 13.71 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.0001135/0.5062, allocations: 189.6 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.304e-05/0.5062, allocations: 105 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.118e-05/0.5063, allocations: 116.1 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.947e-05/0.5064, allocations: 184.3 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.686e-05/0.5065, allocations: 176.3 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.528e-05/0.5065, allocations: 180.2 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002296/0.5068, allocations: 360.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.243e-05/0.5068, allocations: 104.9 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-05/0.5068, allocations: 105 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.338e-05/0.5069, allocations: 176.3 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/0.507, allocations: 184.4 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.233e-05/0.5071, allocations: 180.3 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.883e-05/0.5072, allocations: 188.4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001577/0.5073, allocations: 315.7 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.5074, allocations: 109 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5075, allocations: 180.3 kB / 1.332 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.243e-05/0.5076, allocations: 108.9 kB / 1.332 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.296e-05/0.5077, allocations: 184.3 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-05/0.5077, allocations: 108.9 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.5078, allocations: 79.28 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5078, allocations: 0 / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002576/0.5081, allocations: 27.94 kB / 1.333 GB, free: 10.23 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.0004493/0.5085, allocations: 239.4 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.5086, allocations: 4 kB / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.5086, allocations: 0 / 1.333 GB, free: 9.988 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.363e-06/0.5086, allocations: 3.938 kB / 1.333 GB, free: 9.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.509, allocations: 459.6 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004562/0.5094, allocations: 225.3 kB / 1.334 GB, free: 9.285 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.788e-05/0.5095, allocations: 51.36 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.231e-05/0.5095, allocations: 4 kB / 1.334 GB, free: 9.211 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.5096, allocations: 11.44 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.5096, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of Templates: time 0.003681/0.5132, allocations: 0.7941 MB / 1.334 GB, free: 8.441 MB / 1.029 GB " [Timeout remaining time 299] 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 -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/jenkins/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: 10.44451904296875]