Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.002128/0.002128, allocations: 101.2 kB / 16.45 MB, free: 6.516 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.001412/0.001412, allocations: 199.8 kB / 19.41 MB, free: 3.664 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.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.082/3.082, allocations: 496.1 MB / 0.7801 GB, free: 33.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.11 kB / 1.133 GB, free: 34.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 173.7 MB / 1.303 GB, free: 2.602 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003123/0.3377, allocations: 1.437 MB / 1.304 GB, free: 1.152 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.3428, allocations: 2.863 MB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.3428, allocations: 0 / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.417e-05/0.3429, allocations: 3.984 kB / 1.307 GB, free: 14.27 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.75e-05/0.343, allocations: 23.8 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004605/0.3476, allocations: 1.573 MB / 1.309 GB, free: 12.68 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3477, allocations: 47.67 kB / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 3.685e-05/0.3477, allocations: 0 / 1.309 GB, free: 12.63 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.717e-05/0.3477, allocations: 11.94 kB / 1.309 GB, free: 12.62 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.293e-05/0.3478, allocations: 19.92 kB / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.998e-06/0.3478, allocations: 0 / 1.309 GB, free: 12.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.3503, allocations: 1.529 MB / 1.31 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.278e-05/0.3503, allocations: 7.938 kB / 1.31 GB, free: 11.06 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.3503, allocations: 23.86 kB / 1.31 GB, free: 11.04 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001888/0.3522, allocations: 1.089 MB / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.3522, allocations: 0 / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3522, allocations: 0 / 1.311 GB, free: 9.949 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3522, allocations: 0 / 1.311 GB, free: 9.949 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.0007353/0.3529, allocations: 0.5247 MB / 1.312 GB, free: 9.375 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.353, allocations: 11.97 kB / 1.312 GB, free: 9.363 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.289e-05/0.3531, allocations: 88.17 kB / 1.312 GB, free: 9.277 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002103/0.3533, allocations: 260.9 kB / 1.312 GB, free: 8.984 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.738e-05/0.3534, allocations: 150.9 kB / 1.312 GB, free: 8.836 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.694e-05/0.3534, allocations: 150.9 kB / 1.312 GB, free: 8.688 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.3535, allocations: 113 kB / 1.312 GB, free: 8.57 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.656e-05/0.3536, allocations: 75.28 kB / 1.313 GB, free: 8.496 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.751e-05/0.3536, allocations: 162.6 kB / 1.313 GB, free: 8.336 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-05/0.3537, allocations: 150.6 kB / 1.313 GB, free: 8.188 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.65e-05/0.3538, allocations: 150.6 kB / 1.313 GB, free: 8.039 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004103/0.3542, allocations: 461.9 kB / 1.313 GB, free: 7.539 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.3543, allocations: 169.1 kB / 1.314 GB, free: 7.363 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.3544, allocations: 84.14 kB / 1.314 GB, free: 7.277 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.3544, allocations: 75.28 kB / 1.314 GB, free: 7.203 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.3545, allocations: 109.8 kB / 1.314 GB, free: 7.086 MB / 1.014 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3545, allocations: 0 / 1.314 GB, free: 7.086 MB / 1.014 GB Notification: Performance of matching and sorting (n=0): time 7.652e-05/0.3545, allocations: 37.64 kB / 1.314 GB, free: 7.043 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.983e-05/0.3546, allocations: 130.7 kB / 1.314 GB, free: 6.902 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001665/0.3548, allocations: 135.6 kB / 1.314 GB, free: 6.762 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3548, allocations: 25.7 kB / 1.314 GB, free: 6.73 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.614e-05/0.3549, allocations: 96.08 kB / 1.314 GB, free: 6.633 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-06/0.3549, allocations: 0 / 1.314 GB, free: 6.633 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3549, allocations: 13.72 kB / 1.314 GB, free: 6.613 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001755/0.3551, allocations: 322.8 kB / 1.315 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.3551, allocations: 4 kB / 1.315 GB, free: 6.285 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.3551, allocations: 0 / 1.315 GB, free: 6.285 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.392e-05/0.3552, allocations: 20.89 kB / 1.315 GB, free: 6.262 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3552, allocations: 0 / 1.315 GB, free: 6.262 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001552/0.3554, allocations: 53.58 kB / 1.315 GB, free: 6.203 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3554, allocations: 4 kB / 1.315 GB, free: 6.199 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.3554, allocations: 4.047 kB / 1.315 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.3554, allocations: 3.984 kB / 1.315 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.122e-06/0.3554, allocations: 3.938 kB / 1.315 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3554, allocations: 0 / 1.315 GB, free: 6.188 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.509e-05/0.3554, allocations: 7.938 kB / 1.315 GB, free: 6.18 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3554, allocations: 0 / 1.315 GB, free: 6.18 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.0001163/0.3556, allocations: 189.1 kB / 1.315 GB, free: 5.984 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.3556, allocations: 112.9 kB / 1.315 GB, free: 5.867 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.3557, allocations: 112.9 kB / 1.315 GB, free: 5.75 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-05/0.3558, allocations: 184.2 kB / 1.315 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.675e-05/0.3559, allocations: 180.2 kB / 1.315 GB, free: 5.379 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.67e-05/0.356, allocations: 184.2 kB / 1.316 GB, free: 5.191 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.3562, allocations: 413.2 kB / 1.316 GB, free: 4.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.695e-05/0.3563, allocations: 108.9 kB / 1.316 GB, free: 4.617 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.685e-05/0.3564, allocations: 105 kB / 1.316 GB, free: 4.508 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-05/0.3564, allocations: 184.2 kB / 1.316 GB, free: 4.32 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/0.3565, allocations: 180.2 kB / 1.316 GB, free: 4.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.538e-05/0.3566, allocations: 180.3 kB / 1.317 GB, free: 3.953 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.558e-05/0.3567, allocations: 184.2 kB / 1.317 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.3569, allocations: 311.8 kB / 1.317 GB, free: 3.438 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.357, allocations: 189.9 kB / 1.317 GB, free: 3.227 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3571, allocations: 184.3 kB / 1.317 GB, free: 3.039 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3573, allocations: 104.9 kB / 1.318 GB, free: 2.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.3574, allocations: 188.2 kB / 1.318 GB, free: 2.738 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.51e-05/0.3574, allocations: 101 kB / 1.318 GB, free: 2.633 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.651e-05/0.3575, allocations: 101.5 kB / 1.318 GB, free: 2.535 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3575, allocations: 3.938 kB / 1.318 GB, free: 2.531 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0007372/0.3582, allocations: 283 kB / 1.318 GB, free: 2.254 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.001296/0.3595, allocations: 0.5246 MB / 1.319 GB, free: 1.719 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3596, allocations: 37.7 kB / 1.319 GB, free: 1.676 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.3596, allocations: 0 / 1.319 GB, free: 1.676 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.3597, allocations: 0 / 1.319 GB, free: 1.676 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3601, allocations: 471.6 kB / 1.319 GB, free: 1.211 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.3605, allocations: 232.1 kB / 1.319 GB, free: 0.957 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.3609, allocations: 0.6807 MB / 1.32 GB, free: 256 kB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.739e-05/0.3609, allocations: 7.938 kB / 1.32 GB, free: 248 kB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.3609, allocations: 11.44 kB / 1.32 GB, free: 236 kB / 1.014 GB Notification: Performance of SimCode: time 3.61e-07/0.3609, allocations: 0 / 1.32 GB, free: 236 kB / 1.014 GB Notification: Performance of Templates: time 0.01181/0.3727, allocations: 5.48 MB / 1.325 GB, free: 10.8 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.97373335249722]