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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.01057/0.01057, allocations: 171.1 kB / 16.26 MB, free: 6.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.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.457/2.457, allocations: 390.9 MB / 0.6663 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 12 kB / 0.816 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6873/0.6876, allocations: 142.4 MB / 0.9551 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001296/0.689, allocations: 1.163 MB / 0.9562 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003723/0.6927, allocations: 2.933 MB / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.609e-05/0.6928, allocations: 0 / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.6928, allocations: 0 / 0.9591 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.6929, allocations: 18.91 kB / 0.9591 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003189/0.6961, allocations: 1.4 MB / 0.9605 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.719e-05/0.6961, allocations: 37.56 kB / 0.9605 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.29e-05/0.6962, allocations: 10.73 kB / 0.9605 GB, free: 3.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.873e-05/0.6962, allocations: 16.17 kB / 0.9605 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.63e-05/0.6963, allocations: 10.81 kB / 0.9606 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.6963, allocations: 5.312 kB / 0.9606 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002112/0.6984, allocations: 1.474 MB / 0.962 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.6984, allocations: 6.203 kB / 0.962 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.6985, allocations: 45.05 kB / 0.962 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001429/0.6999, allocations: 1.111 MB / 0.9631 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6999, allocations: 0 / 0.9631 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6999, allocations: 0 / 0.9631 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.6999, allocations: 1.156 kB / 0.9631 GB, free: 1.977 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.0004884/0.7004, allocations: 0.5117 MB / 0.9636 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.7005, allocations: 7 kB / 0.9636 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.7005, allocations: 91.31 kB / 0.9637 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.44e-05/0.7006, allocations: 251.6 kB / 0.964 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.724e-05/0.7006, allocations: 157.6 kB / 0.9641 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.824e-05/0.7007, allocations: 150.9 kB / 0.9643 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.488e-05/0.7007, allocations: 105.1 kB / 0.9644 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.7008, allocations: 79.22 kB / 0.9644 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.7008, allocations: 162.5 kB / 0.9646 GB, free: 472 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.7008, allocations: 154.3 kB / 0.9647 GB, free: 320 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.7008, allocations: 150.6 kB / 0.9649 GB, free: 168 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.7011, allocations: 466.7 kB / 0.9653 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.949e-05/0.7012, allocations: 173.1 kB / 0.9655 GB, free: 15.49 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.557e-05/0.7012, allocations: 88.06 kB / 0.9656 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.7013, allocations: 75.28 kB / 0.9656 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.7013, allocations: 109.8 kB / 0.9658 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.7014, allocations: 0 / 0.9658 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.892e-05/0.7014, allocations: 29.58 kB / 0.9658 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/0.7015, allocations: 130.7 kB / 0.9659 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.7016, allocations: 136.1 kB / 0.966 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.7016, allocations: 27.08 kB / 0.9661 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.7017, allocations: 93.38 kB / 0.9661 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.7017, allocations: 1.562 kB / 0.9662 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.342e-05/0.7017, allocations: 11.38 kB / 0.9662 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.7018, allocations: 320.6 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.7019, allocations: 6.781 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.7019, allocations: 7.375 kB / 0.9665 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.7019, allocations: 15.73 kB / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7019, allocations: 0 / 0.9665 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001302/0.7021, allocations: 51.78 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.7021, allocations: 5.125 kB / 0.9665 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.7021, allocations: 3.281 kB / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7021, allocations: 0 / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.7021, allocations: 1.469 kB / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7021, allocations: 0 / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.7022, allocations: 4.875 kB / 0.9666 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.7022, allocations: 1.094 kB / 0.9666 GB, free: 14.39 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 9.175e-05/0.7023, allocations: 194.6 kB / 0.9667 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.7023, allocations: 111.7 kB / 0.9669 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.873e-05/0.7024, allocations: 111.3 kB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.114e-05/0.7025, allocations: 181.2 kB / 0.9671 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.797e-05/0.7025, allocations: 177.4 kB / 0.9673 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.868e-05/0.7026, allocations: 189.2 kB / 0.9675 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.7029, allocations: 415.6 kB / 0.9679 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.7029, allocations: 110.3 kB / 0.968 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.7029, allocations: 114 kB / 0.9681 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.658e-05/0.703, allocations: 181.2 kB / 0.9683 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-05/0.7031, allocations: 189.2 kB / 0.9684 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001222/0.7032, allocations: 181.2 kB / 0.9686 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.028e-05/0.7033, allocations: 177.4 kB / 0.9688 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.7034, allocations: 304.6 kB / 0.9691 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.886e-05/0.7035, allocations: 196 kB / 0.9693 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.772e-05/0.7036, allocations: 181.4 kB / 0.9694 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.233e-05/0.7036, allocations: 102 kB / 0.9695 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/0.7037, allocations: 181.3 kB / 0.9697 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.7038, allocations: 102 kB / 0.9698 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.898e-05/0.7038, allocations: 105.7 kB / 0.9699 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7038, allocations: 1.188 kB / 0.9699 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007881/0.7046, allocations: 286.5 kB / 0.9702 GB, free: 10.7 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.001131/0.7058, allocations: 0.5284 MB / 0.9707 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00011/0.7059, allocations: 38.17 kB / 0.9707 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.7059, allocations: 4.656 kB / 0.9707 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.615e-06/0.7059, allocations: 4.781 kB / 0.9707 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004939/0.7064, allocations: 0.5263 MB / 0.9713 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.7068, allocations: 263 kB / 0.9715 GB, free: 9.566 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.7071, allocations: 0.6852 MB / 0.9722 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.7071, allocations: 3.906 kB / 0.9722 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.7072, allocations: 10.03 kB / 0.9722 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.7072, allocations: 0 / 0.9722 GB, free: 8.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.01119/0.7184, allocations: 5.672 MB / 0.9777 GB, free: 5.965 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x