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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,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.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002215/0.002215, allocations: 189.8 kB / 16.25 MB, free: 6.633 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.442/1.442, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.442/2.442, allocations: 390.2 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001536, allocations: 63.89 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8395, allocations: 140.4 MB / 0.9491 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002858/0.8424, allocations: 1.494 MB / 0.9506 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00403/0.8464, allocations: 2.848 MB / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.218e-05/0.8466, allocations: 0 / 0.9534 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.241e-05/0.8466, allocations: 3.984 kB / 0.9534 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.372e-05/0.8467, allocations: 10.97 kB / 0.9534 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.8512, allocations: 1.432 MB / 0.9548 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.8513, allocations: 49.2 kB / 0.9548 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.8513, allocations: 2.469 kB / 0.9549 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.8514, allocations: 12.03 kB / 0.9549 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.349e-05/0.8514, allocations: 18.89 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.8514, allocations: 1.031 kB / 0.9549 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002441/0.8539, allocations: 1.424 MB / 0.9563 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.8539, allocations: 9.297 kB / 0.9563 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.752e-05/0.854, allocations: 18.75 kB / 0.9563 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.8556, allocations: 1.056 MB / 0.9573 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8556, allocations: 4 kB / 0.9573 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8556, allocations: 1.094 kB / 0.9573 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.8556, allocations: 0 / 0.9573 GB, free: 3.547 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.0006027/0.8562, allocations: 0.5166 MB / 0.9578 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.8563, allocations: 8.25 kB / 0.9578 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.8564, allocations: 82.88 kB / 0.9579 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001245/0.8565, allocations: 251.6 kB / 0.9582 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.442e-05/0.8565, allocations: 164.2 kB / 0.9583 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.225e-05/0.8566, allocations: 150.9 kB / 0.9585 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.036e-05/0.8566, allocations: 110.4 kB / 0.9586 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8566, allocations: 79.27 kB / 0.9586 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.8567, allocations: 154.6 kB / 0.9588 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/0.8567, allocations: 151.9 kB / 0.9589 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.908e-05/0.8567, allocations: 154.6 kB / 0.9591 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.857, allocations: 462.2 kB / 0.9595 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.979e-05/0.857, allocations: 169.1 kB / 0.9597 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.557e-05/0.8571, allocations: 81.52 kB / 0.9598 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.8571, allocations: 79.28 kB / 0.9598 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.8571, allocations: 111.2 kB / 0.9599 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.263e-06/0.8571, allocations: 0 / 0.9599 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.731e-05/0.8572, allocations: 36.34 kB / 0.96 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.8573, allocations: 130.7 kB / 0.9601 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.8574, allocations: 127.7 kB / 0.9602 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.784e-06/0.8574, allocations: 26.92 kB / 0.9603 GB, free: 472 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.708e-05/0.8574, allocations: 94.05 kB / 0.9603 GB, free: 376 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.8575, allocations: 0 / 0.9603 GB, free: 376 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.8575, allocations: 14.81 kB / 0.9604 GB, free: 360 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.8575, allocations: 324 kB / 0.9607 GB, free: 28 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.8576, allocations: 3.875 kB / 0.9607 GB, free: 28 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.779e-05/0.8576, allocations: 2.219 kB / 0.9607 GB, free: 28 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.83e-05/0.8576, allocations: 17.92 kB / 0.9607 GB, free: 12 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.8576, allocations: 1.188 kB / 0.9607 GB, free: 12 kB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001602/0.8578, allocations: 58.94 kB / 0.9607 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/0.8579, allocations: 4.344 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.493e-05/0.8579, allocations: 3.219 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.8579, allocations: 0 / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-06/0.8579, allocations: 0.875 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8579, allocations: 0 / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.858, allocations: 1.156 kB / 0.9608 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.165e-06/0.858, allocations: 5.062 kB / 0.9608 GB, free: 15.96 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.0001386/0.8581, allocations: 186.9 kB / 0.9609 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.728e-05/0.8582, allocations: 116.1 kB / 0.9611 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.8583, allocations: 114.8 kB / 0.9612 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.728e-05/0.8583, allocations: 185.4 kB / 0.9613 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.352e-05/0.8584, allocations: 180.2 kB / 0.9615 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.452e-05/0.8585, allocations: 181.3 kB / 0.9617 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.8587, allocations: 411.8 kB / 0.9621 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/0.8588, allocations: 109.9 kB / 0.9622 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.095e-05/0.8588, allocations: 110 kB / 0.9623 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.578e-05/0.8589, allocations: 189.3 kB / 0.9625 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/0.859, allocations: 181.3 kB / 0.9626 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.924e-05/0.8591, allocations: 177.4 kB / 0.9628 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.07e-05/0.8592, allocations: 181.4 kB / 0.963 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.8593, allocations: 308.3 kB / 0.9633 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.302e-05/0.8594, allocations: 192.1 kB / 0.9635 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.939e-05/0.8595, allocations: 177.5 kB / 0.9636 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.217e-05/0.8596, allocations: 106.3 kB / 0.9637 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.875e-05/0.8597, allocations: 185.3 kB / 0.9639 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.8597, allocations: 106.1 kB / 0.964 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.8598, allocations: 97.42 kB / 0.9641 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8598, allocations: 0 / 0.9641 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000988/0.8608, allocations: 277.9 kB / 0.9644 GB, free: 12.28 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.00121/0.862, allocations: 0.5276 MB / 0.9649 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.8622, allocations: 41.52 kB / 0.9649 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8622, allocations: 0 / 0.9649 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/0.8622, allocations: 1.406 kB / 0.9649 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.8626, allocations: 463.2 kB / 0.9654 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.863, allocations: 246.1 kB / 0.9656 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002816/0.8633, allocations: 0.6814 MB / 0.9663 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.8633, allocations: 4 kB / 0.9663 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.8633, allocations: 9.656 kB / 0.9663 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.8633, allocations: 0 / 0.9663 GB, free: 10.53 MB / 0.7325 GB Notification: Performance of Templates: time 0.01093/0.8743, allocations: 5.462 MB / 0.9716 GB, free: 7.746 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x