Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006209/0.006209, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001245/0.001245, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.389/1.389, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.472/2.472, allocations: 390.2 MB / 0.6649 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 67.89 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7542/0.7557, allocations: 140.3 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004348/0.7601, allocations: 3.084 MB / 0.9526 GB, free: 6.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.7629, allocations: 2.109 MB / 0.9547 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003167/0.7633, allocations: 4.781 kB / 0.9547 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.7648, allocations: 478.3 kB / 0.9551 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.7652, allocations: 137.9 kB / 0.9553 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.7654, allocations: 48.48 kB / 0.9553 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005197/0.7659, allocations: 472.4 kB / 0.9558 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002342/0.7661, allocations: 133.6 kB / 0.9559 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000209/0.7663, allocations: 147.1 kB / 0.956 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.7666, allocations: 179.8 kB / 0.9562 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.703e-05/0.7666, allocations: 23.53 kB / 0.9562 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.723e-05/0.7667, allocations: 23.25 kB / 0.9563 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.7668, allocations: 83.23 kB / 0.9563 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.767, allocations: 213.5 kB / 0.9565 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003373/0.7674, allocations: 453 kB / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7674, allocations: 0 / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7674, allocations: 0 / 0.957 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.7674, allocations: 0 / 0.957 GB, free: 3.445 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009138/0.7683, allocations: 0.6992 MB / 0.9577 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7684, allocations: 13.34 kB / 0.9577 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.333e-05/0.7685, allocations: 46.47 kB / 0.9577 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.7689, allocations: 376.3 kB / 0.9581 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.7689, allocations: 16.16 kB / 0.9581 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.769, allocations: 18.88 kB / 0.9581 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.7694, allocations: 206.2 kB / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.7694, allocations: 0 / 0.9583 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.22e-05/0.7694, allocations: 10.75 kB / 0.9583 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.7694, allocations: 5.5 kB / 0.9583 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003972/0.7699, allocations: 166.9 kB / 0.9585 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.771, allocations: 0.8711 MB / 0.9593 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.7713, allocations: 148.7 kB / 0.9595 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002202/0.7715, allocations: 110.7 kB / 0.9596 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.7716, allocations: 6.75 kB / 0.9596 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.7716, allocations: 34.56 kB / 0.9596 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.232e-06/0.7716, allocations: 1.125 kB / 0.9596 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0006451/0.7723, allocations: 258.4 kB / 0.9599 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.7723, allocations: 56.89 kB / 0.9599 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.7728, allocations: 417.8 kB / 0.9603 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.7728, allocations: 37.64 kB / 0.9603 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.7729, allocations: 205.1 kB / 0.9605 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.773, allocations: 66.34 kB / 0.9606 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.773, allocations: 36.11 kB / 0.9606 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.7731, allocations: 344 kB / 0.961 GB, free: 192 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.7733, allocations: 60.81 kB / 0.961 GB, free: 160 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001375/0.7734, allocations: 60.33 kB / 0.9611 GB, free: 132 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.7737, allocations: 136.7 kB / 0.9612 GB, free: 60 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.7738, allocations: 7.938 kB / 0.9612 GB, free: 52 kB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004315/0.7742, allocations: 203.8 kB / 0.9614 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.7742, allocations: 5.531 kB / 0.9614 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7742, allocations: 0 / 0.9614 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.7742, allocations: 5 kB / 0.9614 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.7745, allocations: 57.25 kB / 0.9615 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.7745, allocations: 1.062 kB / 0.9615 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001848/0.7747, allocations: 25.55 kB / 0.9615 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.7748, allocations: 7.281 kB / 0.9615 GB, free: 15.89 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0001797/0.7749, allocations: 166 kB / 0.9617 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.403e-05/0.775, allocations: 32.69 kB / 0.9617 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.193e-05/0.7751, allocations: 43.69 kB / 0.9617 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.7751, allocations: 5.219 kB / 0.9618 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7751, allocations: 1.188 kB / 0.9618 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7751, allocations: 0 / 0.9618 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.7756, allocations: 377.5 kB / 0.9621 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.7756, allocations: 1.188 kB / 0.9621 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000264/0.7759, allocations: 49.34 kB / 0.9622 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.7759, allocations: 1.156 kB / 0.9622 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.7759, allocations: 12.81 kB / 0.9622 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.7759, allocations: 1.156 kB / 0.9622 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7759, allocations: 4 kB / 0.9622 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.7766, allocations: 374.2 kB / 0.9625 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.7767, allocations: 115.4 kB / 0.9626 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.966e-05/0.7768, allocations: 10.03 kB / 0.9627 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.777, allocations: 13.86 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.777, allocations: 13.58 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.7771, allocations: 3.125 kB / 0.9627 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003833/0.7774, allocations: 309.5 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7775, allocations: 1.344 kB / 0.963 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003604/0.7778, allocations: 71.25 kB / 0.963 GB, free: 14.73 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001648/0.778, allocations: 111.3 kB / 0.9632 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003881/0.7784, allocations: 148.4 kB / 0.9633 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.7784, allocations: 0 / 0.9633 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.7786, allocations: 76.81 kB / 0.9634 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000677/0.7793, allocations: 98.36 kB / 0.9635 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.7808, allocations: 0.8984 MB / 0.9643 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.7812, allocations: 0.7948 MB / 0.9651 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.971e-05/0.7813, allocations: 24.31 kB / 0.9651 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.7813, allocations: 0 / 0.9651 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of Templates: time 0.008471/0.7898, allocations: 4.351 MB / 0.9694 GB, free: 10.82 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches