Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 110.8 kB / 16.42 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 190.7 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.586/2.586, allocations: 469.4 MB / 0.7428 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 71.84 kB / 1.066 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9522/0.9537, allocations: 159.1 MB / 1.221 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006137/0.9599, allocations: 4.144 MB / 1.225 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004205/0.9642, allocations: 2.413 MB / 1.227 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007326/0.9649, allocations: 8 kB / 1.227 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002231/0.9672, allocations: 0.5383 MB / 1.228 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001081/0.9683, allocations: 261.9 kB / 1.228 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.9687, allocations: 131.9 kB / 1.228 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001332/0.97, allocations: 0.8137 MB / 1.229 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006318/0.9707, allocations: 330.5 kB / 1.229 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006059/0.9713, allocations: 294.9 kB / 1.23 GB, free: 9.391 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.9719, allocations: 330.6 kB / 1.23 GB, free: 9.066 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001364/0.9721, allocations: 72 kB / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.9723, allocations: 76 kB / 1.23 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002145/0.9725, allocations: 171.4 kB / 1.23 GB, free: 8.754 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000481/0.973, allocations: 386.2 kB / 1.231 GB, free: 8.375 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.974, allocations: 0.985 MB / 1.232 GB, free: 7.387 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.9741, allocations: 3.984 kB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.164e-06/0.9741, allocations: 8 kB / 1.232 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.342e-05/0.9741, allocations: 0 / 1.232 GB, free: 7.375 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001918/0.976, allocations: 0.9463 MB / 1.233 GB, free: 6.379 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.9761, allocations: 8.625 kB / 1.233 GB, free: 6.371 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.9762, allocations: 76 kB / 1.233 GB, free: 6.297 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008052/0.9771, allocations: 457.7 kB / 1.233 GB, free: 5.812 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.9771, allocations: 41.38 kB / 1.233 GB, free: 5.773 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.234e-05/0.9772, allocations: 44.38 kB / 1.233 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008507/0.9781, allocations: 438.7 kB / 1.234 GB, free: 5.297 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.9781, allocations: 3.938 kB / 1.234 GB, free: 5.293 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.792e-05/0.9782, allocations: 20 kB / 1.234 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.9782, allocations: 12 kB / 1.234 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007648/0.9789, allocations: 367.8 kB / 1.234 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002443/0.9814, allocations: 1.516 MB / 1.235 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.982, allocations: 346.8 kB / 1.236 GB, free: 2.957 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005429/0.9826, allocations: 322.2 kB / 1.236 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.9826, allocations: 4 kB / 1.236 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.9826, allocations: 46.28 kB / 1.236 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=42): time 4.728e-06/0.9826, allocations: 0 / 1.236 GB, free: 2.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.001098/0.9838, allocations: 0.4973 MB / 1.237 GB, free: 2.078 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.9838, allocations: 55.41 kB / 1.237 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.9845, allocations: 489.9 kB / 1.237 GB, free: 1.523 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.9846, allocations: 29.7 kB / 1.237 GB, free: 1.488 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.9848, allocations: 276.4 kB / 1.237 GB, free: 1.215 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.985, allocations: 149.8 kB / 1.238 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.9851, allocations: 62.08 kB / 1.238 GB, free: 0.9961 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.9853, allocations: 358.8 kB / 1.238 GB, free: 0.6367 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002736/0.9855, allocations: 120.7 kB / 1.238 GB, free: 0.5195 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.9858, allocations: 133.4 kB / 1.238 GB, free: 400 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005391/0.9863, allocations: 294.2 kB / 1.238 GB, free: 104 kB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9863, allocations: 0 / 1.238 GB, free: 104 kB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007983/0.9872, allocations: 392.2 kB / 1.239 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.9872, allocations: 7.938 kB / 1.239 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.9872, allocations: 0 / 1.239 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.9872, allocations: 8 kB / 1.239 GB, free: 15.7 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.9878, allocations: 127.8 kB / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/0.9878, allocations: 0 / 1.239 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.9881, allocations: 35.67 kB / 1.239 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.9881, allocations: 12 kB / 1.239 GB, free: 15.52 MB / 0.9669 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 (46): * Single equations (assignments): 46 * 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.0002618/0.9884, allocations: 198.2 kB / 1.239 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.306e-05/0.9885, allocations: 55.28 kB / 1.239 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001412/0.9887, allocations: 65.11 kB / 1.239 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.9887, allocations: 3.984 kB / 1.239 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.9887, allocations: 3.984 kB / 1.239 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.9889, allocations: 136.4 kB / 1.239 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.56e-05/0.9889, allocations: 8 kB / 1.239 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002426/0.9892, allocations: 19.98 kB / 1.239 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/0.9893, allocations: 19.97 kB / 1.24 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001177/0.9905, allocations: 0.5197 MB / 1.24 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001071/0.9915, allocations: 0.7245 MB / 1.241 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002899/0.9918, allocations: 168 kB / 1.241 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004272/0.9923, allocations: 359 kB / 1.241 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of Backend: time 3.6e-07/0.9923, allocations: 0 / 1.241 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008208/0.9931, allocations: 278.3 kB / 1.242 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002242/0.9954, allocations: 1.628 MB / 1.243 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of Templates: time 0.01291/1.008, allocations: 6.91 MB / 1.25 GB, free: 4.477 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches