Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001962/0.001962, allocations: 195.3 kB / 16.26 MB, free: 6.625 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.39/1.39, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.345/2.345, allocations: 390.2 MB / 0.6643 GB, free: 0.5391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 63.89 kB / 0.8121 GB, free: 14.72 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7265, allocations: 140.4 MB / 0.9491 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004503/0.731, allocations: 4.173 MB / 0.9532 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.7338, allocations: 2.364 MB / 0.9555 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.7342, allocations: 18.34 kB / 0.9555 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001324/0.7355, allocations: 0.5099 MB / 0.956 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0004012/0.7359, allocations: 215.2 kB / 0.9562 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.7361, allocations: 116.6 kB / 0.9564 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006233/0.7368, allocations: 0.812 MB / 0.9571 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003854/0.7372, allocations: 329.6 kB / 0.9575 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.7374, allocations: 282.1 kB / 0.9577 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002736/0.7377, allocations: 336.1 kB / 0.958 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.825e-05/0.7378, allocations: 78.25 kB / 0.9581 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001136/0.7379, allocations: 75.31 kB / 0.9582 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.7381, allocations: 174.1 kB / 0.9584 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.7384, allocations: 382.9 kB / 0.9587 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000716/0.7391, allocations: 0.9876 MB / 0.9597 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7391, allocations: 0 / 0.9597 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.244e-06/0.7391, allocations: 5.094 kB / 0.9597 GB, free: 1.117 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.7391, allocations: 0 / 0.9597 GB, free: 1.117 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001317/0.7405, allocations: 0.9514 MB / 0.9606 GB, free: 348 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.7405, allocations: 13.78 kB / 0.9606 GB, free: 344 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.7406, allocations: 72.28 kB / 0.9607 GB, free: 308 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005521/0.7412, allocations: 453.6 kB / 0.9611 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.826e-05/0.7412, allocations: 37.34 kB / 0.9612 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.254e-05/0.7413, allocations: 47.09 kB / 0.9612 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000809/0.7422, allocations: 431.2 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.7422, allocations: 5.125 kB / 0.9616 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.971e-05/0.7422, allocations: 16.16 kB / 0.9617 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.7422, allocations: 11.5 kB / 0.9617 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.7429, allocations: 368.6 kB / 0.962 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002041/0.745, allocations: 1.536 MB / 0.9635 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.7456, allocations: 336.3 kB / 0.9638 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.7461, allocations: 320.3 kB / 0.9641 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.7461, allocations: 4.219 kB / 0.9641 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.7462, allocations: 41.41 kB / 0.9642 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=42): time 1.633e-06/0.7462, allocations: 0 / 0.9642 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.0009781/0.7472, allocations: 0.4896 MB / 0.9647 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.7472, allocations: 64.02 kB / 0.9647 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005741/0.7478, allocations: 481.2 kB / 0.9652 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.7478, allocations: 35.98 kB / 0.9652 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.748, allocations: 275.8 kB / 0.9655 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.7481, allocations: 146.8 kB / 0.9656 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/0.7483, allocations: 56.73 kB / 0.9657 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.7484, allocations: 366.8 kB / 0.966 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.7487, allocations: 121.5 kB / 0.9661 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.7489, allocations: 125.1 kB / 0.9663 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.7494, allocations: 299.6 kB / 0.9665 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7495, allocations: 5.031 kB / 0.9665 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006676/0.7501, allocations: 400.7 kB / 0.9669 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.7502, allocations: 4.406 kB / 0.9669 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7502, allocations: 1.062 kB / 0.9669 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.7502, allocations: 1.125 kB / 0.9669 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005045/0.7507, allocations: 128.3 kB / 0.9671 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.7507, allocations: 1.625 kB / 0.9671 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.751, allocations: 49.73 kB / 0.9671 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.7511, allocations: 6.812 kB / 0.9671 GB, free: 11.88 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 (46): * Single equations (assignments): 46 * 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.0002361/0.7513, allocations: 196.5 kB / 0.9673 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.487e-05/0.7514, allocations: 59.59 kB / 0.9674 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001129/0.7515, allocations: 63.16 kB / 0.9674 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.7515, allocations: 8.281 kB / 0.9674 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.7516, allocations: 4.688 kB / 0.9674 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.7516, allocations: 4.891 kB / 0.9674 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006916/0.7523, allocations: 0.5742 MB / 0.968 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.7523, allocations: 0 / 0.968 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/0.7528, allocations: 128.3 kB / 0.9681 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.7528, allocations: 6.547 kB / 0.9681 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.368e-05/0.7528, allocations: 5.031 kB / 0.9681 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7528, allocations: 2.188 kB / 0.9681 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7528, allocations: 0 / 0.9681 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000954/0.7538, allocations: 0.6534 MB / 0.9688 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001319/0.7539, allocations: 144.7 kB / 0.9689 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.372e-05/0.754, allocations: 6.75 kB / 0.9689 GB, free: 10.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.7543, allocations: 21.23 kB / 0.9689 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.7543, allocations: 26.59 kB / 0.969 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.7544, allocations: 11.88 kB / 0.969 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003903/0.7548, allocations: 351.4 kB / 0.9693 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7548, allocations: 0 / 0.9693 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004418/0.7552, allocations: 148.8 kB / 0.9694 GB, free: 10.28 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001512/0.7554, allocations: 114.9 kB / 0.9696 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007102/0.7561, allocations: 345.4 kB / 0.9699 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.7561, allocations: 0 / 0.9699 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.7564, allocations: 176.8 kB / 0.9701 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007353/0.7572, allocations: 128.6 kB / 0.9702 GB, free: 9.871 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.7592, allocations: 1.422 MB / 0.9716 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.7597, allocations: 0.8741 MB / 0.9724 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002089/0.7599, allocations: 50.06 kB / 0.9725 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.815e-05/0.76, allocations: 35.66 kB / 0.9725 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of SimCode: time 3.4e-07/0.76, allocations: 0 / 0.9725 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of Templates: time 0.01134/0.7713, allocations: 5.87 MB / 0.9782 GB, free: 3.961 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches