Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001309/0.001309, allocations: 194.7 kB / 16.25 MB, free: 6.629 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.391/1.391, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.384/2.384, allocations: 390.2 MB / 0.6644 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 63.91 kB / 0.8121 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8513/0.8527, allocations: 140.4 MB / 0.9492 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002817/0.8556, allocations: 1.501 MB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004073/0.8597, allocations: 2.832 MB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.923e-05/0.8598, allocations: 1.469 kB / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.951e-05/0.8598, allocations: 0 / 0.9534 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.891e-05/0.8599, allocations: 17.11 kB / 0.9534 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00364/0.8636, allocations: 1.443 MB / 0.9548 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.8637, allocations: 33.22 kB / 0.9548 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.7e-05/0.8637, allocations: 6.25 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.176e-05/0.8638, allocations: 15.39 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.067e-05/0.8638, allocations: 15.66 kB / 0.9549 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.8638, allocations: 5.156 kB / 0.9549 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.8657, allocations: 1.427 MB / 0.9563 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.281e-05/0.8657, allocations: 5.281 kB / 0.9563 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.8657, allocations: 15.22 kB / 0.9563 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.867, allocations: 1.06 MB / 0.9573 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.8671, allocations: 0 / 0.9573 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8671, allocations: 1.375 kB / 0.9573 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.8671, allocations: 0 / 0.9573 GB, free: 3.332 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005044/0.8676, allocations: 0.5151 MB / 0.9578 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.8676, allocations: 13.61 kB / 0.9579 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.8677, allocations: 82.88 kB / 0.9579 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.8678, allocations: 251.6 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.8678, allocations: 150.9 kB / 0.9583 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.8679, allocations: 160.2 kB / 0.9585 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.755e-05/0.8679, allocations: 110.5 kB / 0.9586 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.868, allocations: 75.28 kB / 0.9586 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.868, allocations: 154.5 kB / 0.9588 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.868, allocations: 150.6 kB / 0.9589 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.602e-05/0.8681, allocations: 151.9 kB / 0.9591 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.8683, allocations: 464.8 kB / 0.9595 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.528e-05/0.8683, allocations: 170.5 kB / 0.9597 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.018e-05/0.8683, allocations: 85.52 kB / 0.9598 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.8684, allocations: 79.27 kB / 0.9598 GB, free: 0.6875 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.8684, allocations: 109.8 kB / 0.9599 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.8684, allocations: 5.375 kB / 0.96 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.981e-05/0.8685, allocations: 36.3 kB / 0.96 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.8685, allocations: 126.7 kB / 0.9601 GB, free: 400 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.8686, allocations: 128.2 kB / 0.9602 GB, free: 284 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.8686, allocations: 29.7 kB / 0.9603 GB, free: 248 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.8687, allocations: 86.8 kB / 0.9603 GB, free: 160 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.8687, allocations: 0 / 0.9603 GB, free: 160 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.8687, allocations: 22.73 kB / 0.9604 GB, free: 136 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.8688, allocations: 315.9 kB / 0.9607 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.384e-05/0.8689, allocations: 7.219 kB / 0.9607 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.8689, allocations: 7.281 kB / 0.9607 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.8689, allocations: 17.47 kB / 0.9607 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.869, allocations: 5.219 kB / 0.9607 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001327/0.8691, allocations: 54.11 kB / 0.9608 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.8691, allocations: 6 kB / 0.9608 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.8691, allocations: 2.125 kB / 0.9608 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.8692, allocations: 3.984 kB / 0.9608 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.8692, allocations: 4.906 kB / 0.9608 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.8692, allocations: 0 / 0.9608 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.8692, allocations: 1 kB / 0.9608 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.8692, allocations: 1.062 kB / 0.9608 GB, free: 15.73 MB / 0.7325 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 0.0001032/0.8693, allocations: 183.5 kB / 0.9609 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.8694, allocations: 115.6 kB / 0.9611 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.524e-05/0.8695, allocations: 122.5 kB / 0.9612 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.021e-05/0.8695, allocations: 181.4 kB / 0.9613 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-05/0.8696, allocations: 177.5 kB / 0.9615 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.789e-05/0.8697, allocations: 180.9 kB / 0.9617 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002205/0.8699, allocations: 411.6 kB / 0.9621 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.135e-05/0.87, allocations: 114.1 kB / 0.9622 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.87, allocations: 102.1 kB / 0.9623 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-05/0.8701, allocations: 181.1 kB / 0.9625 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.559e-05/0.8701, allocations: 185.3 kB / 0.9626 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.353e-05/0.8702, allocations: 177.5 kB / 0.9628 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-05/0.8703, allocations: 185.1 kB / 0.963 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.8704, allocations: 312.2 kB / 0.9633 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.744e-05/0.8705, allocations: 188.9 kB / 0.9635 GB, free: 12.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.529e-05/0.8706, allocations: 181.5 kB / 0.9636 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.622e-05/0.8707, allocations: 109.9 kB / 0.9637 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.8708, allocations: 177.2 kB / 0.9639 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.8708, allocations: 110 kB / 0.964 GB, free: 12.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.908e-05/0.8709, allocations: 96.64 kB / 0.9641 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8709, allocations: 0 / 0.9641 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008502/0.8718, allocations: 277.9 kB / 0.9644 GB, free: 12.06 MB / 0.7325 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.001163/0.8729, allocations: 0.5217 MB / 0.9649 GB, free: 11.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.8731, allocations: 33.89 kB / 0.9649 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.8731, allocations: 4.062 kB / 0.9649 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.8731, allocations: 0 / 0.9649 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.8735, allocations: 472.6 kB / 0.9654 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.8738, allocations: 242.2 kB / 0.9656 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.8741, allocations: 0.6802 MB / 0.9663 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.473e-05/0.8741, allocations: 5.047 kB / 0.9663 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.19e-05/0.8741, allocations: 8.625 kB / 0.9663 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8741, allocations: 0 / 0.9663 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of Templates: time 0.01042/0.8846, allocations: 5.464 MB / 0.9716 GB, free: 7.531 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches