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.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.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.001395/0.001395, allocations: 107.2 kB / 16.27 MB, free: 5.988 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.001509/0.001509, allocations: 192.3 kB / 17.2 MB, free: 5.613 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.379/1.379, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.336/2.336, allocations: 390.3 MB / 0.6653 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 64.86 kB / 0.8132 GB, free: 33.01 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3176, allocations: 140.4 MB / 0.9503 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004326/0.3219, allocations: 3.049 MB / 0.9533 GB, free: 5.789 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002906/0.3249, allocations: 2.145 MB / 0.9554 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.3252, allocations: 8 kB / 0.9554 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/0.3269, allocations: 0.4977 MB / 0.9559 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.3273, allocations: 146.8 kB / 0.956 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.3275, allocations: 59.94 kB / 0.9561 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000517/0.328, allocations: 445.9 kB / 0.9565 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003048/0.3283, allocations: 155.2 kB / 0.9566 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.3285, allocations: 151.4 kB / 0.9568 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002503/0.3288, allocations: 179.2 kB / 0.9569 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.626e-05/0.3289, allocations: 36 kB / 0.957 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.629e-05/0.3289, allocations: 36 kB / 0.957 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.3291, allocations: 95.61 kB / 0.9571 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002305/0.3293, allocations: 218.9 kB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.3299, allocations: 0.5489 MB / 0.9579 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.3299, allocations: 0 / 0.9579 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3299, allocations: 0 / 0.9579 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.3299, allocations: 3.938 kB / 0.9579 GB, free: 1.07 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001203/0.3311, allocations: 0.7006 MB / 0.9585 GB, free: 328 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/0.3312, allocations: 12.02 kB / 0.9586 GB, free: 316 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.3313, allocations: 44.47 kB / 0.9586 GB, free: 272 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005459/0.3318, allocations: 370.1 kB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.3319, allocations: 16.81 kB / 0.959 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.703e-05/0.3319, allocations: 24.38 kB / 0.959 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.3324, allocations: 195.6 kB / 0.9592 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.3324, allocations: 7.906 kB / 0.9592 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.3324, allocations: 8 kB / 0.9592 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.3324, allocations: 8 kB / 0.9592 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000396/0.3328, allocations: 169.6 kB / 0.9594 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001336/0.3342, allocations: 0.8624 MB / 0.9602 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003382/0.3345, allocations: 154.5 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.3348, allocations: 117.1 kB / 0.9605 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3348, allocations: 3.906 kB / 0.9605 GB, free: 14.22 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3349, allocations: 34.56 kB / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.3349, allocations: 0 / 0.9605 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0006169/0.3355, allocations: 253.1 kB / 0.9607 GB, free: 13.93 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.826e-05/0.3355, allocations: 51.41 kB / 0.9608 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000484/0.336, allocations: 425.5 kB / 0.9612 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.3361, allocations: 29.7 kB / 0.9612 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.3362, allocations: 204.2 kB / 0.9614 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.3363, allocations: 67.02 kB / 0.9615 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3363, allocations: 33.7 kB / 0.9615 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3365, allocations: 346.8 kB / 0.9618 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.3367, allocations: 55.92 kB / 0.9619 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.3368, allocations: 65.86 kB / 0.962 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.3371, allocations: 130.9 kB / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3371, allocations: 0 / 0.9621 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003589/0.3375, allocations: 205.1 kB / 0.9623 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.3375, allocations: 6.188 kB / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3375, allocations: 4 kB / 0.9623 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.3375, allocations: 7.938 kB / 0.9623 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.3378, allocations: 55.91 kB / 0.9623 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3378, allocations: 0 / 0.9623 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.3379, allocations: 23.83 kB / 0.9624 GB, free: 12.2 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3379, allocations: 4 kB / 0.9624 GB, free: 12.2 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 (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.0001523/0.3381, allocations: 167.7 kB / 0.9625 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.3382, allocations: 31.62 kB / 0.9626 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.508e-05/0.3383, allocations: 43.53 kB / 0.9626 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.3383, allocations: 8 kB / 0.9626 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3383, allocations: 7.938 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.3383, allocations: 3.984 kB / 0.9626 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.3387, allocations: 377.2 kB / 0.963 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3387, allocations: 0 / 0.963 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.3389, allocations: 51.97 kB / 0.963 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.339, allocations: 7.984 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.655e-05/0.339, allocations: 3.938 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.339, allocations: 0 / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.339, allocations: 3.984 kB / 0.963 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005891/0.3396, allocations: 382.8 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3397, allocations: 124.6 kB / 0.9635 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.3398, allocations: 3.938 kB / 0.9635 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/0.3399, allocations: 11.98 kB / 0.9635 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/0.34, allocations: 16.05 kB / 0.9636 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.34, allocations: 11.94 kB / 0.9636 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003004/0.3403, allocations: 299.1 kB / 0.9639 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3403, allocations: 0 / 0.9639 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003013/0.3406, allocations: 71.84 kB / 0.9639 GB, free: 10.51 MB / 0.7481 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.0001471/0.3408, allocations: 111.2 kB / 0.964 GB, free: 10.39 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3411, allocations: 153.9 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3412, allocations: 4 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.3413, allocations: 78.41 kB / 0.9643 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005718/0.3419, allocations: 97.78 kB / 0.9644 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.3432, allocations: 0.7901 MB / 0.9651 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.3435, allocations: 0.7988 MB / 0.9659 GB, free: 8.426 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.026e-05/0.3436, allocations: 23.44 kB / 0.9659 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.3436, allocations: 0 / 0.9659 GB, free: 8.402 MB / 0.7481 GB Notification: Performance of Templates: time 0.006754/0.3504, allocations: 4.358 MB / 0.9702 GB, free: 4.082 MB / 0.7481 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