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.001082/0.001082, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.00262, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001082/0.001082, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.002464, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9228/0.9228, allocations: 177.2 MB / 189.8 MB, free: 5.219 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08884/1.012, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.752/1.752, allocations: 378.3 MB / 0.6079 GB, free: 7.684 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5287/2.28, allocations: 123.3 MB / 0.7283 GB, free: 5.699 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.274e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.367 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001565/0.001588, allocations: 0.6178 MB / 0.7303 GB, free: 3.781 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.003035, allocations: 1.074 MB / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.297e-05/0.003058, allocations: 0 / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.95e-06/0.003063, allocations: 0 / 0.7313 GB, free: 2.695 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.003643, allocations: 115 kB / 0.7314 GB, free: 2.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.765e-05/0.003681, allocations: 11.94 kB / 0.7314 GB, free: 2.574 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.972e-05/0.00375, allocations: 6.984 kB / 0.7314 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.635e-05/0.003807, allocations: 4.859 kB / 0.7315 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.598e-05/0.003873, allocations: 9.422 kB / 0.7315 GB, free: 2.559 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.004105, allocations: 48.5 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.00412, allocations: 1.438 kB / 0.7315 GB, free: 2.512 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002549/0.004375, allocations: 113.5 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.737e-05/0.004392, allocations: 0.875 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.632e-05/0.004408, allocations: 3.25 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.004623, allocations: 102.7 kB / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.738e-05/0.00464, allocations: 0 / 0.7317 GB, free: 2.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.62e-07/0.004641, allocations: 3.938 kB / 0.7317 GB, free: 2.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.004659, allocations: 0.5 kB / 0.7317 GB, free: 2.301 MB / 0.698 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.0003828/0.005042, allocations: 246.5 kB / 0.732 GB, free: 2.039 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.005085, allocations: 12.03 kB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.005117, allocations: 0.9375 kB / 0.732 GB, free: 2.027 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.00524, allocations: 119.3 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.005252, allocations: 1.25 kB / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.005264, allocations: 384 / 0.7321 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.164e-05/0.005346, allocations: 30.27 kB / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.005354, allocations: 1.531 kB / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.005362, allocations: 4.125 kB / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.005368, allocations: 0 / 0.7321 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.02e-05/0.005378, allocations: 3.984 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000297/0.005675, allocations: 299.5 kB / 0.7324 GB, free: 1.535 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.43e-05/0.005759, allocations: 171.2 kB / 0.7326 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.00579, allocations: 80.14 kB / 0.7327 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.005818, allocations: 75.28 kB / 0.7327 GB, free: 1.203 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.005868, allocations: 110.8 kB / 0.7328 GB, free: 1.086 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.303e-06/0.00587, allocations: 0 / 0.7328 GB, free: 1.086 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.732e-05/0.005937, allocations: 37.56 kB / 0.7329 GB, free: 1.043 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.005997, allocations: 127.5 kB / 0.733 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.006086, allocations: 110.7 kB / 0.7331 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.006098, allocations: 27.09 kB / 0.7331 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.006143, allocations: 85 kB / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-06/0.006147, allocations: 0 / 0.7332 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.006178, allocations: 17.7 kB / 0.7332 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.006285, allocations: 315.7 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.451e-06/0.00629, allocations: 0 / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.042e-06/0.006296, allocations: 1.406 kB / 0.7335 GB, free: 336 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.59e-05/0.006322, allocations: 13.39 kB / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.006325, allocations: 0 / 0.7335 GB, free: 320 kB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.685e-05/0.006402, allocations: 39.69 kB / 0.7336 GB, free: 276 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.006419, allocations: 11.44 kB / 0.7336 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.006427, allocations: 3.938 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.006441, allocations: 0.6562 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.876e-05/0.00646, allocations: 1.594 kB / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-06/0.006463, allocations: 0 / 0.7336 GB, free: 264 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.411e-05/0.006477, allocations: 4 kB / 0.7336 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.006484, allocations: 3.984 kB / 0.7336 GB, free: 256 kB / 0.698 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 8.376e-05/0.006567, allocations: 185.8 kB / 0.7338 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.468e-05/0.006632, allocations: 105.7 kB / 0.7339 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.006687, allocations: 117.4 kB / 0.734 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.767e-05/0.006744, allocations: 176.3 kB / 0.7341 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.068e-05/0.006805, allocations: 180.2 kB / 0.7343 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/0.006862, allocations: 185.5 kB / 0.7345 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.007027, allocations: 317.4 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.339e-05/0.00706, allocations: 105 kB / 0.7349 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.689e-05/0.007097, allocations: 101.8 kB / 0.735 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.007134, allocations: 106.3 kB / 0.7351 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-05/0.007201, allocations: 184.3 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.007265, allocations: 184.2 kB / 0.7355 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.294e-05/0.007318, allocations: 185 kB / 0.7356 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.356e-05/0.007372, allocations: 180.3 kB / 0.7358 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.007487, allocations: 308.3 kB / 0.7361 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.096e-05/0.007558, allocations: 189 kB / 0.7363 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.131e-05/0.007629, allocations: 102 kB / 0.7364 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.227e-05/0.007691, allocations: 184.1 kB / 0.7365 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.816e-05/0.00773, allocations: 105.9 kB / 0.7366 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.807e-05/0.007748, allocations: 12.84 kB / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.007748, allocations: 0 / 0.7367 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002123/0.00796, allocations: 25.16 kB / 0.7367 GB, free: 12.91 MB / 0.7136 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.00043/0.00839, allocations: 230.7 kB / 0.7369 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.027e-05/0.00845, allocations: 10.48 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.008456, allocations: 1.969 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.00846, allocations: 0.7656 kB / 0.7369 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000274/0.008733, allocations: 476.1 kB / 0.7374 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004635/0.009197, allocations: 223 kB / 0.7376 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.819e-05/0.009235, allocations: 51.36 kB / 0.7376 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.009265, allocations: 4 kB / 0.7376 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.009308, allocations: 55.89 kB / 0.7377 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.009309, allocations: 2.422 kB / 0.7377 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.003047/0.01236, allocations: 1.016 MB / 0.7387 GB, free: 10.93 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa/Buildings_12_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.938421435654163]