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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001331/0.001331, allocations: 109.3 kB / 16.41 MB, free: 6.453 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.001269/0.00127, allocations: 189.6 kB / 17.35 MB, free: 5.738 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.339/1.339, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.55/2.55, allocations: 461.7 MB / 0.7352 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 1.055 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7611/0.7624, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005241/0.7677, allocations: 4.16 MB / 1.212 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003527/0.7713, allocations: 2.401 MB / 1.215 GB, free: 7.059 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005435/0.7719, allocations: 12 kB / 1.215 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/0.7737, allocations: 0.5461 MB / 1.215 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0007603/0.7745, allocations: 250 kB / 1.215 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.7748, allocations: 139.8 kB / 1.216 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00105/0.7759, allocations: 0.8084 MB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005061/0.7764, allocations: 326.5 kB / 1.217 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.7769, allocations: 294.9 kB / 1.217 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005365/0.7774, allocations: 326.6 kB / 1.217 GB, free: 4.371 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.000141/0.7776, allocations: 76 kB / 1.217 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002079/0.7778, allocations: 72 kB / 1.217 GB, free: 4.227 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.778, allocations: 179.4 kB / 1.218 GB, free: 4.051 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0004759/0.7785, allocations: 382.3 kB / 1.218 GB, free: 3.676 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009116/0.7794, allocations: 0.9928 MB / 1.219 GB, free: 2.68 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.7794, allocations: 3.938 kB / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7794, allocations: 0 / 1.219 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.856e-05/0.7795, allocations: 0 / 1.219 GB, free: 2.676 MB / 0.9356 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.001726/0.7812, allocations: 0.9463 MB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.7812, allocations: 8.031 kB / 1.22 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.7814, allocations: 80.09 kB / 1.22 GB, free: 1.594 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007066/0.7821, allocations: 461.6 kB / 1.22 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.7821, allocations: 33.38 kB / 1.22 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.841e-05/0.7822, allocations: 48.38 kB / 1.22 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.783, allocations: 430.8 kB / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.7831, allocations: 0 / 1.221 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.612e-05/0.7831, allocations: 20 kB / 1.221 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.7831, allocations: 19.94 kB / 1.221 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006971/0.7838, allocations: 363.8 kB / 1.221 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.7859, allocations: 1.52 MB / 1.223 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.7865, allocations: 343.5 kB / 1.223 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004895/0.787, allocations: 317.5 kB / 1.223 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.787, allocations: 12.67 kB / 1.223 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.7871, allocations: 38.5 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=42): time 2.024e-06/0.7871, allocations: 3.938 kB / 1.223 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=42): time 0.0009329/0.788, allocations: 0.4897 MB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.788, allocations: 59.19 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.7886, allocations: 485.9 kB / 1.224 GB, free: 12.83 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.7886, allocations: 37.7 kB / 1.224 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.7888, allocations: 272.4 kB / 1.225 GB, free: 12.52 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.7889, allocations: 145.8 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.789, allocations: 62.06 kB / 1.225 GB, free: 12.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7892, allocations: 366.8 kB / 1.225 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.7894, allocations: 120.7 kB / 1.225 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.7897, allocations: 125.4 kB / 1.225 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004857/0.7901, allocations: 294.1 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7902, allocations: 0 / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006532/0.7908, allocations: 396.3 kB / 1.226 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7909, allocations: 7.938 kB / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.7909, allocations: 0 / 1.226 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.7909, allocations: 4 kB / 1.226 GB, free: 11 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.7914, allocations: 127.8 kB / 1.226 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7914, allocations: 3.984 kB / 1.226 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002359/0.7916, allocations: 39.59 kB / 1.226 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.7917, allocations: 12 kB / 1.226 GB, free: 10.82 MB / 0.9512 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.0002144/0.7919, allocations: 197.8 kB / 1.227 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.131e-05/0.792, allocations: 51.38 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.7921, allocations: 69.03 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.7921, allocations: 0 / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7921, allocations: 3.938 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.7923, allocations: 140.3 kB / 1.227 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.7923, allocations: 11.98 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.7926, allocations: 8 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/0.7926, allocations: 27.97 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00107/0.7937, allocations: 0.5199 MB / 1.227 GB, free: 9.77 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001011/0.7947, allocations: 0.7241 MB / 1.228 GB, free: 9.027 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002662/0.795, allocations: 168.4 kB / 1.228 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0003776/0.7954, allocations: 351.1 kB / 1.229 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of Backend: time 6.92e-07/0.7954, allocations: 0 / 1.229 GB, free: 8.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007582/0.7962, allocations: 282 kB / 1.229 GB, free: 8.242 MB / 0.9512 GB Notification: Performance of SimCode: time 0.002153/0.7983, allocations: 1.627 MB / 1.23 GB, free: 6.562 MB / 0.9512 GB Notification: Performance of Templates: time 0.0167/0.8151, allocations: 6.808 MB / 1.237 GB, free: 15.88 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