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.000988/0.0009879, allocations: 92.16 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.001147/0.001147, allocations: 182 kB / 16.92 MB, free: 6.922 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.43/1.43, allocations: 223.3 MB / 241 MB, free: 5.324 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.46/2.46, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.000378, allocations: 8 kB / 0.8167 GB, free: 13.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8163/0.8167, allocations: 142.4 MB / 0.9557 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003133/0.8199, allocations: 2.714 MB / 0.9584 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.8225, allocations: 2.081 MB / 0.9604 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.8227, allocations: 5.5 kB / 0.9604 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.8242, allocations: 482.1 kB / 0.9609 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002972/0.8245, allocations: 134 kB / 0.961 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001235/0.8246, allocations: 49.56 kB / 0.9611 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004884/0.8251, allocations: 466.5 kB / 0.9615 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.8253, allocations: 132.9 kB / 0.9616 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/0.8256, allocations: 141.7 kB / 0.9618 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001964/0.8258, allocations: 162.3 kB / 0.9619 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.8258, allocations: 19.25 kB / 0.9619 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 5.429e-05/0.8259, allocations: 21.81 kB / 0.962 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.826, allocations: 84.28 kB / 0.962 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.8262, allocations: 216.2 kB / 0.9623 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003759/0.8266, allocations: 435.8 kB / 0.9627 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.8266, allocations: 7.938 kB / 0.9627 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.8266, allocations: 3.938 kB / 0.9627 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.8266, allocations: 1 kB / 0.9627 GB, free: 2.324 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.0008763/0.8275, allocations: 0.6469 MB / 0.9633 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8275, allocations: 9.406 kB / 0.9633 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.22e-05/0.8276, allocations: 49.66 kB / 0.9634 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.8281, allocations: 367.8 kB / 0.9637 GB, free: 1.387 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/0.8281, allocations: 17.22 kB / 0.9637 GB, free: 1.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.8282, allocations: 26.25 kB / 0.9638 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.8286, allocations: 208.1 kB / 0.964 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.8286, allocations: 0 / 0.964 GB, free: 1.242 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.8286, allocations: 10.72 kB / 0.964 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.8287, allocations: 8.75 kB / 0.964 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.8291, allocations: 177.5 kB / 0.9641 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.8302, allocations: 0.8698 MB / 0.965 GB, free: 412 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002921/0.8305, allocations: 168.1 kB / 0.9652 GB, free: 316 kB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.8307, allocations: 117.2 kB / 0.9653 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.8307, allocations: 2.156 kB / 0.9653 GB, free: 256 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.8308, allocations: 32 kB / 0.9653 GB, free: 216 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.8308, allocations: 4 kB / 0.9653 GB, free: 212 kB / 0.7169 GB Notification: Performance of matching and sorting (n=18): time 0.0006133/0.8314, allocations: 268.3 kB / 0.9656 GB, free: 72 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.8314, allocations: 57.94 kB / 0.9656 GB, free: 4 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.832, allocations: 426.9 kB / 0.966 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.832, allocations: 25.7 kB / 0.966 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.8322, allocations: 207.6 kB / 0.9662 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.8322, allocations: 62.25 kB / 0.9663 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.308e-05/0.8323, allocations: 20.81 kB / 0.9663 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8324, allocations: 345.9 kB / 0.9667 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.8326, allocations: 64.61 kB / 0.9667 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.8327, allocations: 68.81 kB / 0.9668 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.8331, allocations: 145.8 kB / 0.9669 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.8331, allocations: 0 / 0.9669 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004175/0.8335, allocations: 219.4 kB / 0.9671 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8335, allocations: 5.188 kB / 0.9671 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.8335, allocations: 0.9375 kB / 0.9671 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.8336, allocations: 5 kB / 0.9671 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.8338, allocations: 59.34 kB / 0.9672 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.8338, allocations: 4.984 kB / 0.9672 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.834, allocations: 19.16 kB / 0.9672 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.834, allocations: 11.77 kB / 0.9672 GB, free: 14.83 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.0001703/0.8342, allocations: 166 kB / 0.9674 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.416e-05/0.8343, allocations: 36.44 kB / 0.9674 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.064e-05/0.8344, allocations: 48.02 kB / 0.9675 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.8344, allocations: 1.219 kB / 0.9675 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.8344, allocations: 1.094 kB / 0.9675 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.8344, allocations: 0 / 0.9675 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.8349, allocations: 370.2 kB / 0.9678 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8349, allocations: 3.938 kB / 0.9678 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002687/0.8352, allocations: 60.14 kB / 0.9679 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8352, allocations: 4.969 kB / 0.9679 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.8352, allocations: 8.969 kB / 0.9679 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8352, allocations: 0.9688 kB / 0.9679 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.8352, allocations: 4.938 kB / 0.9679 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.8359, allocations: 395 kB / 0.9683 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.836, allocations: 114.8 kB / 0.9684 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.836, allocations: 10.31 kB / 0.9684 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001714/0.8362, allocations: 11.66 kB / 0.9684 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.8363, allocations: 12.72 kB / 0.9684 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.197e-06/0.8363, allocations: 8.031 kB / 0.9684 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003559/0.8366, allocations: 301.8 kB / 0.9687 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8367, allocations: 0 / 0.9687 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003297/0.837, allocations: 72.44 kB / 0.9688 GB, free: 13.66 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.0001463/0.8371, allocations: 112.8 kB / 0.9689 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003935/0.8375, allocations: 151.6 kB / 0.969 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.8376, allocations: 0.8438 kB / 0.969 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.8377, allocations: 87.56 kB / 0.9691 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.8384, allocations: 94.8 kB / 0.9692 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.8398, allocations: 0.9605 MB / 0.9702 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.8402, allocations: 0.794 MB / 0.9709 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.378e-05/0.8403, allocations: 24.62 kB / 0.971 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8403, allocations: 0 / 0.971 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.008181/0.8485, allocations: 4.301 MB / 0.9752 GB, free: 9.738 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