Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.2 MB / 0.6647 GB, free: 476 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 67.91 kB / 0.8126 GB, free: 14.45 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6395/0.6415, allocations: 140.3 MB / 0.9496 GB, free: 9.445 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003464/0.645, allocations: 3.042 MB / 0.9526 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.647, allocations: 2.154 MB / 0.9547 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.6471, allocations: 4.719 kB / 0.9547 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.6483, allocations: 0.4958 MB / 0.9552 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.6485, allocations: 140.5 kB / 0.9553 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.514e-05/0.6486, allocations: 66.19 kB / 0.9554 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000363/0.649, allocations: 444.4 kB / 0.9558 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00021/0.6492, allocations: 157.7 kB / 0.9559 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001569/0.6494, allocations: 151.3 kB / 0.9561 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.6495, allocations: 183.6 kB / 0.9563 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.6496, allocations: 35.25 kB / 0.9563 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.243e-05/0.6497, allocations: 34.53 kB / 0.9563 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.542e-05/0.6497, allocations: 93.86 kB / 0.9564 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.6499, allocations: 222 kB / 0.9566 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.6504, allocations: 0.5397 MB / 0.9572 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6504, allocations: 4 kB / 0.9572 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6504, allocations: 9.25 kB / 0.9572 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.6504, allocations: 0 / 0.9572 GB, free: 3.598 MB / 0.7169 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.001053/0.6515, allocations: 0.6916 MB / 0.9579 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.6516, allocations: 9.625 kB / 0.9579 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.626e-05/0.6516, allocations: 49.91 kB / 0.9579 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.6521, allocations: 380 kB / 0.9583 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.6521, allocations: 13.22 kB / 0.9583 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.238e-05/0.6522, allocations: 21.44 kB / 0.9583 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004435/0.6526, allocations: 202.9 kB / 0.9585 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.6527, allocations: 1.156 kB / 0.9585 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.368e-05/0.6527, allocations: 6.25 kB / 0.9585 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.6527, allocations: 4.438 kB / 0.9585 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003977/0.6531, allocations: 171.3 kB / 0.9587 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.6543, allocations: 0.8731 MB / 0.9595 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002895/0.6546, allocations: 150.4 kB / 0.9597 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/0.6548, allocations: 108.4 kB / 0.9598 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.6548, allocations: 6.188 kB / 0.9598 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.6549, allocations: 44.61 kB / 0.9598 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.6549, allocations: 0 / 0.9598 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0005966/0.6555, allocations: 252 kB / 0.9601 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.6555, allocations: 53.53 kB / 0.9601 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004308/0.656, allocations: 416.5 kB / 0.9605 GB, free: 1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.656, allocations: 31.11 kB / 0.9605 GB, free: 0.9648 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.918e-05/0.6561, allocations: 209 kB / 0.9607 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.6561, allocations: 65.75 kB / 0.9608 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.6562, allocations: 36.61 kB / 0.9608 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.771e-05/0.6563, allocations: 348.8 kB / 0.9612 GB, free: 356 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.6564, allocations: 56.3 kB / 0.9612 GB, free: 328 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.6565, allocations: 55.42 kB / 0.9613 GB, free: 304 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.6568, allocations: 147.6 kB / 0.9614 GB, free: 220 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.6568, allocations: 0 / 0.9614 GB, free: 220 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003467/0.6572, allocations: 202.8 kB / 0.9616 GB, free: 108 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6572, allocations: 7.656 kB / 0.9616 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.6572, allocations: 0 / 0.9616 GB, free: 108 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6572, allocations: 5 kB / 0.9616 GB, free: 104 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.6575, allocations: 61.19 kB / 0.9617 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.6575, allocations: 0.9062 kB / 0.9617 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.6576, allocations: 26.39 kB / 0.9617 GB, free: 64 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.6576, allocations: 3.406 kB / 0.9617 GB, free: 64 kB / 0.7169 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.0001503/0.6578, allocations: 162.6 kB / 0.9619 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.6579, allocations: 31.62 kB / 0.9619 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.378e-05/0.658, allocations: 46.69 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.658, allocations: 7.922 kB / 0.9619 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.658, allocations: 4 kB / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.658, allocations: 0 / 0.9619 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.6584, allocations: 381.5 kB / 0.9623 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.6584, allocations: 1.375 kB / 0.9623 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.6586, allocations: 52.22 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.6586, allocations: 1.219 kB / 0.9624 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.6587, allocations: 9.562 kB / 0.9624 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6587, allocations: 1.281 kB / 0.9624 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6587, allocations: 0 / 0.9624 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.6593, allocations: 378.6 kB / 0.9627 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.6594, allocations: 118.8 kB / 0.9628 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.779e-05/0.6595, allocations: 9.469 kB / 0.9629 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.6596, allocations: 9.109 kB / 0.9629 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6597, allocations: 12.92 kB / 0.9629 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-06/0.6597, allocations: 3.438 kB / 0.9629 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003051/0.66, allocations: 305.7 kB / 0.9632 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.66, allocations: 0 / 0.9632 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002988/0.6603, allocations: 71.56 kB / 0.9632 GB, free: 14.89 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001326/0.6604, allocations: 106.3 kB / 0.9633 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000377/0.6608, allocations: 147.2 kB / 0.9635 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.6608, allocations: 0 / 0.9635 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/0.661, allocations: 90.95 kB / 0.9636 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.6616, allocations: 94.08 kB / 0.9637 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.6628, allocations: 0.7573 MB / 0.9644 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.6632, allocations: 0.801 MB / 0.9652 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.6633, allocations: 35.11 kB / 0.9652 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.889e-05/0.6634, allocations: 23.19 kB / 0.9652 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.6634, allocations: 0 / 0.9652 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of Templates: time 0.007664/0.6711, allocations: 3.946 MB / 0.9691 GB, free: 11.5 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches