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.InternalResistancesTwoUTube.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007733/0.007733, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001411/0.001411, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.689/2.689, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 67.84 kB / 1.019 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.3589, allocations: 151.6 MB / 1.167 GB, free: 6.797 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002481/0.3614, allocations: 1.444 MB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004185/0.3656, allocations: 2.895 MB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.3656, allocations: 0 / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.3657, allocations: 3.938 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.3658, allocations: 15.84 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.00384/0.3696, allocations: 1.604 MB / 1.173 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.687e-05/0.3697, allocations: 43.67 kB / 1.173 GB, free: 0.7734 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.077e-05/0.3698, allocations: 4 kB / 1.173 GB, free: 0.7695 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.844e-05/0.3698, allocations: 11.94 kB / 1.173 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 3.143e-05/0.3698, allocations: 19.92 kB / 1.173 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.3699, allocations: 0 / 1.173 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002048/0.3719, allocations: 1.537 MB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.3719, allocations: 7.938 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.325e-05/0.372, allocations: 19.88 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.3734, allocations: 1.113 MB / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3734, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3734, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.873e-06/0.3734, allocations: 0 / 1.175 GB, free: 14.06 MB / 0.9356 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.000644/0.3741, allocations: 0.5363 MB / 1.176 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3741, allocations: 8.031 kB / 1.176 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.891e-05/0.3742, allocations: 88.17 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.3744, allocations: 247.6 kB / 1.176 GB, free: 13.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.302e-05/0.3745, allocations: 154.9 kB / 1.176 GB, free: 12.95 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.922e-05/0.3745, allocations: 150.9 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.973e-05/0.3746, allocations: 109.1 kB / 1.176 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.3746, allocations: 75.28 kB / 1.177 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.436e-05/0.3747, allocations: 150.6 kB / 1.177 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-05/0.3747, allocations: 154.6 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.981e-05/0.3748, allocations: 154.5 kB / 1.177 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003075/0.3751, allocations: 473.8 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.688e-05/0.3752, allocations: 169.1 kB / 1.178 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.477e-05/0.3753, allocations: 80.14 kB / 1.178 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3753, allocations: 75.28 kB / 1.178 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.3753, allocations: 113.8 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3753, allocations: 0 / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.053e-05/0.3754, allocations: 37.59 kB / 1.178 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.3755, allocations: 126.7 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3756, allocations: 136 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.3757, allocations: 25.7 kB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.439e-05/0.3757, allocations: 96.08 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.3757, allocations: 0 / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3758, allocations: 21.72 kB / 1.178 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3759, allocations: 318.9 kB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.577e-05/0.3759, allocations: 4 kB / 1.179 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.976e-05/0.376, allocations: 8 kB / 1.179 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.023e-05/0.376, allocations: 20.86 kB / 1.179 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.376, allocations: 0 / 1.179 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001336/0.3761, allocations: 57.56 kB / 1.179 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3762, allocations: 4 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.3762, allocations: 4 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.3762, allocations: 4.062 kB / 1.179 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.224e-06/0.3762, allocations: 4 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3762, allocations: 0 / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.3763, allocations: 3.953 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.3763, allocations: 0 / 1.179 GB, free: 10.28 MB / 0.9356 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.0001067/0.3764, allocations: 189.1 kB / 1.179 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.295e-05/0.3765, allocations: 112.9 kB / 1.179 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.3765, allocations: 116.8 kB / 1.179 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.393e-05/0.3766, allocations: 180.3 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.846e-05/0.3767, allocations: 184.2 kB / 1.179 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-05/0.3767, allocations: 180.3 kB / 1.18 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3769, allocations: 409.2 kB / 1.18 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-05/0.377, allocations: 112.9 kB / 1.18 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.967e-05/0.377, allocations: 105 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.105e-05/0.3771, allocations: 184.2 kB / 1.18 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.469e-05/0.3772, allocations: 180.2 kB / 1.181 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.153e-05/0.3772, allocations: 184.2 kB / 1.181 GB, free: 8.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.923e-05/0.3773, allocations: 180.2 kB / 1.181 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.3774, allocations: 307.8 kB / 1.181 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/0.3775, allocations: 194 kB / 1.181 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.3776, allocations: 180.3 kB / 1.182 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.579e-05/0.3777, allocations: 104.9 kB / 1.182 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.663e-05/0.3777, allocations: 176.3 kB / 1.182 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.3778, allocations: 112.9 kB / 1.182 GB, free: 6.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.758e-05/0.3778, allocations: 105.4 kB / 1.182 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3779, allocations: 0 / 1.182 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007292/0.3786, allocations: 291 kB / 1.182 GB, free: 6.344 MB / 0.9356 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.001025/0.3796, allocations: 0.5441 MB / 1.183 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.3797, allocations: 37.7 kB / 1.183 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3797, allocations: 0 / 1.183 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3797, allocations: 0 / 1.183 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.3801, allocations: 471.5 kB / 1.183 GB, free: 5.281 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3804, allocations: 235.9 kB / 1.184 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3807, allocations: 0.6846 MB / 1.184 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.311e-05/0.3807, allocations: 3.938 kB / 1.184 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.3807, allocations: 11.44 kB / 1.184 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.3807, allocations: 0 / 1.184 GB, free: 4.297 MB / 0.9356 GB Notification: Performance of Templates: time 0.008802/0.3896, allocations: 5.628 MB / 1.19 GB, free: 14.72 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches