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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001212/0.001213, allocations: 98.17 kB / 16.35 MB, free: 5.824 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.001109/0.00111, allocations: 194.6 kB / 17.29 MB, free: 5.48 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.195/2.195, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001857/0.001857, allocations: 67.56 kB / 0.8141 GB, free: 32.74 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3283, allocations: 140.4 MB / 0.9512 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002552/0.3309, allocations: 1.434 MB / 0.9526 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004524/0.3354, allocations: 2.847 MB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.3355, allocations: 0 / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3355, allocations: 7.938 kB / 0.9554 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.3356, allocations: 11.86 kB / 0.9554 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.3393, allocations: 1.547 MB / 0.9569 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.3394, allocations: 43.67 kB / 0.9569 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.531e-05/0.3395, allocations: 7.938 kB / 0.9569 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.3395, allocations: 19.92 kB / 0.957 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.434e-05/0.3395, allocations: 11.94 kB / 0.957 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.646e-06/0.3396, allocations: 0 / 0.957 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/0.3416, allocations: 1.494 MB / 0.9584 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.484e-05/0.3416, allocations: 7.938 kB / 0.9584 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.996e-05/0.3416, allocations: 15.88 kB / 0.9584 GB, free: 500 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.3429, allocations: 1.074 MB / 0.9595 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3429, allocations: 4 kB / 0.9595 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3429, allocations: 0 / 0.9595 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.3429, allocations: 0 / 0.9595 GB, free: 15.41 MB / 0.7481 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.000555/0.3435, allocations: 0.5069 MB / 0.96 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3436, allocations: 8.031 kB / 0.96 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.323e-05/0.3436, allocations: 88.12 kB / 0.9601 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3438, allocations: 247.5 kB / 0.9603 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.3438, allocations: 162.9 kB / 0.9605 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.513e-05/0.3439, allocations: 150.9 kB / 0.9606 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.344, allocations: 109.1 kB / 0.9607 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.344, allocations: 75.28 kB / 0.9608 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.3441, allocations: 154.6 kB / 0.9609 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.3441, allocations: 150.6 kB / 0.9611 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.16e-05/0.3442, allocations: 154.5 kB / 0.9612 GB, free: 13.53 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002608/0.3444, allocations: 465.9 kB / 0.9617 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.507e-05/0.3445, allocations: 173.1 kB / 0.9618 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.967e-05/0.3446, allocations: 84.19 kB / 0.9619 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.3446, allocations: 79.28 kB / 0.962 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3446, allocations: 113.8 kB / 0.9621 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.3446, allocations: 0 / 0.9621 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.124e-05/0.3447, allocations: 33.55 kB / 0.9621 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3448, allocations: 130.7 kB / 0.9623 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3449, allocations: 129.8 kB / 0.9624 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.3449, allocations: 25.7 kB / 0.9624 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.345, allocations: 92.12 kB / 0.9625 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.345, allocations: 0 / 0.9625 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.345, allocations: 13.72 kB / 0.9625 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.3451, allocations: 326.8 kB / 0.9628 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.3452, allocations: 4 kB / 0.9628 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.3452, allocations: 8 kB / 0.9628 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.262e-05/0.3452, allocations: 12.86 kB / 0.9629 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3452, allocations: 0 / 0.9629 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001203/0.3454, allocations: 57.47 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.3454, allocations: 6.656 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.896e-05/0.3454, allocations: 4 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3454, allocations: 0 / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.3454, allocations: 0 / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3454, allocations: 0 / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.257e-05/0.3455, allocations: 8 kB / 0.9629 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3455, allocations: 4 kB / 0.9629 GB, free: 11.66 MB / 0.7481 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 8.297e-05/0.3456, allocations: 181.1 kB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.3456, allocations: 116.8 kB / 0.9632 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.439e-05/0.3457, allocations: 116.8 kB / 0.9633 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.143e-05/0.3457, allocations: 176.3 kB / 0.9635 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/0.3458, allocations: 188.2 kB / 0.9637 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.494e-05/0.3459, allocations: 184.3 kB / 0.9638 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002009/0.3461, allocations: 413.2 kB / 0.9642 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-05/0.3461, allocations: 108.9 kB / 0.9643 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.632e-05/0.3461, allocations: 101 kB / 0.9644 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.379e-05/0.3462, allocations: 184.2 kB / 0.9646 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.939e-05/0.3463, allocations: 184.2 kB / 0.9648 GB, free: 9.621 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.474e-05/0.3463, allocations: 176.3 kB / 0.965 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.446e-05/0.3464, allocations: 188.2 kB / 0.9651 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001229/0.3465, allocations: 307.7 kB / 0.9654 GB, free: 8.926 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.3466, allocations: 190 kB / 0.9656 GB, free: 8.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.264e-05/0.3467, allocations: 188.2 kB / 0.9658 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.3467, allocations: 104.9 kB / 0.9659 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.3468, allocations: 176.3 kB / 0.9661 GB, free: 8.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.3468, allocations: 104.9 kB / 0.9662 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.3469, allocations: 99.25 kB / 0.9663 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3469, allocations: 8 kB / 0.9663 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007756/0.3477, allocations: 275.8 kB / 0.9665 GB, free: 7.75 MB / 0.7481 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.0009988/0.3487, allocations: 0.5166 MB / 0.967 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.3488, allocations: 33.7 kB / 0.9671 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3488, allocations: 0 / 0.9671 GB, free: 7.188 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.427e-06/0.3488, allocations: 3.984 kB / 0.9671 GB, free: 7.184 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.3492, allocations: 475.6 kB / 0.9675 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.3496, allocations: 237.3 kB / 0.9677 GB, free: 6.457 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.3498, allocations: 0.6885 MB / 0.9684 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.21e-05/0.3498, allocations: 0 / 0.9684 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.277e-05/0.3498, allocations: 11.44 kB / 0.9684 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of SimCode: time 1.864e-06/0.3498, allocations: 0 / 0.9684 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of Templates: time 0.009029/0.3589, allocations: 5.449 MB / 0.9738 GB, free: 336 kB / 0.7481 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 -s gbode -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/jenkins1/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