Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001745/0.001746, allocations: 113.5 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.00189/0.00189, allocations: 191.4 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.747/1.747, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.555/2.555, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 64.31 kB / 0.8708 GB, free: 1.449 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3321, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002541/0.3346, allocations: 1.434 MB / 1.02 GB, free: 8.398 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004043/0.3387, allocations: 2.862 MB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.3388, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.3389, allocations: 3.938 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.727e-05/0.3389, allocations: 23.78 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003707/0.3427, allocations: 1.558 MB / 1.025 GB, free: 3.949 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.463e-05/0.3428, allocations: 35.73 kB / 1.025 GB, free: 3.914 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.3428, allocations: 19.91 kB / 1.025 GB, free: 3.895 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.64e-05/0.3428, allocations: 11.94 kB / 1.025 GB, free: 3.883 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 2.643e-05/0.3429, allocations: 11.88 kB / 1.025 GB, free: 3.871 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.3429, allocations: 8 kB / 1.025 GB, free: 3.863 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.345, allocations: 1.482 MB / 1.026 GB, free: 2.379 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.345, allocations: 4 kB / 1.026 GB, free: 2.375 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.3451, allocations: 23.86 kB / 1.026 GB, free: 2.352 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.3465, allocations: 1.086 MB / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.3465, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3465, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.041e-06/0.3465, allocations: 0 / 1.027 GB, free: 1.266 MB / 0.795 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.0005528/0.3471, allocations: 0.503 MB / 1.028 GB, free: 0.7148 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3471, allocations: 12.92 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.3472, allocations: 88.06 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001522/0.3474, allocations: 251.5 kB / 1.028 GB, free: 340 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.068e-05/0.3474, allocations: 154.9 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.3475, allocations: 150.9 kB / 1.028 GB, free: 32 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.603e-05/0.3476, allocations: 109.3 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.3476, allocations: 79.22 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.685e-05/0.3476, allocations: 154.5 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.851e-05/0.3477, allocations: 154.6 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.895e-05/0.3478, allocations: 150.6 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.3481, allocations: 465.9 kB / 1.029 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.655e-05/0.3482, allocations: 177.2 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.135e-05/0.3482, allocations: 88.08 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3483, allocations: 75.28 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.3483, allocations: 109.8 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3483, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 7.372e-05/0.3484, allocations: 37.55 kB / 1.03 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.3485, allocations: 130.7 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3486, allocations: 132.3 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3486, allocations: 25.7 kB / 1.03 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.751e-05/0.3487, allocations: 92.12 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-06/0.3487, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.3487, allocations: 17.72 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3489, allocations: 318.8 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.634e-05/0.3489, allocations: 11.94 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.3489, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.66e-05/0.3489, allocations: 8.859 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.349, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000125/0.3491, allocations: 57.53 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3491, allocations: 4 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3491, allocations: 4 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3491, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.3492, allocations: 4.062 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3492, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.3492, allocations: 3.938 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.3492, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 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.0001036/0.3493, allocations: 193 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.136e-05/0.3494, allocations: 120.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.9e-05/0.3494, allocations: 104.9 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.036e-05/0.3495, allocations: 184.2 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-05/0.3496, allocations: 184.2 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.341e-05/0.3497, allocations: 180.2 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3499, allocations: 413.2 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.041e-05/0.35, allocations: 101 kB / 1.032 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.65e-05/0.35, allocations: 108.9 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.417e-05/0.3501, allocations: 184.2 kB / 1.032 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.238e-05/0.3502, allocations: 180.2 kB / 1.032 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-05/0.3502, allocations: 184.3 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.759e-05/0.3503, allocations: 176.3 kB / 1.033 GB, free: 11.11 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.3504, allocations: 315.7 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.885e-05/0.3505, allocations: 194 kB / 1.033 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.846e-05/0.3506, allocations: 176.3 kB / 1.033 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.3507, allocations: 101 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.3508, allocations: 188.2 kB / 1.034 GB, free: 10.08 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.894e-05/0.3508, allocations: 105 kB / 1.034 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.312e-05/0.3509, allocations: 110 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3509, allocations: 0 / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007967/0.3517, allocations: 275.8 kB / 1.034 GB, free: 9.598 MB / 0.8106 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.3528, allocations: 0.5214 MB / 1.035 GB, free: 9.062 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.3529, allocations: 41.64 kB / 1.035 GB, free: 9.016 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3529, allocations: 4.062 kB / 1.035 GB, free: 9.012 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.3529, allocations: 4 kB / 1.035 GB, free: 9.008 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.3533, allocations: 455.7 kB / 1.035 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.3537, allocations: 240 kB / 1.035 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/0.3539, allocations: 0.6846 MB / 1.036 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.354, allocations: 0 / 1.036 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.275e-05/0.354, allocations: 11.44 kB / 1.036 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.354, allocations: 0 / 1.036 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of Templates: time 0.009377/0.3634, allocations: 5.458 MB / 1.041 GB, free: 2.164 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches