Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002184/0.002184, allocations: 181 kB / 22.22 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 443.4 MB / 0.7321 GB, free: 12.27 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 1.062 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8989/0.9009, allocations: 160.8 MB / 1.219 GB, free: 3.715 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003211/0.9042, allocations: 1.457 MB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.005174/0.9093, allocations: 2.95 MB / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.295e-05/0.9094, allocations: 0 / 1.223 GB, free: 244 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.156e-05/0.9094, allocations: 5.094 kB / 1.223 GB, free: 240 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.481e-05/0.9095, allocations: 14.14 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.9145, allocations: 1.654 MB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.9146, allocations: 42.45 kB / 1.225 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.9146, allocations: 10.36 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.447e-05/0.9147, allocations: 12.25 kB / 1.225 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.9147, allocations: 24.23 kB / 1.225 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.9147, allocations: 1.094 kB / 1.225 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003455/0.9182, allocations: 1.728 MB / 1.226 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.9182, allocations: 9.312 kB / 1.226 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.9183, allocations: 20.48 kB / 1.226 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002236/0.9205, allocations: 1.147 MB / 1.227 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.9205, allocations: 0 / 1.227 GB, free: 13.35 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9205, allocations: 4 kB / 1.227 GB, free: 13.34 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.044e-06/0.9205, allocations: 0 / 1.227 GB, free: 13.34 MB / 0.9356 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.0007979/0.9213, allocations: 0.5235 MB / 1.228 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.9213, allocations: 13.59 kB / 1.228 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.908e-05/0.9214, allocations: 82.61 kB / 1.228 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/0.9216, allocations: 252.1 kB / 1.228 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.9217, allocations: 156.7 kB / 1.228 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.913e-05/0.9218, allocations: 162.8 kB / 1.229 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.251e-05/0.9219, allocations: 105.1 kB / 1.229 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.821e-05/0.9219, allocations: 76.97 kB / 1.229 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.024e-05/0.922, allocations: 150.6 kB / 1.229 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.631e-05/0.9221, allocations: 150.6 kB / 1.229 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.9222, allocations: 160 kB / 1.229 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000392/0.9226, allocations: 465.8 kB / 1.23 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.9227, allocations: 169.1 kB / 1.23 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.9227, allocations: 85.58 kB / 1.23 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.9228, allocations: 75.28 kB / 1.23 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.895e-05/0.9228, allocations: 115.2 kB / 1.23 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.9228, allocations: 0 / 1.23 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 9.827e-05/0.9229, allocations: 36.44 kB / 1.23 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.712e-05/0.923, allocations: 130.7 kB / 1.23 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.9232, allocations: 138.5 kB / 1.23 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.9232, allocations: 25.7 kB / 1.23 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.226e-05/0.9233, allocations: 95 kB / 1.23 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-06/0.9233, allocations: 0 / 1.23 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.9233, allocations: 23.11 kB / 1.23 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.9235, allocations: 316.1 kB / 1.231 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.9235, allocations: 4.5 kB / 1.231 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.628e-05/0.9235, allocations: 2.125 kB / 1.231 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.852e-05/0.9236, allocations: 18.56 kB / 1.231 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9236, allocations: 1.125 kB / 1.231 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.9237, allocations: 52.3 kB / 1.231 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.9237, allocations: 9.469 kB / 1.231 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-05/0.9238, allocations: 2.625 kB / 1.231 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.9238, allocations: 1.094 kB / 1.231 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.9238, allocations: 0 / 1.231 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.9238, allocations: 3.984 kB / 1.231 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.9238, allocations: 5.516 kB / 1.231 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.9238, allocations: 1.094 kB / 1.231 GB, free: 9.73 MB / 0.9356 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.0001316/0.924, allocations: 198.6 kB / 1.231 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.924, allocations: 123.5 kB / 1.231 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.9241, allocations: 111.3 kB / 1.231 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.043e-05/0.9242, allocations: 177.3 kB / 1.231 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.745e-05/0.9243, allocations: 185.9 kB / 1.232 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.734e-05/0.9244, allocations: 180.2 kB / 1.232 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.9247, allocations: 416.2 kB / 1.232 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.124e-05/0.9248, allocations: 109.9 kB / 1.232 GB, free: 8.168 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.9248, allocations: 102.5 kB / 1.232 GB, free: 8.062 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.846e-05/0.9249, allocations: 181.2 kB / 1.233 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/0.925, allocations: 189.3 kB / 1.233 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.983e-05/0.9251, allocations: 180.3 kB / 1.233 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.221e-05/0.9252, allocations: 185.7 kB / 1.233 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001915/0.9254, allocations: 308.3 kB / 1.233 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001056/0.9255, allocations: 188.6 kB / 1.234 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.9256, allocations: 177.3 kB / 1.234 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.9257, allocations: 106.3 kB / 1.234 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.9258, allocations: 185.3 kB / 1.234 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.9258, allocations: 106 kB / 1.234 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.571e-05/0.9259, allocations: 100.7 kB / 1.234 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9259, allocations: 0 / 1.234 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001127/0.927, allocations: 289.5 kB / 1.234 GB, free: 6.031 MB / 0.9356 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.001211/0.9282, allocations: 0.5313 MB / 1.235 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.9284, allocations: 42.44 kB / 1.235 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.9284, allocations: 0 / 1.235 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.098e-06/0.9284, allocations: 1.406 kB / 1.235 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004866/0.9289, allocations: 462.7 kB / 1.235 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.9293, allocations: 243.5 kB / 1.236 GB, free: 4.996 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.9296, allocations: 0.6846 MB / 1.236 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.9297, allocations: 0 / 1.236 GB, free: 4.293 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.9297, allocations: 13.78 kB / 1.236 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of SimCode: time 6.11e-07/0.9297, allocations: 0 / 1.236 GB, free: 4.285 MB / 0.9356 GB Notification: Performance of Templates: time 0.01168/0.9414, allocations: 5.648 MB / 1.242 GB, free: 14.84 MB / 0.9512 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.177969384938478]