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.001235/0.001235, allocations: 104.8 kB / 15.99 MB, free: 5.883 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.001283/0.001283, allocations: 194.6 kB / 16.9 MB, free: 5.746 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.386/1.386, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.298/2.298, allocations: 390.2 MB / 0.665 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 64.03 kB / 0.8127 GB, free: 33.29 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.3427, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003293/0.3461, allocations: 1.512 MB / 0.9513 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004688/0.3508, allocations: 2.884 MB / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.3509, allocations: 0 / 0.9541 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.927e-05/0.3509, allocations: 7.984 kB / 0.9541 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.634e-05/0.3511, allocations: 11.86 kB / 0.9541 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.3556, allocations: 1.461 MB / 0.9556 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.616e-05/0.3558, allocations: 47.72 kB / 0.9556 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.3558, allocations: 7.938 kB / 0.9556 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.3558, allocations: 15.94 kB / 0.9556 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.3559, allocations: 15.88 kB / 0.9556 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3559, allocations: 4 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002653/0.3586, allocations: 1.462 MB / 0.9571 GB, free: 1.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.3586, allocations: 7.984 kB / 0.9571 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.3586, allocations: 19.88 kB / 0.9571 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001496/0.3601, allocations: 0.7448 MB / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3602, allocations: 0 / 0.9578 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3602, allocations: 4 kB / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.3602, allocations: 4 kB / 0.9578 GB, free: 0.9844 MB / 0.7325 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.0009562/0.3611, allocations: 0.5107 MB / 0.9583 GB, free: 436 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.3612, allocations: 12.03 kB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.103e-05/0.3613, allocations: 88.06 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3615, allocations: 251.5 kB / 0.9587 GB, free: 44 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-05/0.3615, allocations: 154.9 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.798e-05/0.3616, allocations: 162.9 kB / 0.959 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.015e-05/0.3617, allocations: 105.1 kB / 0.9591 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.3617, allocations: 75.28 kB / 0.9591 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.3618, allocations: 150.6 kB / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.3619, allocations: 150.6 kB / 0.9594 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.994e-05/0.3619, allocations: 150.6 kB / 0.9596 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3623, allocations: 473.9 kB / 0.96 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 9.395e-05/0.3624, allocations: 177.1 kB / 0.9602 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.3624, allocations: 80.14 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.3625, allocations: 79.28 kB / 0.9603 GB, free: 14.25 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.3625, allocations: 117.8 kB / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.834e-06/0.3625, allocations: 0 / 0.9605 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 9.107e-05/0.3626, allocations: 37.55 kB / 0.9605 GB, free: 14.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.707e-05/0.3627, allocations: 126.7 kB / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.3628, allocations: 132 kB / 0.9607 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3629, allocations: 25.7 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.3629, allocations: 96.06 kB / 0.9609 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.275e-06/0.3629, allocations: 4 kB / 0.9609 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.899e-05/0.363, allocations: 17.72 kB / 0.9609 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3631, allocations: 318.9 kB / 0.9612 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.41e-05/0.3631, allocations: 11.98 kB / 0.9612 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.731e-05/0.3632, allocations: 4 kB / 0.9612 GB, free: 13.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.637e-05/0.3632, allocations: 12.86 kB / 0.9612 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3632, allocations: 0 / 0.9612 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001431/0.3633, allocations: 57.48 kB / 0.9613 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.3634, allocations: 4 kB / 0.9613 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.3634, allocations: 12.05 kB / 0.9613 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3634, allocations: 0 / 0.9613 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.3634, allocations: 0 / 0.9613 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3634, allocations: 0 / 0.9613 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.3635, allocations: 3.906 kB / 0.9613 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3635, allocations: 4 kB / 0.9613 GB, free: 13.21 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 0.0001142/0.3636, allocations: 181.1 kB / 0.9615 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.867e-05/0.3637, allocations: 112.9 kB / 0.9616 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.474e-05/0.3637, allocations: 116.8 kB / 0.9617 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.009e-05/0.3638, allocations: 180.3 kB / 0.9619 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.877e-05/0.3639, allocations: 176.3 kB / 0.962 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.893e-05/0.3639, allocations: 184.2 kB / 0.9622 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.3642, allocations: 413.2 kB / 0.9626 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/0.3642, allocations: 120.8 kB / 0.9627 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/0.3643, allocations: 101 kB / 0.9628 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.945e-05/0.3643, allocations: 184.2 kB / 0.963 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.329e-05/0.3644, allocations: 176.3 kB / 0.9631 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.834e-05/0.3645, allocations: 180.3 kB / 0.9633 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.085e-05/0.3646, allocations: 180.2 kB / 0.9635 GB, free: 10.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.3647, allocations: 315.7 kB / 0.9638 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.411e-05/0.3648, allocations: 189.9 kB / 0.964 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.3649, allocations: 184.2 kB / 0.9641 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.969e-05/0.365, allocations: 108.9 kB / 0.9642 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.3651, allocations: 180.3 kB / 0.9644 GB, free: 9.781 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.3651, allocations: 104.9 kB / 0.9645 GB, free: 9.672 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 6.672e-05/0.3652, allocations: 101.8 kB / 0.9646 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3652, allocations: 7.938 kB / 0.9646 GB, free: 9.566 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009014/0.3661, allocations: 275.8 kB / 0.9649 GB, free: 9.297 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.001417/0.3675, allocations: 0.5332 MB / 0.9654 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.3677, allocations: 37.7 kB / 0.9654 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3677, allocations: 0 / 0.9654 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.605e-06/0.3677, allocations: 0 / 0.9654 GB, free: 8.711 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005004/0.3682, allocations: 467.7 kB / 0.9659 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.3686, allocations: 277.8 kB / 0.9662 GB, free: 7.945 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.3689, allocations: 0.6883 MB / 0.9668 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.3689, allocations: 15.44 kB / 0.9668 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of SimCode: time 5.72e-07/0.3689, allocations: 0 / 0.9668 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of Templates: time 0.009359/0.3783, allocations: 4.77 MB / 0.9715 GB, free: 2.453 MB / 0.7481 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/jenkins1/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