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.001687/0.001687, allocations: 78.64 kB / 19.76 MB, free: 1.875 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.002167/0.002167, allocations: 156.8 kB / 23.01 MB, free: 4.598 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.581/1.581, allocations: 177.2 MB / 203.4 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.836/2.836, allocations: 359.1 MB / 0.6044 GB, free: 14.89 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: 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.002359/0.002359, allocations: 70.25 kB / 0.9516 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4178, allocations: 169.9 MB / 1.118 GB, free: 2.508 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003446/0.4213, allocations: 1.431 MB / 1.119 GB, free: 1.066 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005288/0.4266, allocations: 2.649 MB / 1.122 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.603e-05/0.4266, allocations: 0 / 1.122 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.678e-05/0.4266, allocations: 3.938 kB / 1.122 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 9.017e-05/0.4267, allocations: 11.86 kB / 1.122 GB, free: 14.39 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.4315, allocations: 1.62 MB / 1.123 GB, free: 12.78 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.781e-05/0.4316, allocations: 43.73 kB / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.4317, allocations: 0 / 1.123 GB, free: 12.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.914e-05/0.4317, allocations: 15.92 kB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.427e-05/0.4317, allocations: 19.88 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.4318, allocations: 4 kB / 1.123 GB, free: 12.7 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.4345, allocations: 1.451 MB / 1.125 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.687e-05/0.4346, allocations: 0 / 1.125 GB, free: 11.24 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.4346, allocations: 19.86 kB / 1.125 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.4369, allocations: 1.068 MB / 1.126 GB, free: 10.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/0.4369, allocations: 4 kB / 1.126 GB, free: 10.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.515e-06/0.4369, allocations: 0 / 1.126 GB, free: 10.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4369, allocations: 0 / 1.126 GB, free: 10.15 MB / 1.076 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.0009795/0.4379, allocations: 478.1 kB / 1.126 GB, free: 9.652 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.4379, allocations: 8.031 kB / 1.126 GB, free: 9.645 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.438, allocations: 84.17 kB / 1.126 GB, free: 9.562 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.4382, allocations: 197.6 kB / 1.126 GB, free: 9.344 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.528e-05/0.4383, allocations: 150.9 kB / 1.127 GB, free: 9.195 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.539e-05/0.4384, allocations: 158.9 kB / 1.127 GB, free: 9.039 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/0.4384, allocations: 105.1 kB / 1.127 GB, free: 8.93 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/0.4385, allocations: 75.28 kB / 1.127 GB, free: 8.855 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-05/0.4386, allocations: 158.6 kB / 1.127 GB, free: 8.699 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.958e-05/0.4386, allocations: 154.5 kB / 1.127 GB, free: 8.547 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.41e-05/0.4387, allocations: 154.6 kB / 1.127 GB, free: 8.395 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004006/0.4391, allocations: 413.6 kB / 1.128 GB, free: 7.961 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.4392, allocations: 169.1 kB / 1.128 GB, free: 7.785 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.4393, allocations: 80.14 kB / 1.128 GB, free: 7.703 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.4394, allocations: 79.28 kB / 1.128 GB, free: 7.625 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/0.4394, allocations: 109.8 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 2.034e-06/0.4394, allocations: 0 / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 0.0001145/0.4395, allocations: 37.59 kB / 1.128 GB, free: 7.465 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.527e-05/0.4396, allocations: 134.6 kB / 1.128 GB, free: 7.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001819/0.4398, allocations: 133 kB / 1.128 GB, free: 7.184 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.4398, allocations: 25.7 kB / 1.128 GB, free: 7.152 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.4399, allocations: 96.14 kB / 1.129 GB, free: 7.055 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.4399, allocations: 0 / 1.129 GB, free: 7.055 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.44, allocations: 13.72 kB / 1.129 GB, free: 7.035 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.4401, allocations: 322.8 kB / 1.129 GB, free: 6.711 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.612e-05/0.4402, allocations: 0 / 1.129 GB, free: 6.711 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.563e-05/0.4402, allocations: 4 kB / 1.129 GB, free: 6.707 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.356e-05/0.4402, allocations: 20.8 kB / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4402, allocations: 0 / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001532/0.4404, allocations: 53.61 kB / 1.129 GB, free: 6.625 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.4404, allocations: 7.938 kB / 1.129 GB, free: 6.617 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.4404, allocations: 4 kB / 1.129 GB, free: 6.613 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4405, allocations: 4.062 kB / 1.129 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.4405, allocations: 0 / 1.129 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4405, allocations: 0 / 1.129 GB, free: 6.609 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.367e-05/0.4405, allocations: 8 kB / 1.129 GB, free: 6.602 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-06/0.4405, allocations: 0 / 1.129 GB, free: 6.602 MB / 1.076 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.0001393/0.4407, allocations: 189.1 kB / 1.129 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.094e-05/0.4407, allocations: 108.9 kB / 1.129 GB, free: 6.293 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.091e-05/0.4408, allocations: 112.7 kB / 1.129 GB, free: 6.172 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-05/0.4409, allocations: 176.3 kB / 1.13 GB, free: 5.992 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.579e-05/0.441, allocations: 188.2 kB / 1.13 GB, free: 5.801 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.435e-05/0.4411, allocations: 184.2 kB / 1.13 GB, free: 5.613 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.4413, allocations: 360.9 kB / 1.13 GB, free: 5.223 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.4414, allocations: 104.9 kB / 1.13 GB, free: 5.113 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.634e-05/0.4414, allocations: 105 kB / 1.13 GB, free: 5.004 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.323e-05/0.4415, allocations: 184.3 kB / 1.131 GB, free: 4.816 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.692e-05/0.4416, allocations: 192.2 kB / 1.131 GB, free: 4.621 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.337e-05/0.4417, allocations: 176.3 kB / 1.131 GB, free: 4.441 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.869e-05/0.4418, allocations: 184.2 kB / 1.131 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.442, allocations: 307.7 kB / 1.131 GB, free: 3.93 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.442, allocations: 116.9 kB / 1.132 GB, free: 3.809 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-05/0.4421, allocations: 184.2 kB / 1.132 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4422, allocations: 108.9 kB / 1.132 GB, free: 3.508 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.59e-05/0.4423, allocations: 176.3 kB / 1.132 GB, free: 3.328 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.971e-05/0.4424, allocations: 108.9 kB / 1.132 GB, free: 3.215 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.4425, allocations: 103.2 kB / 1.132 GB, free: 3.113 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.4425, allocations: 0 / 1.132 GB, free: 3.113 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001021/0.4435, allocations: 287 kB / 1.132 GB, free: 2.832 MB / 1.076 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.00141/0.4449, allocations: 0.5425 MB / 1.133 GB, free: 2.277 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000115/0.445, allocations: 33.7 kB / 1.133 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.445, allocations: 0 / 1.133 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.054e-06/0.445, allocations: 0 / 1.133 GB, free: 2.238 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.4455, allocations: 473.7 kB / 1.133 GB, free: 1.773 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.4459, allocations: 232.6 kB / 1.134 GB, free: 1.52 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.528e-05/0.446, allocations: 71.41 kB / 1.134 GB, free: 1.43 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.685e-05/0.446, allocations: 3.938 kB / 1.134 GB, free: 1.426 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.446, allocations: 8.5 kB / 1.134 GB, free: 1.418 MB / 1.076 GB Notification: Performance of SimCode: time 4.1e-07/0.446, allocations: 0 / 1.134 GB, free: 1.418 MB / 1.076 GB Notification: Performance of Templates: time 0.7268/1.173, allocations: 5.689 MB / 1.139 GB, free: 57.89 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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/jenkins1/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: 9.862018780899234]