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.001819/0.001819, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.002149/0.002149, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.503/1.503, allocations: 230.5 MB / 252.8 MB, free: 9.133 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.241/3.241, allocations: 0.4899 GB / 0.7915 GB, free: 33.49 MB / 0.6231 GB " [Timeout remaining time 176] 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.002051/0.002051, allocations: 68.81 kB / 1.149 GB, free: 26.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 176.1 MB / 1.321 GB, free: 2.793 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00263/0.3308, allocations: 1.468 MB / 1.323 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004631/0.3354, allocations: 2.93 MB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.427e-05/0.3354, allocations: 0 / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.3355, allocations: 3.938 kB / 1.326 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.765e-05/0.3355, allocations: 19.84 kB / 1.326 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.003978/0.3395, allocations: 1.642 MB / 1.327 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.831e-05/0.3396, allocations: 39.73 kB / 1.327 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.3396, allocations: 4 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.3397, allocations: 19.86 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 2.839e-05/0.3397, allocations: 19.92 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.927e-06/0.3397, allocations: 0 / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002283/0.342, allocations: 1.548 MB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.342, allocations: 7.938 kB / 1.329 GB, free: 11.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.342, allocations: 15.88 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001536/0.3436, allocations: 1.111 MB / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3436, allocations: 0 / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3436, allocations: 0 / 1.33 GB, free: 9.945 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3436, allocations: 0 / 1.33 GB, free: 9.945 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.0006902/0.3443, allocations: 0.5324 MB / 1.33 GB, free: 9.363 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3443, allocations: 8.031 kB / 1.33 GB, free: 9.355 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.348e-05/0.3444, allocations: 84.17 kB / 1.331 GB, free: 9.273 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.3446, allocations: 251.6 kB / 1.331 GB, free: 8.988 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.753e-05/0.3446, allocations: 154.9 kB / 1.331 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.496e-05/0.3447, allocations: 154.9 kB / 1.331 GB, free: 8.684 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/0.3448, allocations: 105.1 kB / 1.331 GB, free: 8.574 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.3448, allocations: 75.28 kB / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.96e-05/0.3449, allocations: 158.5 kB / 1.331 GB, free: 8.344 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.52e-05/0.3449, allocations: 154.6 kB / 1.332 GB, free: 8.191 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.267e-05/0.345, allocations: 154.6 kB / 1.332 GB, free: 8.039 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3453, allocations: 465.9 kB / 1.332 GB, free: 7.535 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.21e-05/0.3454, allocations: 165.1 kB / 1.332 GB, free: 7.363 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.3e-05/0.3455, allocations: 84.08 kB / 1.332 GB, free: 7.277 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3455, allocations: 79.28 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.3456, allocations: 109.8 kB / 1.333 GB, free: 7.082 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.072e-06/0.3456, allocations: 0 / 1.333 GB, free: 7.082 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.994e-05/0.3456, allocations: 37.66 kB / 1.333 GB, free: 7.039 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.3457, allocations: 130.7 kB / 1.333 GB, free: 6.898 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.3459, allocations: 127.4 kB / 1.333 GB, free: 6.766 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.3459, allocations: 25.7 kB / 1.333 GB, free: 6.734 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.3459, allocations: 96.14 kB / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.713e-06/0.3459, allocations: 0 / 1.333 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.346, allocations: 17.66 kB / 1.333 GB, free: 6.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3461, allocations: 322.8 kB / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.514e-05/0.3461, allocations: 0 / 1.333 GB, free: 6.289 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.81e-05/0.3462, allocations: 7.938 kB / 1.333 GB, free: 6.281 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.369e-05/0.3462, allocations: 20.89 kB / 1.333 GB, free: 6.258 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3462, allocations: 3.938 kB / 1.333 GB, free: 6.254 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000134/0.3463, allocations: 57.61 kB / 1.333 GB, free: 6.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.3464, allocations: 5.719 kB / 1.333 GB, free: 6.188 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.3464, allocations: 4 kB / 1.333 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.3464, allocations: 0 / 1.333 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.3464, allocations: 0 / 1.333 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.3464, allocations: 0 / 1.333 GB, free: 6.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.171e-05/0.3464, allocations: 4 kB / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.3464, allocations: 0 / 1.333 GB, free: 6.18 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.0001093/0.3465, allocations: 185.1 kB / 1.334 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.432e-05/0.3466, allocations: 120.9 kB / 1.334 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.3467, allocations: 112.9 kB / 1.334 GB, free: 5.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-05/0.3467, allocations: 180.2 kB / 1.334 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.717e-05/0.3468, allocations: 176.3 kB / 1.334 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.639e-05/0.3469, allocations: 180.2 kB / 1.334 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.3472, allocations: 421.2 kB / 1.335 GB, free: 4.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/0.3472, allocations: 108.9 kB / 1.335 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.3473, allocations: 104.9 kB / 1.335 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.79e-05/0.3473, allocations: 180.3 kB / 1.335 GB, free: 4.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.576e-05/0.3474, allocations: 184.2 kB / 1.335 GB, free: 4.133 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.826e-05/0.3475, allocations: 180.3 kB / 1.335 GB, free: 3.949 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-05/0.3476, allocations: 180.3 kB / 1.336 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.3477, allocations: 307.8 kB / 1.336 GB, free: 3.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.912e-05/0.3478, allocations: 193.9 kB / 1.336 GB, free: 3.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.3479, allocations: 176.3 kB / 1.336 GB, free: 3.047 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.745e-05/0.348, allocations: 109 kB / 1.336 GB, free: 2.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.587e-05/0.3481, allocations: 184.2 kB / 1.337 GB, free: 2.746 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.3481, allocations: 105 kB / 1.337 GB, free: 2.637 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.747e-05/0.3482, allocations: 95.27 kB / 1.337 GB, free: 2.543 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3482, allocations: 0 / 1.337 GB, free: 2.543 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007732/0.349, allocations: 294.9 kB / 1.337 GB, free: 2.254 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.001179/0.3502, allocations: 0.5352 MB / 1.338 GB, free: 1.711 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001025/0.3503, allocations: 41.64 kB / 1.338 GB, free: 1.664 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3503, allocations: 0 / 1.338 GB, free: 1.664 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/0.3503, allocations: 352 / 1.338 GB, free: 1.664 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004609/0.3507, allocations: 469.9 kB / 1.338 GB, free: 1.203 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.3511, allocations: 243.8 kB / 1.338 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.3514, allocations: 0.6846 MB / 1.339 GB, free: 232 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.3514, allocations: 0 / 1.339 GB, free: 232 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.3514, allocations: 11.38 kB / 1.339 GB, free: 220 kB / 1.029 GB Notification: Performance of SimCode: time 7.02e-07/0.3514, allocations: 4 kB / 1.339 GB, free: 216 kB / 1.029 GB Notification: Performance of Templates: time 0.01078/0.3622, allocations: 5.651 MB / 1.344 GB, free: 10.61 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 -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/jenkins/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: 9.121015017852187]