Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 99.58 kB / 16.02 MB, free: 76 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.001171/0.001171, allocations: 182 kB / 16.92 MB, free: 6.918 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.355 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.455/2.455, allocations: 390.9 MB / 0.667 GB, free: 2.445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003943/0.0003944, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7568/0.7572, allocations: 142.4 MB / 0.9557 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001572/0.7588, allocations: 1.197 MB / 0.9569 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.7601, allocations: 0.9109 MB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.162e-05/0.7602, allocations: 5.188 kB / 0.9578 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.7604, allocations: 51 kB / 0.9578 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.842e-05/0.7605, allocations: 13.67 kB / 0.9578 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004659/0.7609, allocations: 170.4 kB / 0.958 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.74e-05/0.761, allocations: 47.66 kB / 0.958 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.632e-05/0.7611, allocations: 6.453 kB / 0.9581 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.7611, allocations: 20.12 kB / 0.9581 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.124e-05/0.7612, allocations: 14.56 kB / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.005e-05/0.7612, allocations: 1.188 kB / 0.9581 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002826/0.7615, allocations: 152 kB / 0.9582 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.23e-05/0.7615, allocations: 3.938 kB / 0.9582 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.356e-05/0.7615, allocations: 44.73 kB / 0.9583 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.7617, allocations: 84.67 kB / 0.9584 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.7617, allocations: 1.438 kB / 0.9584 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.014e-06/0.7617, allocations: 0 / 0.9584 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.7617, allocations: 0 / 0.9584 GB, free: 5.711 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002781/0.762, allocations: 363.8 kB / 0.9587 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.762, allocations: 12.59 kB / 0.9587 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.899e-05/0.7621, allocations: 83.12 kB / 0.9588 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001635/0.7623, allocations: 264.7 kB / 0.9591 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.7623, allocations: 150.9 kB / 0.9592 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.7623, allocations: 152.2 kB / 0.9593 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.331e-05/0.7624, allocations: 106.9 kB / 0.9594 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.7624, allocations: 79.28 kB / 0.9595 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.574e-05/0.7624, allocations: 150.6 kB / 0.9597 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.198e-05/0.7625, allocations: 150.6 kB / 0.9598 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.7625, allocations: 155.7 kB / 0.96 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002005/0.7627, allocations: 468.5 kB / 0.9604 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.694e-05/0.7628, allocations: 171 kB / 0.9606 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.776e-05/0.7628, allocations: 84.14 kB / 0.9606 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.7628, allocations: 75.28 kB / 0.9607 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.7628, allocations: 114.7 kB / 0.9608 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 2.084e-06/0.7628, allocations: 1.594 kB / 0.9608 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.468e-05/0.7629, allocations: 40.03 kB / 0.9609 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.7629, allocations: 126.7 kB / 0.961 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.7631, allocations: 137.7 kB / 0.9611 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.802e-06/0.7631, allocations: 25.7 kB / 0.9611 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.384e-05/0.7631, allocations: 86.52 kB / 0.9612 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.7631, allocations: 0 / 0.9612 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.11e-05/0.7631, allocations: 14.91 kB / 0.9612 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.322e-05/0.7632, allocations: 317.3 kB / 0.9615 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.7632, allocations: 10.91 kB / 0.9616 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.7633, allocations: 6.688 kB / 0.9616 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.7633, allocations: 21.16 kB / 0.9616 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.7633, allocations: 0 / 0.9616 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001368/0.7635, allocations: 46.08 kB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7635, allocations: 5.438 kB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.7635, allocations: 1.328 kB / 0.9616 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7635, allocations: 5.234 kB / 0.9616 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.7635, allocations: 0 / 0.9616 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7635, allocations: 4.062 kB / 0.9616 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.103e-05/0.7636, allocations: 5.219 kB / 0.9616 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-06/0.7636, allocations: 5.266 kB / 0.9616 GB, free: 2.223 MB / 0.7169 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.72e-05/0.7637, allocations: 183.6 kB / 0.9618 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.7637, allocations: 111.4 kB / 0.9619 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.974e-05/0.7637, allocations: 115.2 kB / 0.962 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.7638, allocations: 176.3 kB / 0.9622 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.579e-05/0.7638, allocations: 189.2 kB / 0.9624 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.472e-05/0.7638, allocations: 177.3 kB / 0.9626 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.764, allocations: 412.8 kB / 0.963 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.764, allocations: 105 kB / 0.9631 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.984e-05/0.764, allocations: 114 kB / 0.9632 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.773e-05/0.7641, allocations: 185.4 kB / 0.9633 GB, free: 396 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.118e-05/0.7641, allocations: 181.3 kB / 0.9635 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.56e-05/0.7641, allocations: 181.3 kB / 0.9637 GB, free: 20 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.327e-05/0.7642, allocations: 177.4 kB / 0.9639 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.7644, allocations: 317 kB / 0.9642 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.653e-05/0.7645, allocations: 192.2 kB / 0.9643 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.879e-05/0.7645, allocations: 181.2 kB / 0.9645 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.621e-05/0.7646, allocations: 102 kB / 0.9646 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.461e-05/0.7647, allocations: 189.2 kB / 0.9648 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/0.7648, allocations: 106.1 kB / 0.9649 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.336e-05/0.7648, allocations: 102.3 kB / 0.965 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7648, allocations: 0 / 0.965 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002692/0.7651, allocations: 32.78 kB / 0.965 GB, free: 14.62 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0002854/0.7654, allocations: 219.5 kB / 0.9652 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.069e-05/0.7655, allocations: 31.95 kB / 0.9653 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7655, allocations: 0 / 0.9653 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/0.7655, allocations: 5.344 kB / 0.9653 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.766, allocations: 0.5367 MB / 0.9658 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.7663, allocations: 269.9 kB / 0.966 GB, free: 13.6 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.7666, allocations: 0.6823 MB / 0.9667 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.7666, allocations: 9.375 kB / 0.9667 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.7666, allocations: 3.938 kB / 0.9667 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of Templates: time 0.00284/0.7695, allocations: 1.223 MB / 0.9679 GB, free: 12.27 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches