Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001528, allocations: 111.1 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 189.5 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.222/2.222, allocations: 390.3 MB / 0.6655 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.05 kB / 0.8141 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2845, allocations: 140.4 MB / 0.9512 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00306/0.2876, allocations: 1.423 MB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004515/0.2922, allocations: 2.855 MB / 0.9554 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.2922, allocations: 0 / 0.9554 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.599e-05/0.2923, allocations: 7.922 kB / 0.9554 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.821e-05/0.2924, allocations: 11.88 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004291/0.2967, allocations: 1.563 MB / 0.9569 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.2968, allocations: 39.73 kB / 0.9569 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.086e-05/0.2969, allocations: 7.938 kB / 0.957 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.2969, allocations: 11.94 kB / 0.957 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.082e-05/0.2969, allocations: 19.86 kB / 0.957 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.297, allocations: 4 kB / 0.957 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002668/0.2996, allocations: 1.478 MB / 0.9584 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.2997, allocations: 11.98 kB / 0.9584 GB, free: 0.5273 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.2997, allocations: 15.88 kB / 0.9585 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001975/0.3017, allocations: 1.072 MB / 0.9595 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3017, allocations: 0 / 0.9595 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3017, allocations: 0 / 0.9595 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3017, allocations: 0 / 0.9595 GB, free: 15.44 MB / 0.7481 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.0007661/0.3025, allocations: 0.5147 MB / 0.96 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.3026, allocations: 8.031 kB / 0.96 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.486e-05/0.3026, allocations: 88.11 kB / 0.9601 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3028, allocations: 249.7 kB / 0.9603 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.3029, allocations: 158.9 kB / 0.9605 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.3029, allocations: 150.9 kB / 0.9606 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.667e-05/0.303, allocations: 109 kB / 0.9607 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.303, allocations: 75.28 kB / 0.9608 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.184e-05/0.3031, allocations: 150.6 kB / 0.961 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.081e-05/0.3032, allocations: 158.6 kB / 0.9611 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.3032, allocations: 154.6 kB / 0.9612 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002981/0.3035, allocations: 469.8 kB / 0.9617 GB, free: 13.04 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.44e-05/0.3036, allocations: 173.1 kB / 0.9619 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.099e-05/0.3037, allocations: 88.19 kB / 0.9619 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.3037, allocations: 75.28 kB / 0.962 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3038, allocations: 117.8 kB / 0.9621 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.3038, allocations: 0 / 0.9621 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 8.485e-05/0.3039, allocations: 33.61 kB / 0.9622 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.204e-05/0.3039, allocations: 126.7 kB / 0.9623 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3041, allocations: 125.8 kB / 0.9624 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3041, allocations: 29.7 kB / 0.9624 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.3042, allocations: 92.14 kB / 0.9625 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-06/0.3042, allocations: 0 / 0.9625 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.3042, allocations: 17.7 kB / 0.9625 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3043, allocations: 322.8 kB / 0.9628 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.393e-05/0.3044, allocations: 0 / 0.9628 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.3044, allocations: 11.94 kB / 0.9629 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.803e-05/0.3044, allocations: 12.84 kB / 0.9629 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3044, allocations: 8.031 kB / 0.9629 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000127/0.3046, allocations: 49.55 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3046, allocations: 4 kB / 0.9629 GB, free: 11.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.3046, allocations: 4 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3046, allocations: 0 / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.295e-06/0.3046, allocations: 3.984 kB / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3047, allocations: 0 / 0.9629 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.659e-05/0.3047, allocations: 3.938 kB / 0.9629 GB, free: 11.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3047, allocations: 11.92 kB / 0.963 GB, free: 11.67 MB / 0.7481 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 9.96e-05/0.3048, allocations: 185.2 kB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.771e-05/0.3049, allocations: 112.8 kB / 0.9632 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.293e-05/0.3049, allocations: 108.9 kB / 0.9633 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/0.305, allocations: 188.2 kB / 0.9635 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.802e-05/0.3051, allocations: 176.3 kB / 0.9637 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.13e-05/0.3051, allocations: 180.2 kB / 0.9639 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/0.3054, allocations: 417.2 kB / 0.9643 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.109e-05/0.3054, allocations: 104.9 kB / 0.9644 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.3055, allocations: 108.9 kB / 0.9645 GB, free: 10.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-05/0.3055, allocations: 176.3 kB / 0.9646 GB, free: 9.828 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.3056, allocations: 188.1 kB / 0.9648 GB, free: 9.637 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.638e-05/0.3057, allocations: 180.3 kB / 0.965 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.024e-05/0.3058, allocations: 176.3 kB / 0.9651 GB, free: 9.273 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.306, allocations: 319.7 kB / 0.9655 GB, free: 8.938 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.61e-05/0.306, allocations: 186 kB / 0.9656 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.735e-05/0.3061, allocations: 176.3 kB / 0.9658 GB, free: 8.551 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.229e-05/0.3062, allocations: 117 kB / 0.9659 GB, free: 8.43 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.3063, allocations: 180.2 kB / 0.9661 GB, free: 8.246 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.3063, allocations: 105 kB / 0.9662 GB, free: 8.137 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.3064, allocations: 97.92 kB / 0.9663 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3064, allocations: 0 / 0.9663 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007989/0.3072, allocations: 275.8 kB / 0.9665 GB, free: 7.773 MB / 0.7481 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.001251/0.3084, allocations: 0.5175 MB / 0.967 GB, free: 7.246 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001047/0.3086, allocations: 37.64 kB / 0.9671 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3086, allocations: 0 / 0.9671 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.3086, allocations: 0 / 0.9671 GB, free: 7.203 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.309, allocations: 471.7 kB / 0.9675 GB, free: 6.738 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3094, allocations: 251.9 kB / 0.9678 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.3096, allocations: 0.6845 MB / 0.9684 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.758e-05/0.3096, allocations: 0 / 0.9684 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.663e-05/0.3097, allocations: 7.438 kB / 0.9684 GB, free: 5.746 MB / 0.7481 GB Notification: Performance of SimCode: time 7.71e-07/0.3097, allocations: 4 kB / 0.9684 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of Templates: time 0.01031/0.32, allocations: 5.435 MB / 0.9738 GB, free: 364 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches