Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 78.41 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 169.6 kB / 22.46 MB, free: 5.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.593/1.593, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.789/2.789, allocations: 359 MB / 0.6037 GB, free: 14.97 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.9511 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.912e-05/3.1e-05, allocations: 2.281 kB / 0.9511 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003014/0.003045, allocations: 1.445 MB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004975/0.00802, allocations: 2.681 MB / 0.9551 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.00807, allocations: 0 / 0.9551 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.212e-05/0.008092, allocations: 0 / 0.9551 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.362e-05/0.008186, allocations: 23.78 kB / 0.9551 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00507/0.01326, allocations: 1.645 MB / 0.9567 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.01337, allocations: 43.67 kB / 0.9568 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.01342, allocations: 8 kB / 0.9568 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.01348, allocations: 27.91 kB / 0.9568 GB, free: 5.582 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.659e-05/0.01352, allocations: 11.98 kB / 0.9568 GB, free: 5.57 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.01353, allocations: 4 kB / 0.9568 GB, free: 5.566 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.01619, allocations: 1.493 MB / 0.9583 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.436e-05/0.01621, allocations: 4 kB / 0.9583 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.351e-05/0.01625, allocations: 11.94 kB / 0.9583 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002444/0.01869, allocations: 1.27 MB / 0.9595 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.0187, allocations: 0 / 0.9595 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.0187, allocations: 0 / 0.9595 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.0187, allocations: 0 / 0.9595 GB, free: 2.781 MB / 0.8575 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.000849/0.01955, allocations: 476 kB / 0.96 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.0196, allocations: 12.03 kB / 0.96 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.01968, allocations: 88.11 kB / 0.9601 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.01987, allocations: 193 kB / 0.9603 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.01995, allocations: 150.9 kB / 0.9604 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.87e-05/0.02003, allocations: 150.9 kB / 0.9605 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.32e-05/0.02012, allocations: 105.5 kB / 0.9606 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.989e-05/0.02016, allocations: 75.47 kB / 0.9607 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.033e-05/0.02024, allocations: 154.7 kB / 0.9609 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.512e-05/0.02031, allocations: 154.6 kB / 0.961 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.926e-05/0.02039, allocations: 162.5 kB / 0.9612 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.02074, allocations: 417.5 kB / 0.9616 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.02085, allocations: 169.1 kB / 0.9617 GB, free: 424 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.456e-05/0.02089, allocations: 80.14 kB / 0.9618 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.525e-05/0.02094, allocations: 79.28 kB / 0.9619 GB, free: 260 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.443e-05/0.021, allocations: 109.8 kB / 0.962 GB, free: 140 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/0.021, allocations: 3.938 kB / 0.962 GB, free: 136 kB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.454e-05/0.0211, allocations: 29.7 kB / 0.962 GB, free: 100 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.02121, allocations: 130.6 kB / 0.9621 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001793/0.02139, allocations: 136.1 kB / 0.9623 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.325e-05/0.02141, allocations: 29.7 kB / 0.9623 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.02149, allocations: 92.12 kB / 0.9624 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.02149, allocations: 7.984 kB / 0.9624 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.02154, allocations: 17.72 kB / 0.9624 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.02169, allocations: 318.8 kB / 0.9627 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.215e-05/0.02172, allocations: 4 kB / 0.9627 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.042e-05/0.02174, allocations: 8 kB / 0.9627 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.989e-05/0.02179, allocations: 12.8 kB / 0.9627 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.02179, allocations: 0 / 0.9627 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001515/0.02195, allocations: 53.64 kB / 0.9628 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.02196, allocations: 4 kB / 0.9628 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.02198, allocations: 4 kB / 0.9628 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.084e-05/0.022, allocations: 8 kB / 0.9628 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-06/0.02201, allocations: 4 kB / 0.9628 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.02201, allocations: 0 / 0.9628 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.799e-05/0.02204, allocations: 3.938 kB / 0.9628 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.02205, allocations: 4.062 kB / 0.9628 GB, free: 15.22 MB / 0.8731 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.000132/0.02218, allocations: 189.1 kB / 0.963 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.159e-05/0.02226, allocations: 116.9 kB / 0.9631 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.435e-05/0.02234, allocations: 108.6 kB / 0.9632 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.882e-05/0.02243, allocations: 180.2 kB / 0.9634 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.835e-05/0.02252, allocations: 188.2 kB / 0.9636 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.328e-05/0.02261, allocations: 180.3 kB / 0.9637 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.02287, allocations: 368.8 kB / 0.9641 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-05/0.02292, allocations: 104.9 kB / 0.9642 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.02298, allocations: 105 kB / 0.9643 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.288e-05/0.02306, allocations: 184.2 kB / 0.9645 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.477e-05/0.02315, allocations: 176.3 kB / 0.9646 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-05/0.02324, allocations: 192.2 kB / 0.9648 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.044e-05/0.02332, allocations: 180.2 kB / 0.965 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.02351, allocations: 311.7 kB / 0.9653 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.02356, allocations: 108.9 kB / 0.9654 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.02367, allocations: 184.2 kB / 0.9656 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.613e-05/0.02377, allocations: 105 kB / 0.9657 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.658e-05/0.02385, allocations: 184.1 kB / 0.9658 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.175e-05/0.0239, allocations: 105.3 kB / 0.9659 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.073e-05/0.02398, allocations: 105.4 kB / 0.966 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of sort global known variables: time 8e-08/0.02398, allocations: 0 / 0.966 GB, free: 11.74 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0009532/0.02494, allocations: 295 kB / 0.9663 GB, free: 11.45 MB / 0.8731 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.001402/0.02634, allocations: 0.5985 MB / 0.9669 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.02645, allocations: 37.7 kB / 0.9669 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02645, allocations: 0 / 0.9669 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.819e-06/0.02646, allocations: 3.938 kB / 0.9669 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004759/0.02694, allocations: 459.7 kB / 0.9674 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.02732, allocations: 227.9 kB / 0.9676 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.868e-05/0.0274, allocations: 67.41 kB / 0.9677 GB, free: 10.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.02742, allocations: 3.938 kB / 0.9677 GB, free: 10 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.02744, allocations: 12.5 kB / 0.9677 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of SimCode: time 5.11e-07/0.02744, allocations: 0 / 0.9677 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of Templates: time 0.01235/0.03978, allocations: 5.89 MB / 0.9734 GB, free: 4.156 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 8.600570376962423]