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.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.001862/0.001862, allocations: 113 kB / 17.6 MB, free: 4.684 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.002351/0.002351, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.443/1.443, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.764/2.764, allocations: 476.7 MB / 0.7629 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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 0.001977/0.001977, allocations: 68.03 kB / 1.107 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8482/0.8502, allocations: 168.7 MB / 1.272 GB, free: 7.879 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002365/0.8526, allocations: 1.464 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003859/0.8564, allocations: 2.934 MB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.327e-05/0.8565, allocations: 0 / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.8565, allocations: 6 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.015e-05/0.8566, allocations: 19.8 kB / 1.276 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.8605, allocations: 1.593 MB / 1.278 GB, free: 4.062 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.8607, allocations: 46.56 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.537e-05/0.8607, allocations: 1.844 kB / 1.278 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.704e-05/0.8607, allocations: 14.83 kB / 1.278 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.196e-05/0.8608, allocations: 20.45 kB / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.8608, allocations: 1.375 kB / 1.278 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002636/0.8634, allocations: 1.573 MB / 1.28 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.8634, allocations: 6.656 kB / 1.28 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.8635, allocations: 20.02 kB / 1.28 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.8655, allocations: 1.118 MB / 1.281 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8655, allocations: 2.469 kB / 1.281 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.824e-06/0.8655, allocations: 0 / 1.281 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.8656, allocations: 0 / 1.281 GB, free: 3.219 MB / 0.9981 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.0006393/0.8662, allocations: 0.5242 MB / 1.281 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.8662, allocations: 8.938 kB / 1.281 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.8663, allocations: 91.14 kB / 1.281 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.8664, allocations: 254.5 kB / 1.282 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.8664, allocations: 150.9 kB / 1.282 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.643e-05/0.8664, allocations: 153.4 kB / 1.282 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.183e-05/0.8665, allocations: 109.6 kB / 1.282 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.8665, allocations: 75.28 kB / 1.282 GB, free: 1.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.8665, allocations: 154.6 kB / 1.282 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.8665, allocations: 151.2 kB / 1.282 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.917e-05/0.8665, allocations: 155.3 kB / 1.282 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000188/0.8667, allocations: 465.8 kB / 1.283 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.173e-05/0.8668, allocations: 184.4 kB / 1.283 GB, free: 0.7422 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.46e-05/0.8668, allocations: 80.8 kB / 1.283 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.378e-06/0.8668, allocations: 75.28 kB / 1.283 GB, free: 0.5859 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.8668, allocations: 110.4 kB / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 7.91e-07/0.8668, allocations: 0 / 1.283 GB, free: 480 kB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 6.785e-05/0.8669, allocations: 31.88 kB / 1.283 GB, free: 448 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.8669, allocations: 134.6 kB / 1.283 GB, free: 300 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.867, allocations: 141.1 kB / 1.284 GB, free: 180 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.867, allocations: 29.64 kB / 1.284 GB, free: 144 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.861e-05/0.8671, allocations: 92.44 kB / 1.284 GB, free: 52 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.8671, allocations: 0 / 1.284 GB, free: 52 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.8671, allocations: 16.41 kB / 1.284 GB, free: 36 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8672, allocations: 318.6 kB / 1.284 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.41e-05/0.8673, allocations: 9.672 kB / 1.284 GB, free: 15.71 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.603e-05/0.8673, allocations: 1.781 kB / 1.284 GB, free: 15.71 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.577e-05/0.8673, allocations: 17.67 kB / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.8673, allocations: 0 / 1.284 GB, free: 15.7 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001481/0.8675, allocations: 57.67 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.8675, allocations: 5.312 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.8675, allocations: 4.422 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.8675, allocations: 0 / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.81e-07/0.8675, allocations: 0.8438 kB / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.8675, allocations: 0 / 1.284 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.277e-05/0.8675, allocations: 9.156 kB / 1.284 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.8675, allocations: 1.781 kB / 1.284 GB, free: 15.65 MB / 1.014 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.0001069/0.8676, allocations: 188.5 kB / 1.284 GB, free: 15.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.266e-05/0.8677, allocations: 115.7 kB / 1.284 GB, free: 15.34 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.13e-05/0.8678, allocations: 118.2 kB / 1.285 GB, free: 15.22 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.195e-05/0.8679, allocations: 177 kB / 1.285 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.759e-05/0.8679, allocations: 188.5 kB / 1.285 GB, free: 14.85 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.509e-05/0.868, allocations: 180.8 kB / 1.285 GB, free: 14.67 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.8683, allocations: 406.9 kB / 1.285 GB, free: 14.22 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.903e-05/0.8683, allocations: 112.8 kB / 1.286 GB, free: 14.11 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.351e-05/0.8684, allocations: 101.8 kB / 1.286 GB, free: 14 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.142e-05/0.8684, allocations: 180.9 kB / 1.286 GB, free: 13.82 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/0.8685, allocations: 186.5 kB / 1.286 GB, free: 13.63 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.651e-05/0.8686, allocations: 181.7 kB / 1.286 GB, free: 13.45 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.349e-05/0.8687, allocations: 183.4 kB / 1.286 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.8688, allocations: 307.1 kB / 1.287 GB, free: 12.95 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 8.656e-05/0.8689, allocations: 191.6 kB / 1.287 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.708e-05/0.869, allocations: 179.8 kB / 1.287 GB, free: 12.56 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.8691, allocations: 105.5 kB / 1.287 GB, free: 12.45 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.8692, allocations: 179.7 kB / 1.287 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.8692, allocations: 101.6 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.588e-05/0.8693, allocations: 111 kB / 1.287 GB, free: 12.07 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.8693, allocations: 4 kB / 1.287 GB, free: 12.07 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0009177/0.8702, allocations: 290.5 kB / 1.288 GB, free: 12 MB / 1.014 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.001102/0.8713, allocations: 0.5328 MB / 1.288 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001093/0.8714, allocations: 43.11 kB / 1.288 GB, free: 11.7 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8714, allocations: 6.75 kB / 1.288 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.164e-06/0.8714, allocations: 0 / 1.288 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/0.8718, allocations: 464.8 kB / 1.289 GB, free: 11.24 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.8722, allocations: 261.4 kB / 1.289 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.8725, allocations: 0.6812 MB / 1.29 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.8725, allocations: 0.6562 kB / 1.29 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.8725, allocations: 10.72 kB / 1.29 GB, free: 10.31 MB / 1.014 GB Notification: Performance of SimCode: time 4.1e-07/0.8725, allocations: 0 / 1.29 GB, free: 10.31 MB / 1.014 GB Notification: Performance of Templates: time 0.01061/0.8831, allocations: 5.647 MB / 1.295 GB, free: 9.887 MB / 1.014 GB " [Timeout remaining time 299] 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.830506092868745]