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.InternalResistancesOneUTube.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.001827/0.001827, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002302/0.002302, allocations: 210.1 kB / 22.99 MB, free: 4.984 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.165/3.165, allocations: 0.49 GB / 0.7959 GB, free: 35.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002009/0.002009, allocations: 65.91 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3066, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002582/0.3092, allocations: 1.438 MB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004517/0.3137, allocations: 2.65 MB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.097e-05/0.3138, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.069e-05/0.3138, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.3139, allocations: 15.84 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.3179, allocations: 1.626 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.818e-05/0.318, allocations: 47.67 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.3181, allocations: 0 / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.928e-05/0.3181, allocations: 15.92 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.734e-05/0.3181, allocations: 11.94 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.3181, allocations: 4 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002463/0.3206, allocations: 1.556 MB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.3206, allocations: 7.938 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.3206, allocations: 15.92 kB / 1.334 GB, free: 9.551 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3222, allocations: 1.079 MB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3222, allocations: 0 / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.887e-06/0.3222, allocations: 4 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3222, allocations: 0 / 1.335 GB, free: 8.465 MB / 1.029 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.0006339/0.3228, allocations: 468 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3229, allocations: 12.03 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.327e-05/0.3229, allocations: 88.16 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3231, allocations: 187.7 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.107e-05/0.3232, allocations: 154.9 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.78e-05/0.3232, allocations: 150.9 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.468e-05/0.3233, allocations: 109.1 kB / 1.337 GB, free: 7.258 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.518e-05/0.3233, allocations: 79.27 kB / 1.337 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.489e-05/0.3234, allocations: 154.6 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-05/0.3235, allocations: 150.6 kB / 1.337 GB, free: 6.879 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.207e-05/0.3235, allocations: 150.6 kB / 1.337 GB, free: 6.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.3238, allocations: 429.4 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.3239, allocations: 165.1 kB / 1.338 GB, free: 6.109 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.923e-05/0.324, allocations: 80.14 kB / 1.338 GB, free: 6.027 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.324, allocations: 75.28 kB / 1.338 GB, free: 5.953 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.3241, allocations: 109.8 kB / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.3241, allocations: 0 / 1.338 GB, free: 5.836 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.262e-05/0.3241, allocations: 41.53 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.3242, allocations: 126.7 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.3244, allocations: 131.7 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/0.3244, allocations: 25.7 kB / 1.338 GB, free: 5.484 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.3244, allocations: 96.12 kB / 1.338 GB, free: 5.387 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-06/0.3244, allocations: 4 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/0.3245, allocations: 13.72 kB / 1.338 GB, free: 5.363 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3246, allocations: 322.9 kB / 1.339 GB, free: 5.039 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.271e-05/0.3246, allocations: 4 kB / 1.339 GB, free: 5.035 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.3246, allocations: 7.938 kB / 1.339 GB, free: 5.027 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.771e-05/0.3247, allocations: 12.86 kB / 1.339 GB, free: 5.012 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3247, allocations: 4 kB / 1.339 GB, free: 5.008 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001344/0.3248, allocations: 53.52 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.3248, allocations: 7.938 kB / 1.339 GB, free: 4.941 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.3249, allocations: 8 kB / 1.339 GB, free: 4.934 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3249, allocations: 4.062 kB / 1.339 GB, free: 4.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.3249, allocations: 4 kB / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3249, allocations: 0 / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.3249, allocations: 0 / 1.339 GB, free: 4.926 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.3249, allocations: 4 kB / 1.339 GB, free: 4.922 MB / 1.029 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.0001068/0.325, allocations: 181.1 kB / 1.339 GB, free: 4.734 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.909e-05/0.3251, allocations: 112.9 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.846e-05/0.3252, allocations: 116.7 kB / 1.339 GB, free: 4.488 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.3252, allocations: 180.3 kB / 1.339 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-05/0.3253, allocations: 180.2 kB / 1.339 GB, free: 4.121 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.8e-05/0.3254, allocations: 184.3 kB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.3256, allocations: 364.8 kB / 1.34 GB, free: 3.539 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/0.3257, allocations: 104.9 kB / 1.34 GB, free: 3.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.3257, allocations: 101 kB / 1.34 GB, free: 3.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.97e-05/0.3258, allocations: 184.2 kB / 1.34 GB, free: 3.137 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.881e-05/0.3259, allocations: 184.2 kB / 1.341 GB, free: 2.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.458e-05/0.326, allocations: 176.3 kB / 1.341 GB, free: 2.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.179e-05/0.326, allocations: 188.2 kB / 1.341 GB, free: 2.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001627/0.3262, allocations: 307.7 kB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.506e-05/0.3263, allocations: 105 kB / 1.341 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.509e-05/0.3264, allocations: 188.2 kB / 1.341 GB, free: 1.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.39e-05/0.3264, allocations: 112.9 kB / 1.342 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.642e-05/0.3265, allocations: 176.3 kB / 1.342 GB, free: 1.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.3266, allocations: 108.9 kB / 1.342 GB, free: 1.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.482e-05/0.3266, allocations: 95.27 kB / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3266, allocations: 0 / 1.342 GB, free: 1.449 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007959/0.3274, allocations: 291 kB / 1.342 GB, free: 1.164 MB / 1.029 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.001094/0.3285, allocations: 0.5454 MB / 1.343 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.3286, allocations: 37.7 kB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3286, allocations: 0 / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-06/0.3286, allocations: 4 kB / 1.343 GB, free: 0.5625 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/0.3291, allocations: 461 kB / 1.343 GB, free: 112 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003627/0.3295, allocations: 241.2 kB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.3295, allocations: 67.28 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.424e-05/0.3295, allocations: 8.062 kB / 1.343 GB, free: 15.75 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.3295, allocations: 7.438 kB / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3295, allocations: 0 / 1.343 GB, free: 15.74 MB / 1.045 GB Notification: Performance of Templates: time 0.01037/0.3399, allocations: 5.764 MB / 1.349 GB, free: 10.03 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.85993386899645]