Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.0007088/0.0007088, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001132/0.001841, 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.0008417/0.0008417, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009791/0.001821, 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.9051/0.9051, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07447/0.9796, allocations: 53.66 MB / 243.4 MB, free: 15.52 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.739/1.739, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.44/2.179, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.407e-05, allocations: 6.859 kB / 0.7297 GB, free: 4.398 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.003153/0.003177, allocations: 1.595 MB / 0.7312 GB, free: 2.824 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004592, allocations: 0.9308 MB / 0.7321 GB, free: 1.902 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.198e-05/0.004654, allocations: 4.812 kB / 0.7321 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.004808, allocations: 39.12 kB / 0.7322 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.067e-05/0.004849, allocations: 22.77 kB / 0.7322 GB, free: 1.848 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004463/0.005295, allocations: 189.9 kB / 0.7324 GB, free: 1.668 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.928e-05/0.005374, allocations: 48.47 kB / 0.7324 GB, free: 1.621 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.005406, allocations: 3.984 kB / 0.7324 GB, free: 1.617 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.196e-05/0.005498, allocations: 32.44 kB / 0.7325 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.005529, allocations: 15.98 kB / 0.7325 GB, free: 1.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.005544, allocations: 5.156 kB / 0.7325 GB, free: 1.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.005877, allocations: 179.7 kB / 0.7327 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.154e-05/0.005888, allocations: 0.875 kB / 0.7327 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.72e-05/0.005905, allocations: 11.94 kB / 0.7327 GB, free: 1.379 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.006073, allocations: 119.6 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.006088, allocations: 0.5 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.273e-06/0.00609, allocations: 1.719 kB / 0.7328 GB, free: 1.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.79e-05/0.006108, allocations: 0 / 0.7328 GB, free: 1.262 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002771/0.006385, allocations: 284.2 kB / 0.7331 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.006412, allocations: 11.97 kB / 0.7331 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.006451, allocations: 80.22 kB / 0.7331 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.006614, allocations: 210.7 kB / 0.7333 GB, free: 0.6406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.006653, allocations: 152.5 kB / 0.7335 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.006695, allocations: 154.9 kB / 0.7336 GB, free: 348 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.551e-05/0.00674, allocations: 101.5 kB / 0.7337 GB, free: 240 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.00676, allocations: 75.47 kB / 0.7338 GB, free: 164 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.505e-05/0.006795, allocations: 155.8 kB / 0.7339 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.585e-05/0.00685, allocations: 154.5 kB / 0.7341 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.236e-05/0.006893, allocations: 158.5 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.007047, allocations: 362.2 kB / 0.7346 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.378e-05/0.00712, allocations: 165.1 kB / 0.7348 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.007141, allocations: 81.89 kB / 0.7348 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.00716, allocations: 75.28 kB / 0.7349 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.007194, allocations: 113.9 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.51e-07/0.007195, allocations: 3.938 kB / 0.735 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 6.175e-05/0.007256, allocations: 30.2 kB / 0.735 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.007312, allocations: 134.7 kB / 0.7352 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.007405, allocations: 139 kB / 0.7353 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-06/0.007413, allocations: 25.7 kB / 0.7353 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.007441, allocations: 88.12 kB / 0.7354 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.283e-06/0.007442, allocations: 0.6562 kB / 0.7354 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/0.007467, allocations: 14.84 kB / 0.7354 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.428e-05/0.007551, allocations: 322.8 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.119e-05/0.007563, allocations: 4 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.007571, allocations: 0.6875 kB / 0.7357 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.007602, allocations: 20.77 kB / 0.7358 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007605, allocations: 4.531 kB / 0.7358 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.465e-05/0.00767, allocations: 38.72 kB / 0.7358 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.007683, allocations: 4 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.007704, allocations: 4 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.007716, allocations: 0.5312 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.007717, allocations: 1.562 kB / 0.7358 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.00772, allocations: 3.984 kB / 0.7358 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.566e-05/0.007736, allocations: 11.88 kB / 0.7358 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007742, allocations: 0 / 0.7358 GB, free: 13.99 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.096e-05/0.007833, allocations: 186.3 kB / 0.736 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.516e-05/0.007868, allocations: 104.9 kB / 0.7361 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.108e-05/0.007909, allocations: 112.8 kB / 0.7362 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.508e-05/0.007944, allocations: 181.5 kB / 0.7364 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.939e-05/0.007983, allocations: 188.2 kB / 0.7366 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.619e-05/0.00802, allocations: 176.3 kB / 0.7367 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.008209, allocations: 330.1 kB / 0.737 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.986e-05/0.008228, allocations: 101 kB / 0.7371 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.008249, allocations: 104.9 kB / 0.7372 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.008281, allocations: 117.7 kB / 0.7374 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-05/0.008317, allocations: 185 kB / 0.7375 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.008359, allocations: 180.2 kB / 0.7377 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.368e-05/0.008393, allocations: 177 kB / 0.7379 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.531e-05/0.008428, allocations: 184.2 kB / 0.738 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.16e-05/0.00851, allocations: 308.6 kB / 0.7383 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.00856, allocations: 188.2 kB / 0.7385 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.319e-05/0.008604, allocations: 102.4 kB / 0.7386 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003901/0.008994, allocations: 180.2 kB / 0.7388 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.009014, allocations: 109 kB / 0.7389 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.009037, allocations: 24.83 kB / 0.7389 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.009037, allocations: 1.25 kB / 0.7389 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001534/0.009191, allocations: 31.88 kB / 0.7389 GB, free: 10.62 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.0001994/0.00939, allocations: 200.7 kB / 0.7391 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.009456, allocations: 46.48 kB / 0.7392 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.009459, allocations: 1.25 kB / 0.7392 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.076e-06/0.009463, allocations: 3.938 kB / 0.7392 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002796/0.009742, allocations: 0.5985 MB / 0.7398 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000525/0.01027, allocations: 226.4 kB / 0.74 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.776e-05/0.01029, allocations: 51.36 kB / 0.74 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.306e-05/0.01032, allocations: 7.984 kB / 0.74 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.01037, allocations: 63.36 kB / 0.7401 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/0.01037, allocations: 2.906 kB / 0.7401 GB, free: 9.336 MB / 0.7136 GB Notification: Performance of Templates: time 0.003105/0.01347, allocations: 1.88 MB / 0.7419 GB, free: 7.551 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.51756495796144]