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.001449/0.001449, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.00149/0.00149, allocations: 196.7 kB / 16.91 MB, free: 6.195 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 13.74 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.325/2.325, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001604/0.001604, allocations: 65.48 kB / 0.8127 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3141, allocations: 140.4 MB / 0.9498 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006696/0.3209, allocations: 4.178 MB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004569/0.3255, allocations: 2.371 MB / 0.9562 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007994/0.3263, allocations: 12 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/0.3287, allocations: 0.5056 MB / 0.9567 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001082/0.3298, allocations: 218.4 kB / 0.9569 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.3303, allocations: 123.9 kB / 0.957 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001354/0.3316, allocations: 0.8098 MB / 0.9578 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006784/0.3323, allocations: 322.5 kB / 0.9581 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.333, allocations: 287 kB / 0.9584 GB, free: 372 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006814/0.3337, allocations: 334.6 kB / 0.9587 GB, free: 36 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002118/0.3339, allocations: 79.98 kB / 0.9588 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.3341, allocations: 72 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002486/0.3344, allocations: 179.4 kB / 0.959 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.335, allocations: 386.2 kB / 0.9594 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0009564/0.3359, allocations: 0.8182 MB / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.336, allocations: 0 / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.315e-06/0.336, allocations: 0 / 0.9602 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.126e-05/0.336, allocations: 0 / 0.9602 GB, free: 14.51 MB / 0.7481 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.002123/0.3381, allocations: 0.9424 MB / 0.9611 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.931e-05/0.3382, allocations: 12.03 kB / 0.9611 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002035/0.3384, allocations: 76.09 kB / 0.9612 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008412/0.3393, allocations: 457.6 kB / 0.9617 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.3393, allocations: 37.38 kB / 0.9617 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-05/0.3394, allocations: 44.38 kB / 0.9617 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.3404, allocations: 438.8 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.3404, allocations: 0 / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.3405, allocations: 16 kB / 0.9622 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.3405, allocations: 12 kB / 0.9622 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.3413, allocations: 371.8 kB / 0.9625 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.3441, allocations: 1.535 MB / 0.964 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.3448, allocations: 342.9 kB / 0.9644 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005508/0.3453, allocations: 320.5 kB / 0.9647 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.3454, allocations: 7.938 kB / 0.9647 GB, free: 9.762 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3454, allocations: 42.5 kB / 0.9647 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=42): time 2.825e-06/0.3454, allocations: 0 / 0.9647 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of matching and sorting (n=42): time 0.001067/0.3465, allocations: 0.4895 MB / 0.9652 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.3466, allocations: 55.41 kB / 0.9652 GB, free: 9.148 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.3472, allocations: 485.9 kB / 0.9657 GB, free: 8.664 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.3473, allocations: 33.7 kB / 0.9657 GB, free: 8.625 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.3475, allocations: 276.3 kB / 0.966 GB, free: 8.352 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.3477, allocations: 145.9 kB / 0.9661 GB, free: 8.207 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3478, allocations: 58.08 kB / 0.9662 GB, free: 8.141 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3481, allocations: 363.5 kB / 0.9665 GB, free: 7.777 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.3483, allocations: 124.6 kB / 0.9667 GB, free: 7.656 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.3486, allocations: 121.5 kB / 0.9668 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005721/0.3492, allocations: 302.2 kB / 0.9671 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3492, allocations: 0 / 0.9671 GB, free: 7.242 MB / 0.7481 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000875/0.3501, allocations: 400.1 kB / 0.9674 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.102e-05/0.3501, allocations: 4 kB / 0.9675 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.3501, allocations: 3.938 kB / 0.9675 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3501, allocations: 4 kB / 0.9675 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.3507, allocations: 123.9 kB / 0.9676 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.671e-05/0.3507, allocations: 0 / 0.9676 GB, free: 6.711 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.3511, allocations: 63.53 kB / 0.9676 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.3512, allocations: 8 kB / 0.9676 GB, free: 6.641 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 (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.0003136/0.3515, allocations: 189.8 kB / 0.9678 GB, free: 6.445 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-05/0.3516, allocations: 55.28 kB / 0.9679 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.3518, allocations: 65.09 kB / 0.9679 GB, free: 6.324 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.3518, allocations: 4 kB / 0.9679 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.3518, allocations: 0 / 0.9679 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.3518, allocations: 7.984 kB / 0.968 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.3528, allocations: 0.5749 MB / 0.9685 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.3528, allocations: 0 / 0.9685 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000556/0.3534, allocations: 135.8 kB / 0.9686 GB, free: 5.555 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.3534, allocations: 4 kB / 0.9686 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.3534, allocations: 8 kB / 0.9687 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.3534, allocations: 4 kB / 0.9687 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.3534, allocations: 0 / 0.9687 GB, free: 5.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3545, allocations: 0.6517 MB / 0.9693 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.3547, allocations: 140.4 kB / 0.9694 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.3548, allocations: 8 kB / 0.9694 GB, free: 4.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.3551, allocations: 15.98 kB / 0.9695 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.235e-05/0.3552, allocations: 31.91 kB / 0.9695 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.3552, allocations: 12 kB / 0.9695 GB, free: 4.648 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004507/0.3556, allocations: 351.1 kB / 0.9698 GB, free: 4.312 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3557, allocations: 3.938 kB / 0.9698 GB, free: 4.309 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000482/0.3561, allocations: 143.6 kB / 0.97 GB, free: 4.168 MB / 0.7481 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.0002567/0.3564, allocations: 121.4 kB / 0.9701 GB, free: 4.039 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008163/0.3572, allocations: 339.5 kB / 0.9704 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3572, allocations: 0 / 0.9704 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.3576, allocations: 175.8 kB / 0.9706 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008288/0.3585, allocations: 130.3 kB / 0.9707 GB, free: 3.414 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.361, allocations: 1.45 MB / 0.9721 GB, free: 1.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006082/0.3617, allocations: 0.8703 MB / 0.973 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.3618, allocations: 39.44 kB / 0.973 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.3618, allocations: 0 / 0.973 GB, free: 0.9922 MB / 0.7481 GB Notification: Performance of Templates: time 0.01416/0.376, allocations: 6.823 MB / 0.9797 GB, free: 10.23 MB / 0.7637 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/jenkins1/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