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.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.008486/0.008486, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001621/0.001621, allocations: 193.7 kB / 16.68 MB, free: 5.93 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.578/2.578, allocations: 390.2 MB / 0.6648 GB, free: 148 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 64.09 kB / 0.9509 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3426, allocations: 140.4 MB / 1.088 GB, free: 1.465 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002893/0.3455, allocations: 1.438 MB / 1.089 GB, free: 16 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004534/0.3501, allocations: 2.889 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.541e-05/0.3502, allocations: 8 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.3503, allocations: 3.938 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.3503, allocations: 15.84 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.3545, allocations: 1.585 MB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.672e-05/0.3546, allocations: 39.75 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3547, allocations: 3.984 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.3547, allocations: 15.92 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.889e-05/0.3548, allocations: 19.88 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.3548, allocations: 8 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.3569, allocations: 1.529 MB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.357, allocations: 7.922 kB / 1.095 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.357, allocations: 23.81 kB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.3583, allocations: 1.096 MB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3584, allocations: 4 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.3584, allocations: 0 / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3584, allocations: 0 / 1.096 GB, free: 8.762 MB / 0.8575 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.0005946/0.359, allocations: 0.5185 MB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.359, allocations: 8.031 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.3591, allocations: 84.12 kB / 1.097 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.3593, allocations: 251.5 kB / 1.097 GB, free: 7.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.591e-05/0.3593, allocations: 150.9 kB / 1.097 GB, free: 7.672 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.3594, allocations: 150.9 kB / 1.098 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.127e-05/0.3595, allocations: 113 kB / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.3595, allocations: 79.28 kB / 1.098 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.179e-05/0.3596, allocations: 154.6 kB / 1.098 GB, free: 7.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/0.3596, allocations: 150.6 kB / 1.098 GB, free: 7.027 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.52e-05/0.3597, allocations: 150.6 kB / 1.098 GB, free: 6.879 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.36, allocations: 469.9 kB / 1.099 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.546e-05/0.3601, allocations: 169.1 kB / 1.099 GB, free: 6.195 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.322e-05/0.3601, allocations: 80.14 kB / 1.099 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3602, allocations: 75.28 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/0.3602, allocations: 117.8 kB / 1.099 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.3602, allocations: 4 kB / 1.099 GB, free: 5.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.028e-05/0.3603, allocations: 37.59 kB / 1.099 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.3604, allocations: 130.6 kB / 1.099 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3605, allocations: 131.7 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3606, allocations: 25.7 kB / 1.099 GB, free: 5.559 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3606, allocations: 100 kB / 1.1 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.3606, allocations: 0 / 1.1 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.3607, allocations: 13.72 kB / 1.1 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3608, allocations: 318.8 kB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.751e-05/0.3608, allocations: 11.98 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.83e-05/0.3608, allocations: 4 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.174e-05/0.3609, allocations: 24.84 kB / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3609, allocations: 0 / 1.1 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001352/0.361, allocations: 45.64 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.3611, allocations: 8 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.3611, allocations: 7.922 kB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.3611, allocations: 4 kB / 1.1 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.51e-07/0.3611, allocations: 4.062 kB / 1.1 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3611, allocations: 0 / 1.1 GB, free: 5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.3612, allocations: 3.969 kB / 1.1 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.3612, allocations: 4 kB / 1.1 GB, free: 4.992 MB / 0.8575 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.694e-05/0.3613, allocations: 189.7 kB / 1.1 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.3613, allocations: 108.8 kB / 1.1 GB, free: 4.684 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.683e-05/0.3614, allocations: 120.8 kB / 1.1 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.419e-05/0.3615, allocations: 180.3 kB / 1.101 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.364e-05/0.3615, allocations: 176.3 kB / 1.101 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-05/0.3616, allocations: 184.2 kB / 1.101 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.3618, allocations: 409.2 kB / 1.101 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-05/0.3619, allocations: 116.8 kB / 1.101 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.693e-05/0.3619, allocations: 105 kB / 1.101 GB, free: 3.316 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.922e-05/0.362, allocations: 176.3 kB / 1.102 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.3621, allocations: 180.2 kB / 1.102 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.178e-05/0.3621, allocations: 180.3 kB / 1.102 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.021e-05/0.3622, allocations: 180.2 kB / 1.102 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.3624, allocations: 307.8 kB / 1.102 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.3625, allocations: 193.9 kB / 1.103 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.25e-05/0.3625, allocations: 184.2 kB / 1.103 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.222e-05/0.3626, allocations: 108.9 kB / 1.103 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.3627, allocations: 180.3 kB / 1.103 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.3627, allocations: 105 kB / 1.103 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.3628, allocations: 97.3 kB / 1.103 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3628, allocations: 3.938 kB / 1.103 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006678/0.3635, allocations: 283.8 kB / 1.104 GB, free: 1.078 MB / 0.8575 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.001007/0.3645, allocations: 0.5298 MB / 1.104 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001098/0.3646, allocations: 45.69 kB / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3646, allocations: 0 / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.684e-06/0.3646, allocations: 0 / 1.104 GB, free: 500 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.365, allocations: 463.6 kB / 1.105 GB, free: 32 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.3654, allocations: 244.2 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.3657, allocations: 0.6846 MB / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.279e-05/0.3657, allocations: 0 / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.3657, allocations: 7.438 kB / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 3.21e-07/0.3657, allocations: 0 / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.009552/0.3753, allocations: 5.626 MB / 1.111 GB, free: 9.473 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches