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.001803/0.001803, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002183/0.002183, allocations: 198.4 kB / 22.17 MB, free: 5.207 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.46/1.46, allocations: 225.6 MB / 250.9 MB, free: 13.24 MB / 206.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.768/2.768, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 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.002015/0.002015, allocations: 75.89 kB / 1.109 GB, free: 6.461 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7341/0.7361, allocations: 168.7 MB / 1.274 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002834/0.7389, allocations: 1.456 MB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004671/0.7436, allocations: 2.927 MB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.463e-05/0.7436, allocations: 0 / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.992e-05/0.7437, allocations: 7.922 kB / 1.278 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.225e-05/0.7437, allocations: 7.875 kB / 1.278 GB, free: 92 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003985/0.7477, allocations: 1.609 MB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.267e-05/0.7478, allocations: 43.73 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.688e-05/0.7478, allocations: 4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.306e-05/0.7479, allocations: 23.91 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.036e-05/0.7479, allocations: 15.88 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.916e-06/0.7479, allocations: 0 / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.7503, allocations: 1.576 MB / 1.282 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.7503, allocations: 4 kB / 1.282 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.7503, allocations: 19.88 kB / 1.282 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.7519, allocations: 1.122 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7519, allocations: 0 / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7519, allocations: 0 / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7519, allocations: 0 / 1.283 GB, free: 11.69 MB / 0.9825 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.0006878/0.7526, allocations: 0.5285 MB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.7526, allocations: 8.031 kB / 1.283 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.744e-05/0.7527, allocations: 84.17 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.7529, allocations: 251.6 kB / 1.284 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.758e-05/0.753, allocations: 154.9 kB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.912e-05/0.753, allocations: 150.9 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.7531, allocations: 113.1 kB / 1.284 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.7532, allocations: 75.28 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.7532, allocations: 154.6 kB / 1.284 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.7533, allocations: 150.6 kB / 1.284 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.036e-05/0.7534, allocations: 158.5 kB / 1.284 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.7537, allocations: 469.8 kB / 1.285 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.7538, allocations: 169.1 kB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.894e-05/0.7539, allocations: 80.14 kB / 1.285 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.7539, allocations: 79.28 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.754, allocations: 109.8 kB / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.754, allocations: 0 / 1.285 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 8.088e-05/0.7541, allocations: 37.64 kB / 1.285 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.7541, allocations: 126.7 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/0.7543, allocations: 135.8 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.7543, allocations: 25.7 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.7544, allocations: 96.12 kB / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.7544, allocations: 0 / 1.286 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.7544, allocations: 17.72 kB / 1.286 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.7545, allocations: 322.8 kB / 1.286 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.327e-05/0.7546, allocations: 4 kB / 1.286 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.377e-05/0.7546, allocations: 4.031 kB / 1.286 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.7546, allocations: 20.89 kB / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7546, allocations: 0 / 1.286 GB, free: 8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000133/0.7548, allocations: 61.52 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.7548, allocations: 4 kB / 1.286 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7548, allocations: 4 kB / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.7548, allocations: 0 / 1.286 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.7548, allocations: 3.938 kB / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.7548, allocations: 0 / 1.286 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.256e-05/0.7548, allocations: 3.938 kB / 1.286 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.7548, allocations: 8.062 kB / 1.286 GB, free: 7.91 MB / 0.9825 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.0001156/0.755, allocations: 185.7 kB / 1.286 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.755, allocations: 116.9 kB / 1.286 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.715e-05/0.7551, allocations: 120.8 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.936e-05/0.7552, allocations: 180.3 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.551e-05/0.7553, allocations: 180.2 kB / 1.287 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-05/0.7554, allocations: 180.3 kB / 1.287 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.7557, allocations: 421.2 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.008e-05/0.7557, allocations: 108.9 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.15e-05/0.7558, allocations: 101 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.438e-05/0.7558, allocations: 180.2 kB / 1.288 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-05/0.7559, allocations: 184.3 kB / 1.288 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.574e-05/0.756, allocations: 184.3 kB / 1.288 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.712e-05/0.7561, allocations: 184.2 kB / 1.288 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001669/0.7563, allocations: 307.7 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.7564, allocations: 186 kB / 1.289 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/0.7564, allocations: 184.3 kB / 1.289 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.7565, allocations: 108.9 kB / 1.289 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/0.7566, allocations: 176.3 kB / 1.289 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.104e-05/0.7567, allocations: 104.9 kB / 1.289 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.7568, allocations: 105.5 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.7568, allocations: 0 / 1.29 GB, free: 4.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007392/0.7575, allocations: 287 kB / 1.29 GB, free: 3.988 MB / 0.9825 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.001096/0.7586, allocations: 0.542 MB / 1.29 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.7587, allocations: 33.7 kB / 1.29 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7587, allocations: 4 kB / 1.29 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.7587, allocations: 4.062 kB / 1.29 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004685/0.7592, allocations: 471.5 kB / 1.291 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.7595, allocations: 247.9 kB / 1.291 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.7599, allocations: 0.6885 MB / 1.292 GB, free: 1.938 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.172e-05/0.7599, allocations: 4 kB / 1.292 GB, free: 1.934 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.231e-05/0.7599, allocations: 7.438 kB / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.7599, allocations: 0 / 1.292 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of Templates: time 0.01048/0.7704, allocations: 5.651 MB / 1.297 GB, free: 12.33 MB / 0.9981 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.682639215141535]