Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 111.6 kB / 16.42 MB, free: 6.461 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.001857/0.001857, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.372/1.372, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.642/2.642, allocations: 472.7 MB / 0.746 GB, free: 432 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 67.89 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7262, allocations: 159.9 MB / 1.226 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004548/0.7308, allocations: 3.037 MB / 1.229 GB, free: 10.64 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.7339, allocations: 2.141 MB / 1.231 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.7342, allocations: 11.94 kB / 1.231 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001614/0.7358, allocations: 0.5095 MB / 1.232 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000397/0.7363, allocations: 142.9 kB / 1.232 GB, free: 7.824 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.7364, allocations: 59.94 kB / 1.232 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005643/0.737, allocations: 449.9 kB / 1.233 GB, free: 7.324 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.7373, allocations: 151.2 kB / 1.233 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002743/0.7375, allocations: 159.4 kB / 1.233 GB, free: 7.02 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.7378, allocations: 179.1 kB / 1.233 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 7.065e-05/0.7379, allocations: 36 kB / 1.233 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 8.46e-05/0.738, allocations: 32 kB / 1.233 GB, free: 6.777 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.7381, allocations: 99.67 kB / 1.233 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002382/0.7384, allocations: 218.9 kB / 1.233 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.7389, allocations: 0.5524 MB / 1.234 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.739, allocations: 0 / 1.234 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.523e-06/0.739, allocations: 0 / 1.234 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.739, allocations: 0 / 1.234 GB, free: 5.91 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001156/0.7401, allocations: 0.7181 MB / 1.235 GB, free: 5.145 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.7402, allocations: 8.031 kB / 1.235 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.892e-05/0.7403, allocations: 48.66 kB / 1.235 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005669/0.7409, allocations: 378.4 kB / 1.235 GB, free: 4.68 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.7409, allocations: 16.8 kB / 1.235 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.614e-05/0.7409, allocations: 24.33 kB / 1.235 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004014/0.7413, allocations: 207.6 kB / 1.235 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.7414, allocations: 0 / 1.235 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.7414, allocations: 8 kB / 1.235 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.7414, allocations: 4 kB / 1.235 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00039/0.7418, allocations: 165.6 kB / 1.235 GB, free: 4.258 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.743, allocations: 0.8625 MB / 1.236 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/0.7433, allocations: 150.6 kB / 1.236 GB, free: 3.168 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002162/0.7436, allocations: 112.8 kB / 1.237 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.7436, allocations: 0 / 1.237 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.7436, allocations: 46.48 kB / 1.237 GB, free: 3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=18): time 2.384e-06/0.7436, allocations: 4 kB / 1.237 GB, free: 2.996 MB / 0.9512 GB Notification: Performance of matching and sorting (n=18): time 0.0006034/0.7442, allocations: 252.3 kB / 1.237 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.7443, allocations: 55.41 kB / 1.237 GB, free: 2.68 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.7448, allocations: 413.7 kB / 1.237 GB, free: 2.266 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.7448, allocations: 29.7 kB / 1.237 GB, free: 2.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001454/0.745, allocations: 216.3 kB / 1.238 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.404e-05/0.745, allocations: 59.44 kB / 1.238 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.859e-05/0.7451, allocations: 33.7 kB / 1.238 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.7452, allocations: 350.7 kB / 1.238 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.7454, allocations: 59.97 kB / 1.238 GB, free: 1.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.7455, allocations: 55.91 kB / 1.238 GB, free: 1.449 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.7458, allocations: 142.6 kB / 1.238 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.7459, allocations: 0 / 1.238 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003914/0.7462, allocations: 205.4 kB / 1.238 GB, free: 1.102 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.7463, allocations: 8 kB / 1.238 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.7463, allocations: 0 / 1.238 GB, free: 1.094 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7463, allocations: 3.938 kB / 1.238 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.7466, allocations: 51.91 kB / 1.238 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.7466, allocations: 8 kB / 1.238 GB, free: 1.031 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.7467, allocations: 19.88 kB / 1.238 GB, free: 1.012 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.7468, allocations: 4 kB / 1.238 GB, free: 1.008 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 (20): * Single equations (assignments): 20 * 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.000151/0.7469, allocations: 158.4 kB / 1.239 GB, free: 0.8438 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.928e-05/0.747, allocations: 39.75 kB / 1.239 GB, free: 0.8047 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.7471, allocations: 39.59 kB / 1.239 GB, free: 0.7656 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.7471, allocations: 3.938 kB / 1.239 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7471, allocations: 7.984 kB / 1.239 GB, free: 0.7539 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-05/0.7472, allocations: 120.8 kB / 1.239 GB, free: 0.6172 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.76e-05/0.7472, allocations: 8 kB / 1.239 GB, free: 0.6094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.7474, allocations: 11.98 kB / 1.239 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.7475, allocations: 7.984 kB / 1.239 GB, free: 0.5898 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006349/0.7481, allocations: 300.7 kB / 1.239 GB, free: 296 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006408/0.7488, allocations: 460.4 kB / 1.24 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001643/0.7489, allocations: 75.98 kB / 1.24 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003278/0.7493, allocations: 303.1 kB / 1.24 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of Backend: time 4.91e-07/0.7493, allocations: 0 / 1.24 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000554/0.7498, allocations: 174 kB / 1.24 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001509/0.7514, allocations: 1.258 MB / 1.241 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of Templates: time 0.008828/0.7602, allocations: 4.333 MB / 1.246 GB, free: 9.754 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches