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.InternalResistancesOneUTubeNegative.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.002509/0.002509, allocations: 79.28 kB / 19.18 MB, free: 2.52 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.003155/0.003155, allocations: 167.1 kB / 22.46 MB, free: 5.375 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.685/1.685, allocations: 177.1 MB / 202.8 MB, free: 9.156 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.798/2.798, allocations: 359 MB / 0.6037 GB, free: 14.98 MB / 0.5762 GB " [Timeout remaining time 176] 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 0.9511 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.298e-05/3.498e-05, allocations: 9.172 kB / 0.9511 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003204/0.003239, allocations: 1.436 MB / 0.9525 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005745/0.008984, allocations: 2.638 MB / 0.955 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.009037, allocations: 0 / 0.955 GB, free: 7.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.00906, allocations: 3.938 kB / 0.955 GB, free: 7.355 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.78e-05/0.009148, allocations: 15.84 kB / 0.9551 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005138/0.01429, allocations: 1.624 MB / 0.9566 GB, free: 5.73 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.0144, allocations: 43.66 kB / 0.9567 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.01445, allocations: 8 kB / 0.9567 GB, free: 5.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.0145, allocations: 15.92 kB / 0.9567 GB, free: 5.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.866e-05/0.01453, allocations: 11.98 kB / 0.9567 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.01455, allocations: 4 kB / 0.9567 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.01757, allocations: 1.458 MB / 0.9582 GB, free: 4.188 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.0176, allocations: 11.92 kB / 0.9582 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.332e-05/0.01763, allocations: 8 kB / 0.9582 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.02034, allocations: 1.243 MB / 0.9594 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.02034, allocations: 0 / 0.9594 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.493e-06/0.02034, allocations: 0 / 0.9594 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.02035, allocations: 0 / 0.9594 GB, free: 2.922 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.001088/0.02144, allocations: 472 kB / 0.9598 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.02148, allocations: 8.031 kB / 0.9598 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.02159, allocations: 84.17 kB / 0.9599 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.02179, allocations: 197 kB / 0.9601 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.02188, allocations: 154.9 kB / 0.9603 GB, free: 1.969 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.549e-05/0.02196, allocations: 150.9 kB / 0.9604 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.712e-05/0.02205, allocations: 109.5 kB / 0.9605 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/0.0221, allocations: 75.47 kB / 0.9606 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.873e-05/0.02218, allocations: 154.7 kB / 0.9607 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.407e-05/0.02227, allocations: 150.6 kB / 0.9609 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.921e-05/0.02234, allocations: 158.5 kB / 0.961 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.02272, allocations: 413.6 kB / 0.9614 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.02284, allocations: 165.1 kB / 0.9616 GB, free: 0.5703 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.02289, allocations: 84.14 kB / 0.9617 GB, free: 496 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.02295, allocations: 83.28 kB / 0.9617 GB, free: 412 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.611e-05/0.02301, allocations: 109.8 kB / 0.9618 GB, free: 292 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.02302, allocations: 0 / 0.9618 GB, free: 292 kB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.953e-05/0.02311, allocations: 37.59 kB / 0.9619 GB, free: 248 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.536e-05/0.02321, allocations: 130.6 kB / 0.962 GB, free: 104 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.02343, allocations: 127.5 kB / 0.9621 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.02345, allocations: 25.7 kB / 0.9621 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.537e-05/0.02351, allocations: 92.14 kB / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.524e-06/0.02351, allocations: 0 / 0.9622 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.02356, allocations: 17.7 kB / 0.9622 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.02373, allocations: 322.8 kB / 0.9626 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.727e-05/0.02376, allocations: 0 / 0.9626 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.02378, allocations: 8 kB / 0.9626 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.02384, allocations: 16.78 kB / 0.9626 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.02384, allocations: 4 kB / 0.9626 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001543/0.02399, allocations: 45.7 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.02402, allocations: 4 kB / 0.9626 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.037e-05/0.02405, allocations: 7.984 kB / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.02407, allocations: 3.938 kB / 0.9626 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.757e-06/0.02407, allocations: 3.984 kB / 0.9626 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.02408, allocations: 8 kB / 0.9627 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.645e-05/0.0241, allocations: 0 / 0.9627 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.02411, allocations: 4 kB / 0.9627 GB, free: 15.38 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.0001562/0.02427, allocations: 181.1 kB / 0.9628 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.611e-05/0.02436, allocations: 112.9 kB / 0.9629 GB, free: 15.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.929e-05/0.02444, allocations: 112.8 kB / 0.963 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.504e-05/0.02454, allocations: 184.2 kB / 0.9632 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001116/0.02465, allocations: 180.2 kB / 0.9634 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001063/0.02475, allocations: 180.3 kB / 0.9636 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.02506, allocations: 368.8 kB / 0.9639 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.602e-05/0.02512, allocations: 105 kB / 0.964 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.176e-05/0.02519, allocations: 105 kB / 0.9641 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-05/0.02529, allocations: 188.2 kB / 0.9643 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.0254, allocations: 176.3 kB / 0.9645 GB, free: 13.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001054/0.0255, allocations: 188.2 kB / 0.9646 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001086/0.02561, allocations: 188.2 kB / 0.9648 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.02582, allocations: 307.7 kB / 0.9651 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.02588, allocations: 108.9 kB / 0.9652 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.026, allocations: 180.2 kB / 0.9654 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.0261, allocations: 105 kB / 0.9655 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.02622, allocations: 192.1 kB / 0.9657 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/0.02627, allocations: 105.3 kB / 0.9658 GB, free: 12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 7.909e-05/0.02635, allocations: 97.3 kB / 0.9659 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of sort global known variables: time 6e-08/0.02635, allocations: 0 / 0.9659 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001078/0.02743, allocations: 291 kB / 0.9661 GB, free: 11.62 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.001722/0.02915, allocations: 0.5786 MB / 0.9667 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.02928, allocations: 37.69 kB / 0.9667 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02928, allocations: 4.062 kB / 0.9668 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.08e-06/0.02929, allocations: 3.938 kB / 0.9668 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.02982, allocations: 463.7 kB / 0.9672 GB, free: 10.53 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.03028, allocations: 227.8 kB / 0.9674 GB, free: 10.28 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.322e-05/0.03038, allocations: 63.34 kB / 0.9675 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.938e-05/0.0304, allocations: 3.938 kB / 0.9675 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.03042, allocations: 16.5 kB / 0.9675 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of SimCode: time 1.132e-06/0.03042, allocations: 0 / 0.9675 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of Templates: time 0.01354/0.04396, allocations: 5.732 MB / 0.9731 GB, free: 4.508 MB / 0.8731 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 8.773051761090755]