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.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.001369/0.001369, allocations: 101.8 kB / 18.83 MB, free: 3.023 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.001448/0.001448, allocations: 193.5 kB / 22.1 MB, free: 4.625 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.436/1.436, allocations: 225.6 MB / 250.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.203/3.203, allocations: 495.8 MB / 0.783 GB, free: 33.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 75.97 kB / 1.137 GB, free: 33.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4316, allocations: 173.6 MB / 1.307 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003021/0.4347, allocations: 1.466 MB / 1.308 GB, free: 336 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005354/0.44, allocations: 2.933 MB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.42e-05/0.4401, allocations: 4 kB / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.4401, allocations: 0 / 1.311 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.723e-05/0.4402, allocations: 23.78 kB / 1.311 GB, free: 13.35 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004419/0.4446, allocations: 1.635 MB / 1.313 GB, free: 11.73 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.4447, allocations: 43.73 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4447, allocations: 11.98 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.594e-05/0.4448, allocations: 19.92 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.353e-05/0.4448, allocations: 15.88 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.4448, allocations: 4 kB / 1.313 GB, free: 11.64 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002664/0.4475, allocations: 1.564 MB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.4475, allocations: 4 kB / 1.314 GB, free: 10.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.4476, allocations: 19.86 kB / 1.314 GB, free: 10.05 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.4492, allocations: 1.085 MB / 1.315 GB, free: 8.961 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4492, allocations: 0 / 1.315 GB, free: 8.961 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.4492, allocations: 0 / 1.315 GB, free: 8.961 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4492, allocations: 0 / 1.315 GB, free: 8.961 MB / 1.014 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.0007304/0.4499, allocations: 472.1 kB / 1.316 GB, free: 8.469 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.45, allocations: 12.03 kB / 1.316 GB, free: 8.457 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.45, allocations: 84.11 kB / 1.316 GB, free: 8.375 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.4502, allocations: 193.7 kB / 1.316 GB, free: 8.16 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.332e-05/0.4503, allocations: 154.9 kB / 1.316 GB, free: 8.008 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.4504, allocations: 154.9 kB / 1.316 GB, free: 7.855 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.4505, allocations: 113 kB / 1.317 GB, free: 7.738 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.747e-05/0.4506, allocations: 75.28 kB / 1.317 GB, free: 7.664 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/0.4507, allocations: 154.5 kB / 1.317 GB, free: 7.512 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.199e-05/0.4508, allocations: 150.6 kB / 1.317 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4509, allocations: 158.5 kB / 1.317 GB, free: 7.207 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.4514, allocations: 441 kB / 1.318 GB, free: 6.734 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4515, allocations: 165.1 kB / 1.318 GB, free: 6.562 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.224e-05/0.4515, allocations: 80.14 kB / 1.318 GB, free: 6.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.4516, allocations: 75.28 kB / 1.318 GB, free: 6.406 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.495e-05/0.4516, allocations: 113.8 kB / 1.318 GB, free: 6.285 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4516, allocations: 4 kB / 1.318 GB, free: 6.281 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 9.784e-05/0.4517, allocations: 37.59 kB / 1.318 GB, free: 6.238 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.298e-05/0.4518, allocations: 126.7 kB / 1.318 GB, free: 6.102 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.452, allocations: 135.9 kB / 1.318 GB, free: 5.961 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.452, allocations: 25.7 kB / 1.318 GB, free: 5.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.4521, allocations: 88.12 kB / 1.318 GB, free: 5.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.4521, allocations: 0 / 1.318 GB, free: 5.84 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.4521, allocations: 21.72 kB / 1.318 GB, free: 5.812 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.4523, allocations: 318.8 kB / 1.319 GB, free: 5.492 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.689e-05/0.4523, allocations: 8 kB / 1.319 GB, free: 5.484 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.4523, allocations: 4 kB / 1.319 GB, free: 5.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.428e-05/0.4523, allocations: 16.8 kB / 1.319 GB, free: 5.461 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4523, allocations: 0 / 1.319 GB, free: 5.461 MB / 1.014 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001514/0.4525, allocations: 57.58 kB / 1.319 GB, free: 5.398 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4525, allocations: 4 kB / 1.319 GB, free: 5.395 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.4525, allocations: 4 kB / 1.319 GB, free: 5.391 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.4525, allocations: 3.938 kB / 1.319 GB, free: 5.387 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.4525, allocations: 4.062 kB / 1.319 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4526, allocations: 0 / 1.319 GB, free: 5.383 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.521e-05/0.4526, allocations: 7.938 kB / 1.319 GB, free: 5.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.4526, allocations: 3.984 kB / 1.319 GB, free: 5.371 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.0001265/0.4527, allocations: 191.6 kB / 1.319 GB, free: 5.176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.4528, allocations: 116.8 kB / 1.319 GB, free: 5.055 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.4529, allocations: 112.8 kB / 1.319 GB, free: 4.938 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.604e-05/0.453, allocations: 180.3 kB / 1.319 GB, free: 4.754 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-05/0.4531, allocations: 184.3 kB / 1.32 GB, free: 4.566 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001018/0.4532, allocations: 176.3 kB / 1.32 GB, free: 4.387 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.4534, allocations: 396.3 kB / 1.32 GB, free: 3.949 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001318/0.4536, allocations: 108.9 kB / 1.32 GB, free: 3.836 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.051e-05/0.4536, allocations: 101 kB / 1.32 GB, free: 3.73 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.403e-05/0.4537, allocations: 184.2 kB / 1.32 GB, free: 3.543 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.4538, allocations: 176.3 kB / 1.321 GB, free: 3.363 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.252e-05/0.4539, allocations: 196.1 kB / 1.321 GB, free: 3.164 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.579e-05/0.454, allocations: 176.3 kB / 1.321 GB, free: 2.984 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4542, allocations: 307.7 kB / 1.321 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.42e-05/0.4543, allocations: 116.9 kB / 1.321 GB, free: 2.539 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001284/0.4544, allocations: 184.2 kB / 1.322 GB, free: 2.352 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.8e-05/0.4545, allocations: 101 kB / 1.322 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.4546, allocations: 180.3 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/0.4547, allocations: 104.9 kB / 1.322 GB, free: 1.953 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.717e-05/0.4548, allocations: 111.2 kB / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4548, allocations: 0 / 1.322 GB, free: 1.844 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0008996/0.4557, allocations: 279 kB / 1.322 GB, free: 1.57 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.001181/0.4569, allocations: 0.544 MB / 1.323 GB, free: 1.016 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001184/0.457, allocations: 41.7 kB / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.457, allocations: 0 / 1.323 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.457, allocations: 3.938 kB / 1.323 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.4575, allocations: 465.2 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003797/0.4578, allocations: 244.7 kB / 1.324 GB, free: 244 kB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.4582, allocations: 0.6807 MB / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.297e-05/0.4583, allocations: 0 / 1.324 GB, free: 15.53 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.4583, allocations: 7.438 kB / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4583, allocations: 0 / 1.324 GB, free: 15.52 MB / 1.029 GB Notification: Performance of Templates: time 0.01128/0.4696, allocations: 5.658 MB / 1.33 GB, free: 9.922 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.491683660075068]