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.001745/0.001745, allocations: 119.6 kB / 16.37 MB, free: 6.016 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.002189/0.002189, allocations: 193 kB / 17.31 MB, free: 5.613 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.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.18 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.13/2.13, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 68.19 kB / 0.8141 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 140.4 MB / 0.9512 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002858/0.3205, allocations: 1.426 MB / 0.9526 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004629/0.3251, allocations: 2.851 MB / 0.9554 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.3252, allocations: 3.938 kB / 0.9554 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.043e-05/0.3253, allocations: 7.922 kB / 0.9554 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.559e-05/0.3254, allocations: 11.86 kB / 0.9554 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004313/0.3297, allocations: 1.556 MB / 0.9569 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3299, allocations: 39.73 kB / 0.9569 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.227e-05/0.3299, allocations: 7.938 kB / 0.9569 GB, free: 2.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/0.33, allocations: 11.94 kB / 0.957 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.809e-05/0.33, allocations: 27.86 kB / 0.957 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.33, allocations: 0 / 0.957 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002273/0.3323, allocations: 1.482 MB / 0.9584 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.768e-05/0.3323, allocations: 11.98 kB / 0.9584 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.3324, allocations: 15.88 kB / 0.9585 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.3338, allocations: 1.068 MB / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3338, allocations: 0 / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3338, allocations: 0 / 0.9595 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.184e-05/0.3338, allocations: 0 / 0.9595 GB, free: 15.45 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.0006668/0.3345, allocations: 0.5108 MB / 0.96 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3346, allocations: 12.02 kB / 0.96 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.245e-05/0.3347, allocations: 84.12 kB / 0.9601 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.3349, allocations: 251.5 kB / 0.9603 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.3349, allocations: 154.9 kB / 0.9605 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.532e-05/0.335, allocations: 150.9 kB / 0.9606 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.405e-05/0.3351, allocations: 113.1 kB / 0.9607 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/0.3351, allocations: 79.28 kB / 0.9608 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/0.3352, allocations: 150.6 kB / 0.961 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/0.3353, allocations: 150.6 kB / 0.9611 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.3354, allocations: 154.5 kB / 0.9612 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003305/0.3357, allocations: 469.9 kB / 0.9617 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.3358, allocations: 169.1 kB / 0.9619 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.3358, allocations: 84.19 kB / 0.9619 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.3359, allocations: 79.27 kB / 0.962 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.048e-05/0.336, allocations: 121.7 kB / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.336, allocations: 0 / 0.9621 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.6e-05/0.3361, allocations: 33.55 kB / 0.9622 GB, free: 12.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.986e-05/0.3362, allocations: 134.7 kB / 0.9623 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000145/0.3363, allocations: 128.5 kB / 0.9624 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.3363, allocations: 25.7 kB / 0.9624 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.3364, allocations: 88.14 kB / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.705e-06/0.3364, allocations: 0 / 0.9625 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.387e-05/0.3364, allocations: 21.7 kB / 0.9625 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3366, allocations: 318.8 kB / 0.9628 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.3366, allocations: 4 kB / 0.9628 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.3366, allocations: 4 kB / 0.9628 GB, free: 11.8 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.3367, allocations: 16.84 kB / 0.9629 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3367, allocations: 0 / 0.9629 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001503/0.3368, allocations: 53.48 kB / 0.9629 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.3369, allocations: 8 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.3369, allocations: 0 / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3369, allocations: 4.047 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.153e-06/0.3369, allocations: 4 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3369, allocations: 4 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.337, allocations: 3.938 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.337, allocations: 0 / 0.9629 GB, free: 11.7 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 9.953e-05/0.3371, allocations: 185.1 kB / 0.9631 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.494e-05/0.3372, allocations: 108.8 kB / 0.9632 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.57e-05/0.3372, allocations: 116.8 kB / 0.9633 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.348e-05/0.3373, allocations: 184.3 kB / 0.9635 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.849e-05/0.3374, allocations: 180.2 kB / 0.9637 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.57e-05/0.3374, allocations: 180.3 kB / 0.9638 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3377, allocations: 409.2 kB / 0.9642 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/0.3377, allocations: 112.8 kB / 0.9643 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.245e-05/0.3378, allocations: 113 kB / 0.9645 GB, free: 10.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.904e-05/0.3379, allocations: 184.1 kB / 0.9646 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.278e-05/0.3379, allocations: 180.3 kB / 0.9648 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.05e-05/0.338, allocations: 176.3 kB / 0.965 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.309e-05/0.3381, allocations: 184.2 kB / 0.9651 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000142/0.3382, allocations: 319.7 kB / 0.9655 GB, free: 8.953 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-05/0.3383, allocations: 182 kB / 0.9656 GB, free: 8.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.201e-05/0.3384, allocations: 180.3 kB / 0.9658 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.203e-05/0.3385, allocations: 108.9 kB / 0.9659 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.3386, allocations: 180.3 kB / 0.9661 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.569e-05/0.3386, allocations: 108.9 kB / 0.9662 GB, free: 8.156 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.801e-05/0.3387, allocations: 99.27 kB / 0.9663 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3387, allocations: 3.938 kB / 0.9663 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007811/0.3395, allocations: 271.8 kB / 0.9665 GB, free: 7.789 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.001009/0.3405, allocations: 0.5136 MB / 0.967 GB, free: 7.266 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.3406, allocations: 41.7 kB / 0.9671 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3406, allocations: 0 / 0.9671 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3407, allocations: 0 / 0.9671 GB, free: 7.219 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000422/0.3411, allocations: 471.5 kB / 0.9675 GB, free: 6.754 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003665/0.3415, allocations: 251.4 kB / 0.9678 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.3417, allocations: 0.6807 MB / 0.9684 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.27e-05/0.3418, allocations: 0 / 0.9684 GB, free: 5.777 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.195e-05/0.3418, allocations: 11.44 kB / 0.9684 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.3418, allocations: 0 / 0.9684 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of Templates: time 0.00947/0.3513, allocations: 5.452 MB / 0.9738 GB, free: 376 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 cvode -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