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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_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.001033/0.001033, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 182 kB / 16.92 MB, free: 6.922 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.465/1.465, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.086/3.086, allocations: 462.7 MB / 0.7371 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000366/0.000366, allocations: 11.2 kB / 0.9035 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.4013, allocations: 159.6 MB / 1.059 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001593/0.4029, allocations: 1.158 MB / 1.061 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004338/0.4073, allocations: 2.911 MB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.038e-05/0.4073, allocations: 0 / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.418e-05/0.4074, allocations: 7.922 kB / 1.063 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.013e-05/0.4075, allocations: 7.922 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.411, allocations: 1.363 MB / 1.065 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.96e-05/0.4111, allocations: 39.73 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.4112, allocations: 8 kB / 1.065 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.729e-05/0.4112, allocations: 15.94 kB / 1.065 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.88e-05/0.4113, allocations: 19.86 kB / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4113, allocations: 0 / 1.065 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00205/0.4133, allocations: 1.431 MB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/0.4134, allocations: 0 / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.914e-05/0.4134, allocations: 45.58 kB / 1.066 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.4144, allocations: 0.7684 MB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4144, allocations: 0 / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4144, allocations: 4 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.4145, allocations: 0 / 1.067 GB, free: 13.06 MB / 0.8262 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.0005775/0.415, allocations: 0.5069 MB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.4151, allocations: 11.97 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.4151, allocations: 76.22 kB / 1.068 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.4153, allocations: 269.2 kB / 1.068 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.4154, allocations: 154.9 kB / 1.068 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.705e-05/0.4155, allocations: 158.9 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.634e-05/0.4155, allocations: 105.1 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/0.4156, allocations: 75.28 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.995e-05/0.4156, allocations: 150.6 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.544e-05/0.4157, allocations: 150.6 kB / 1.069 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.675e-05/0.4157, allocations: 154.6 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.4161, allocations: 469.9 kB / 1.069 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.301e-05/0.4162, allocations: 173.1 kB / 1.069 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.4162, allocations: 80.14 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.4162, allocations: 75.28 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/0.4163, allocations: 113.8 kB / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.4163, allocations: 0 / 1.07 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 8.009e-05/0.4164, allocations: 33.64 kB / 1.07 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.4164, allocations: 126.7 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.4166, allocations: 133.7 kB / 1.07 GB, free: 9.895 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.4166, allocations: 25.7 kB / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.218e-05/0.4166, allocations: 92.12 kB / 1.07 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/0.4167, allocations: 4 kB / 1.07 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.341e-05/0.4167, allocations: 9.719 kB / 1.07 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4168, allocations: 322.8 kB / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.973e-05/0.4168, allocations: 0 / 1.07 GB, free: 9.426 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.4169, allocations: 8 kB / 1.07 GB, free: 9.418 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.711e-05/0.4169, allocations: 16.91 kB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4169, allocations: 0 / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001251/0.417, allocations: 61.41 kB / 1.07 GB, free: 9.332 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4171, allocations: 6.031 kB / 1.07 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.4171, allocations: 8.062 kB / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.4171, allocations: 0 / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.71e-07/0.4171, allocations: 0 / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.4171, allocations: 0 / 1.07 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.4171, allocations: 4 kB / 1.07 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.4172, allocations: 0 / 1.07 GB, free: 9.316 MB / 0.8262 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.0001002/0.4173, allocations: 181.1 kB / 1.071 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.4173, allocations: 112.8 kB / 1.071 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/0.4174, allocations: 124.8 kB / 1.071 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.165e-05/0.4174, allocations: 180.3 kB / 1.071 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.126e-05/0.4175, allocations: 180.2 kB / 1.071 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-05/0.4176, allocations: 176.4 kB / 1.071 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.4178, allocations: 421.2 kB / 1.072 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.032e-05/0.4178, allocations: 112.9 kB / 1.072 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.451e-05/0.4179, allocations: 104.9 kB / 1.072 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.429e-05/0.418, allocations: 184.2 kB / 1.072 GB, free: 7.453 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-05/0.418, allocations: 176.3 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.916e-05/0.4181, allocations: 180.2 kB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-05/0.4182, allocations: 184.2 kB / 1.073 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.4183, allocations: 307.8 kB / 1.073 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.097e-05/0.4184, allocations: 189.9 kB / 1.073 GB, free: 6.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.4184, allocations: 184.3 kB / 1.073 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.4185, allocations: 108.9 kB / 1.073 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.4186, allocations: 180.3 kB / 1.074 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-05/0.4186, allocations: 104.9 kB / 1.074 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.613e-05/0.4187, allocations: 95.27 kB / 1.074 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4187, allocations: 0 / 1.074 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007005/0.4194, allocations: 287.8 kB / 1.074 GB, free: 5.398 MB / 0.8262 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.001029/0.4204, allocations: 0.5097 MB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001054/0.4206, allocations: 45.69 kB / 1.075 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4206, allocations: 0 / 1.075 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-06/0.4206, allocations: 0 / 1.075 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004372/0.421, allocations: 0.5301 MB / 1.075 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004035/0.4214, allocations: 281.4 kB / 1.075 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002389/0.4217, allocations: 0.6809 MB / 1.076 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.581e-05/0.4217, allocations: 11.44 kB / 1.076 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4217, allocations: 0 / 1.076 GB, free: 3.266 MB / 0.8262 GB Notification: Performance of Templates: time 0.009812/0.4315, allocations: 4.64 MB / 1.081 GB, free: 14.63 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) 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/jenkins1/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) Reference file matches