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.001494/0.001494, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001761/0.001761, allocations: 191.7 kB / 16.13 MB, free: 6.695 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.482/2.482, allocations: 390.2 MB / 0.6642 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 67.89 kB / 0.8119 GB, free: 14.82 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8029/0.8044, allocations: 140.3 MB / 0.949 GB, free: 9.32 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00285/0.8073, allocations: 1.497 MB / 0.9504 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003903/0.8112, allocations: 3.005 MB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.8113, allocations: 0 / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.8113, allocations: 7.922 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.8114, allocations: 9.922 kB / 0.9534 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003037/0.8144, allocations: 1.412 MB / 0.9548 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.613e-05/0.8145, allocations: 41.28 kB / 0.9548 GB, free: 4.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.8145, allocations: 7.094 kB / 0.9548 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.15e-05/0.8146, allocations: 20.52 kB / 0.9548 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.828e-05/0.8146, allocations: 11.34 kB / 0.9548 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.151e-05/0.8146, allocations: 5.031 kB / 0.9548 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00193/0.8166, allocations: 1.467 MB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.8166, allocations: 9.359 kB / 0.9563 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.408e-05/0.8166, allocations: 15.09 kB / 0.9563 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001475/0.8181, allocations: 1.118 MB / 0.9574 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.8181, allocations: 1.062 kB / 0.9574 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.532e-06/0.8181, allocations: 0 / 0.9574 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.8181, allocations: 0 / 0.9574 GB, free: 3.344 MB / 0.7169 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.0005351/0.8187, allocations: 0.5189 MB / 0.9579 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.8187, allocations: 12.81 kB / 0.9579 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.8188, allocations: 86.41 kB / 0.958 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.8189, allocations: 252.9 kB / 0.9582 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.8189, allocations: 150.9 kB / 0.9584 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.819, allocations: 152.1 kB / 0.9585 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.538e-05/0.819, allocations: 109.1 kB / 0.9586 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.819, allocations: 80.31 kB / 0.9587 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.406e-05/0.8191, allocations: 158.5 kB / 0.9589 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.204e-05/0.8191, allocations: 151.6 kB / 0.959 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.8191, allocations: 150.6 kB / 0.9591 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.8193, allocations: 461.6 kB / 0.9596 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.914e-05/0.8194, allocations: 171.2 kB / 0.9597 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.82e-05/0.8194, allocations: 84.08 kB / 0.9598 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.8194, allocations: 75.28 kB / 0.9599 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.8195, allocations: 118.9 kB / 0.96 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.8195, allocations: 0 / 0.96 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.043e-05/0.8195, allocations: 32.8 kB / 0.96 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.8196, allocations: 131.8 kB / 0.9602 GB, free: 412 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.8197, allocations: 127.9 kB / 0.9603 GB, free: 296 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.202e-06/0.8197, allocations: 26.77 kB / 0.9603 GB, free: 264 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.051e-05/0.8197, allocations: 90.2 kB / 0.9604 GB, free: 172 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-06/0.8198, allocations: 0.9062 kB / 0.9604 GB, free: 172 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.132e-05/0.8198, allocations: 22.05 kB / 0.9604 GB, free: 148 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.8199, allocations: 313.1 kB / 0.9607 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.8199, allocations: 10.97 kB / 0.9607 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.951e-05/0.82, allocations: 11.8 kB / 0.9607 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.82, allocations: 18.45 kB / 0.9608 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.82, allocations: 1.031 kB / 0.9608 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001436/0.8202, allocations: 51.64 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.8202, allocations: 5.25 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.137e-05/0.8202, allocations: 3.281 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8202, allocations: 0 / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.8203, allocations: 4.703 kB / 0.9608 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.8203, allocations: 0 / 0.9608 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.155e-05/0.8203, allocations: 1.938 kB / 0.9608 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.8203, allocations: 5.156 kB / 0.9608 GB, free: 15.75 MB / 0.7325 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.0001075/0.8204, allocations: 186.1 kB / 0.961 GB, free: 15.56 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.194e-05/0.8205, allocations: 112.1 kB / 0.9611 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.8205, allocations: 111.1 kB / 0.9612 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.289e-05/0.8206, allocations: 185.4 kB / 0.9614 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.042e-05/0.8207, allocations: 181.4 kB / 0.9616 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-05/0.8208, allocations: 181.1 kB / 0.9617 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.821, allocations: 416.1 kB / 0.9621 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.074e-05/0.8211, allocations: 117 kB / 0.9623 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.046e-05/0.8211, allocations: 110.1 kB / 0.9624 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.905e-05/0.8212, allocations: 177.4 kB / 0.9625 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/0.8213, allocations: 185.5 kB / 0.9627 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.908e-05/0.8214, allocations: 177.4 kB / 0.9629 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.724e-05/0.8214, allocations: 181 kB / 0.963 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001414/0.8216, allocations: 308.4 kB / 0.9633 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.6e-05/0.8217, allocations: 196 kB / 0.9635 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.003e-05/0.8218, allocations: 181.6 kB / 0.9637 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.8218, allocations: 106.3 kB / 0.9638 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.8219, allocations: 185.5 kB / 0.964 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.822, allocations: 102.3 kB / 0.9641 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.349e-05/0.822, allocations: 97.11 kB / 0.9642 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8221, allocations: 0 / 0.9642 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009194/0.823, allocations: 291.8 kB / 0.9644 GB, free: 12.07 MB / 0.7325 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.001199/0.8242, allocations: 0.5326 MB / 0.965 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.8243, allocations: 46.28 kB / 0.965 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.8243, allocations: 4.062 kB / 0.965 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.8243, allocations: 1.531 kB / 0.965 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004645/0.8248, allocations: 0.5314 MB / 0.9655 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003275/0.8251, allocations: 249.1 kB / 0.9658 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.8254, allocations: 0.6805 MB / 0.9664 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.342e-05/0.8254, allocations: 1.188 kB / 0.9664 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.127e-05/0.8255, allocations: 8.812 kB / 0.9664 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of SimCode: time 2e-07/0.8255, allocations: 0 / 0.9664 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.01062/0.8361, allocations: 5.677 MB / 0.972 GB, free: 7.344 MB / 0.7325 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