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.001668/0.001668, allocations: 78.95 kB / 19.76 MB, free: 2.035 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.002104/0.002104, allocations: 157.1 kB / 23.01 MB, free: 4.941 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.479/1.479, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.883/2.883, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 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.002133/0.002133, allocations: 60.09 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403/1.406, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001984/1.408, allocations: 0.5514 MB / 1.154 GB, free: 33.04 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001216/1.409, allocations: 1.037 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.271e-05/1.409, allocations: 0 / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 1.426e-05/1.409, allocations: 4 kB / 1.155 GB, free: 32.28 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008087/1.41, allocations: 130.6 kB / 1.156 GB, free: 32.23 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 3.345e-05/1.41, allocations: 10.25 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 5.271e-05/1.41, allocations: 5.469 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/1.41, allocations: 3.328 kB / 1.156 GB, free: 32.22 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.557e-05/1.41, allocations: 6.547 kB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000234/1.41, allocations: 52.12 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/1.41, allocations: 2.906 kB / 1.156 GB, free: 32.2 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002013/1.41, allocations: 105.9 kB / 1.156 GB, free: 32.17 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/1.41, allocations: 4 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/1.41, allocations: 6.844 kB / 1.156 GB, free: 32.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001986/1.41, allocations: 101.9 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/1.41, allocations: 6.75 kB / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.503e-06/1.41, allocations: 0 / 1.156 GB, free: 32.13 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.472e-06/1.41, allocations: 0 / 1.156 GB, free: 32.13 MB / 1.076 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.000314/1.411, allocations: 256.2 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/1.411, allocations: 10.75 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/1.411, allocations: 4.891 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.539e-05/1.411, allocations: 115.2 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/1.411, allocations: 4.375 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.037e-06/1.411, allocations: 384 / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/1.411, allocations: 36.27 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/1.411, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/1.411, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/1.411, allocations: 0 / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.857e-05/1.411, allocations: 2.969 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/1.411, allocations: 340.4 kB / 1.157 GB, free: 31.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.882e-05/1.412, allocations: 169.1 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.374e-05/1.412, allocations: 86.89 kB / 1.157 GB, free: 31.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/1.412, allocations: 79.28 kB / 1.157 GB, free: 31 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/1.412, allocations: 113.8 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/1.412, allocations: 2.5 kB / 1.157 GB, free: 30.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.03e-05/1.412, allocations: 25.7 kB / 1.157 GB, free: 30.85 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.412, allocations: 126.7 kB / 1.157 GB, free: 30.71 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/1.412, allocations: 108.9 kB / 1.157 GB, free: 30.61 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.782e-06/1.412, allocations: 25.7 kB / 1.157 GB, free: 30.57 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.497e-05/1.412, allocations: 80.14 kB / 1.157 GB, free: 30.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.625e-06/1.412, allocations: 0 / 1.157 GB, free: 30.49 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.321e-05/1.412, allocations: 12.25 kB / 1.157 GB, free: 30.48 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.938e-05/1.412, allocations: 316.7 kB / 1.158 GB, free: 30.16 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.132e-05/1.412, allocations: 11.88 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/1.412, allocations: 2.5 kB / 1.158 GB, free: 30.15 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.53e-05/1.412, allocations: 11.64 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.412, allocations: 3.938 kB / 1.158 GB, free: 30.14 MB / 1.076 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.934e-05/1.412, allocations: 38.91 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/1.412, allocations: 5.844 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/1.412, allocations: 3.328 kB / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.412, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.691e-05/1.412, allocations: 0 / 1.158 GB, free: 30.1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/1.412, allocations: 6.812 kB / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.398e-05/1.412, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/1.412, allocations: 0 / 1.158 GB, free: 30.09 MB / 1.076 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 7.013e-05/1.412, allocations: 191.7 kB / 1.158 GB, free: 29.9 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/1.412, allocations: 101 kB / 1.158 GB, free: 29.79 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/1.412, allocations: 114.2 kB / 1.158 GB, free: 29.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.412, allocations: 180.2 kB / 1.158 GB, free: 29.49 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.412, allocations: 178.9 kB / 1.159 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-05/1.412, allocations: 180.2 kB / 1.159 GB, free: 29.12 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/1.413, allocations: 366.5 kB / 1.159 GB, free: 28.74 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.015e-05/1.413, allocations: 101 kB / 1.159 GB, free: 28.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.707e-05/1.413, allocations: 108.9 kB / 1.159 GB, free: 28.52 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.894e-05/1.413, allocations: 181.9 kB / 1.159 GB, free: 28.34 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/1.413, allocations: 182.8 kB / 1.16 GB, free: 28.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.147e-05/1.413, allocations: 176.3 kB / 1.16 GB, free: 27.98 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-05/1.413, allocations: 182.7 kB / 1.16 GB, free: 27.79 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.135e-05/1.413, allocations: 308.4 kB / 1.16 GB, free: 27.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.164e-05/1.413, allocations: 109 kB / 1.16 GB, free: 27.36 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/1.413, allocations: 182.9 kB / 1.161 GB, free: 27.18 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/1.413, allocations: 104.2 kB / 1.161 GB, free: 27.07 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/1.413, allocations: 182.5 kB / 1.161 GB, free: 26.89 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/1.413, allocations: 107.9 kB / 1.161 GB, free: 26.78 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.801e-05/1.413, allocations: 81.08 kB / 1.161 GB, free: 26.71 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.413, allocations: 0 / 1.161 GB, free: 26.71 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002845/1.413, allocations: 33.34 kB / 1.161 GB, free: 26.7 MB / 1.076 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.0003689/1.414, allocations: 237.5 kB / 1.161 GB, free: 26.51 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/1.414, allocations: 10.5 kB / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/1.414, allocations: 3.938 kB / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-06/1.414, allocations: 0 / 1.161 GB, free: 26.5 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.414, allocations: 470.4 kB / 1.162 GB, free: 26.04 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003708/1.414, allocations: 221.6 kB / 1.162 GB, free: 25.84 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/1.414, allocations: 57.45 kB / 1.162 GB, free: 25.77 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.256e-05/1.414, allocations: 6.875 kB / 1.162 GB, free: 25.77 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/1.414, allocations: 11.22 kB / 1.162 GB, free: 25.76 MB / 1.076 GB Notification: Performance of SimCode: time 2.91e-07/1.414, allocations: 2.562 kB / 1.162 GB, free: 25.76 MB / 1.076 GB Notification: Performance of Templates: time 0.003414/1.418, allocations: 0.7905 MB / 1.163 GB, free: 25.67 MB / 1.076 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 -s ida -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: 10.097492569009773]