Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001793/0.001793, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001999/0.001999, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.51/1.51, allocations: 230.6 MB / 252.8 MB, free: 9.109 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.259/3.259, allocations: 0.4899 GB / 0.7915 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 68.69 kB / 1.149 GB, free: 26.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3131, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002594/0.3157, allocations: 1.468 MB / 1.323 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004536/0.3203, allocations: 2.926 MB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.3203, allocations: 0 / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.3203, allocations: 7.875 kB / 1.326 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.397e-05/0.3204, allocations: 15.86 kB / 1.326 GB, free: 14.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003867/0.3243, allocations: 1.636 MB / 1.327 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3244, allocations: 43.72 kB / 1.327 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.096e-05/0.3244, allocations: 4 kB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 5.473e-05/0.3244, allocations: 15.88 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.3245, allocations: 15.92 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.3245, allocations: 0 / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.327, allocations: 1.548 MB / 1.329 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.327, allocations: 7.922 kB / 1.329 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.327, allocations: 23.86 kB / 1.329 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0018/0.3288, allocations: 1.103 MB / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.3288, allocations: 0 / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3288, allocations: 0 / 1.33 GB, free: 9.996 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.371e-05/0.3289, allocations: 0 / 1.33 GB, free: 9.996 MB / 1.029 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.0007705/0.3296, allocations: 0.5363 MB / 1.33 GB, free: 9.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3297, allocations: 8.031 kB / 1.33 GB, free: 9.402 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.293e-05/0.3297, allocations: 84.17 kB / 1.331 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3299, allocations: 253.5 kB / 1.331 GB, free: 9.035 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-05/0.33, allocations: 154.9 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-05/0.3301, allocations: 150.9 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.7e-05/0.3302, allocations: 105.1 kB / 1.331 GB, free: 8.625 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.477e-05/0.3302, allocations: 79.28 kB / 1.331 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.231e-05/0.3303, allocations: 162.5 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.328e-05/0.3304, allocations: 150.6 kB / 1.332 GB, free: 8.238 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.521e-05/0.3304, allocations: 154.6 kB / 1.332 GB, free: 8.086 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.3308, allocations: 465.9 kB / 1.332 GB, free: 7.582 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001067/0.3309, allocations: 165.1 kB / 1.332 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.331, allocations: 84.08 kB / 1.332 GB, free: 7.324 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.331, allocations: 79.28 kB / 1.332 GB, free: 7.246 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.3311, allocations: 109.8 kB / 1.333 GB, free: 7.129 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.3311, allocations: 4 kB / 1.333 GB, free: 7.125 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.809e-05/0.3311, allocations: 29.66 kB / 1.333 GB, free: 7.09 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.601e-05/0.3312, allocations: 134.6 kB / 1.333 GB, free: 6.945 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.3314, allocations: 125.8 kB / 1.333 GB, free: 6.812 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3314, allocations: 33.64 kB / 1.333 GB, free: 6.773 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.3315, allocations: 96.12 kB / 1.333 GB, free: 6.676 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.3315, allocations: 0 / 1.333 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-05/0.3315, allocations: 13.72 kB / 1.333 GB, free: 6.656 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.3317, allocations: 322.8 kB / 1.333 GB, free: 6.332 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.458e-05/0.3317, allocations: 4 kB / 1.333 GB, free: 6.328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.809e-05/0.3317, allocations: 7.922 kB / 1.333 GB, free: 6.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.377e-05/0.3317, allocations: 16.86 kB / 1.333 GB, free: 6.301 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3317, allocations: 0 / 1.333 GB, free: 6.301 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/0.3319, allocations: 57.61 kB / 1.333 GB, free: 6.238 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.3319, allocations: 6.031 kB / 1.333 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.3319, allocations: 4 kB / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3319, allocations: 0 / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.3319, allocations: 0 / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3319, allocations: 0 / 1.333 GB, free: 6.23 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.24e-05/0.332, allocations: 4 kB / 1.333 GB, free: 6.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.332, allocations: 0 / 1.333 GB, free: 6.227 MB / 1.029 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.0001234/0.3321, allocations: 189.1 kB / 1.334 GB, free: 6.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.37e-05/0.3322, allocations: 116.9 kB / 1.334 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.261e-05/0.3323, allocations: 108.9 kB / 1.334 GB, free: 5.793 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.885e-05/0.3323, allocations: 184.2 kB / 1.334 GB, free: 5.605 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.017e-05/0.3324, allocations: 176.3 kB / 1.334 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.429e-05/0.3325, allocations: 180.2 kB / 1.334 GB, free: 5.242 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.3328, allocations: 417.2 kB / 1.335 GB, free: 4.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-05/0.3329, allocations: 108.9 kB / 1.335 GB, free: 4.664 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.3329, allocations: 108.9 kB / 1.335 GB, free: 4.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001013/0.333, allocations: 180.3 kB / 1.335 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.8e-05/0.3331, allocations: 184.2 kB / 1.335 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.95e-05/0.3332, allocations: 180.3 kB / 1.335 GB, free: 3.996 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.743e-05/0.3333, allocations: 180.3 kB / 1.336 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.3335, allocations: 307.8 kB / 1.336 GB, free: 3.488 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.3336, allocations: 193.9 kB / 1.336 GB, free: 3.273 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3338, allocations: 180.3 kB / 1.336 GB, free: 3.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.3339, allocations: 105 kB / 1.336 GB, free: 2.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.334, allocations: 184.2 kB / 1.337 GB, free: 2.793 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.477e-05/0.334, allocations: 101 kB / 1.337 GB, free: 2.688 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.339e-05/0.3341, allocations: 103.2 kB / 1.337 GB, free: 2.586 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3341, allocations: 4 kB / 1.337 GB, free: 2.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0009377/0.3351, allocations: 287 kB / 1.337 GB, free: 2.301 MB / 1.029 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.001255/0.3363, allocations: 0.5432 MB / 1.338 GB, free: 1.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001243/0.3364, allocations: 41.64 kB / 1.338 GB, free: 1.703 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3364, allocations: 3.938 kB / 1.338 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.505e-06/0.3364, allocations: 352 / 1.338 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004722/0.3369, allocations: 469.9 kB / 1.338 GB, free: 1.238 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.3373, allocations: 235.9 kB / 1.338 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3376, allocations: 0.6807 MB / 1.339 GB, free: 280 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.26e-05/0.3376, allocations: 0 / 1.339 GB, free: 280 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.484e-05/0.3377, allocations: 11.44 kB / 1.339 GB, free: 268 kB / 1.029 GB Notification: Performance of SimCode: time 3.4e-07/0.3377, allocations: 4 kB / 1.339 GB, free: 264 kB / 1.029 GB Notification: Performance of Templates: time 0.01073/0.3484, allocations: 5.663 MB / 1.344 GB, free: 10.64 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.837754417210817]