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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00106/0.001061, allocations: 92.7 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 178.2 kB / 16.92 MB, free: 6.652 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.494/1.494, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.549/2.549, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003892/0.0003894, allocations: 11.98 kB / 0.8167 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8215/0.8219, allocations: 142.4 MB / 0.9558 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001636/0.8236, allocations: 1.156 MB / 0.9569 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003764/0.8274, allocations: 2.937 MB / 0.9598 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.629e-05/0.8274, allocations: 0 / 0.9598 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.8275, allocations: 0 / 0.9598 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.38e-05/0.8275, allocations: 17.62 kB / 0.9598 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.8307, allocations: 1.404 MB / 0.9612 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.909e-05/0.8308, allocations: 41.47 kB / 0.9612 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.8309, allocations: 2.781 kB / 0.9612 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.225e-05/0.8309, allocations: 19.33 kB / 0.9612 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.564e-05/0.8309, allocations: 12.03 kB / 0.9612 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.231e-05/0.831, allocations: 1.875 kB / 0.9612 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.8332, allocations: 1.47 MB / 0.9627 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.8332, allocations: 9.078 kB / 0.9627 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.8333, allocations: 42.11 kB / 0.9627 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.8344, allocations: 0.7796 MB / 0.9635 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.8344, allocations: 0 / 0.9635 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.228e-06/0.8344, allocations: 5.078 kB / 0.9635 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8344, allocations: 0 / 0.9635 GB, free: 2.293 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.0004822/0.8349, allocations: 0.5113 MB / 0.964 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.8349, allocations: 7.188 kB / 0.964 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.835, allocations: 84.09 kB / 0.9641 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.79e-05/0.8351, allocations: 250 kB / 0.9643 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.8351, allocations: 161.5 kB / 0.9645 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.8352, allocations: 150.9 kB / 0.9646 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.006e-05/0.8352, allocations: 105.1 kB / 0.9647 GB, free: 1.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.8352, allocations: 75.28 kB / 0.9648 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.8353, allocations: 157 kB / 0.9649 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.8353, allocations: 154.6 kB / 0.9651 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.641e-05/0.8353, allocations: 150.6 kB / 0.9652 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.8356, allocations: 466.6 kB / 0.9657 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.8356, allocations: 173 kB / 0.9658 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.8357, allocations: 80.14 kB / 0.9659 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.733e-05/0.8357, allocations: 79.28 kB / 0.966 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.574e-05/0.8358, allocations: 113.7 kB / 0.9661 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.8358, allocations: 0 / 0.9661 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 7.638e-05/0.8359, allocations: 37.62 kB / 0.9661 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.836, allocations: 130.6 kB / 0.9662 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.8361, allocations: 130 kB / 0.9664 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.8362, allocations: 29.7 kB / 0.9664 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.8362, allocations: 91.05 kB / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.8362, allocations: 0 / 0.9665 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.8363, allocations: 16.42 kB / 0.9665 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.8364, allocations: 316.3 kB / 0.9668 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.8364, allocations: 3.438 kB / 0.9668 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.096e-05/0.8365, allocations: 8.219 kB / 0.9668 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.072e-05/0.8365, allocations: 22 kB / 0.9668 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.8365, allocations: 0 / 0.9668 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001361/0.8366, allocations: 56.95 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8367, allocations: 4.781 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.8367, allocations: 2.906 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.8367, allocations: 0 / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.8367, allocations: 1.094 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.8367, allocations: 0 / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.8368, allocations: 5 kB / 0.9669 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.8368, allocations: 1.125 kB / 0.9669 GB, free: 14.71 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.0001097/0.8369, allocations: 191.6 kB / 0.9671 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.837, allocations: 111.4 kB / 0.9672 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.837, allocations: 115.8 kB / 0.9673 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-05/0.8371, allocations: 176.3 kB / 0.9675 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.832e-05/0.8372, allocations: 185.3 kB / 0.9676 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.46e-05/0.8373, allocations: 185.6 kB / 0.9678 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002458/0.8375, allocations: 412 kB / 0.9682 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.018e-05/0.8376, allocations: 114.3 kB / 0.9683 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.8376, allocations: 109 kB / 0.9684 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.8377, allocations: 185.5 kB / 0.9686 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.654e-05/0.8378, allocations: 177.5 kB / 0.9688 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.768e-05/0.8379, allocations: 177.4 kB / 0.9689 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.442e-05/0.838, allocations: 185.1 kB / 0.9691 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.8381, allocations: 308.7 kB / 0.9694 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-05/0.8382, allocations: 187.8 kB / 0.9696 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.68e-05/0.8383, allocations: 177.4 kB / 0.9698 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.761e-05/0.8384, allocations: 110 kB / 0.9699 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.932e-05/0.8385, allocations: 189.3 kB / 0.97 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.8385, allocations: 106 kB / 0.9701 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.8386, allocations: 98.14 kB / 0.9702 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8386, allocations: 0 / 0.9702 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008481/0.8394, allocations: 288.2 kB / 0.9705 GB, free: 11.03 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.00115/0.8406, allocations: 0.5345 MB / 0.971 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.8407, allocations: 42.31 kB / 0.9711 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.8407, allocations: 0 / 0.9711 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.673e-06/0.8407, allocations: 1.281 kB / 0.9711 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.8412, allocations: 0.5302 MB / 0.9716 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003625/0.8415, allocations: 293.1 kB / 0.9719 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.8418, allocations: 0.6851 MB / 0.9725 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.362e-05/0.8418, allocations: 9.656 kB / 0.9726 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.8418, allocations: 0 / 0.9726 GB, free: 9.137 MB / 0.7325 GB Notification: Performance of Templates: time 0.009869/0.8517, allocations: 4.739 MB / 0.9772 GB, free: 6.742 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/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