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.00138/0.00138, allocations: 106.8 kB / 15.99 MB, free: 6.348 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.001494/0.001494, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.414/1.414, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.406/2.406, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 61.86 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3329, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.00752/0.3405, allocations: 3.091 MB / 0.9528 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004893/0.3455, allocations: 2.122 MB / 0.9549 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004957/0.346, allocations: 8 kB / 0.9549 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.3485, allocations: 486.1 kB / 0.9554 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.3493, allocations: 127.1 kB / 0.9555 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.3496, allocations: 51.97 kB / 0.9555 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001008/0.3506, allocations: 441.9 kB / 0.956 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004345/0.3511, allocations: 155.2 kB / 0.9561 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004185/0.3515, allocations: 155.4 kB / 0.9563 GB, free: 2.551 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004617/0.352, allocations: 187.1 kB / 0.9564 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.3521, allocations: 36 kB / 0.9565 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.3523, allocations: 36 kB / 0.9565 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001883/0.3525, allocations: 95.67 kB / 0.9566 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003844/0.3529, allocations: 218.9 kB / 0.9568 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006816/0.3536, allocations: 462.7 kB / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.3536, allocations: 0 / 0.9572 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3536, allocations: 3.938 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.926e-05/0.3536, allocations: 0 / 0.9572 GB, free: 1.531 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.001829/0.3555, allocations: 0.7045 MB / 0.9579 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.3555, allocations: 8.031 kB / 0.9579 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001457/0.3557, allocations: 40.47 kB / 0.958 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.3564, allocations: 370.1 kB / 0.9583 GB, free: 336 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.3565, allocations: 20.81 kB / 0.9584 GB, free: 316 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.472e-05/0.3566, allocations: 24.31 kB / 0.9584 GB, free: 292 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.3572, allocations: 199.6 kB / 0.9586 GB, free: 88 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.3572, allocations: 7.906 kB / 0.9586 GB, free: 80 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.3573, allocations: 8 kB / 0.9586 GB, free: 72 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.3573, allocations: 8 kB / 0.9586 GB, free: 64 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006442/0.358, allocations: 169.6 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.3599, allocations: 0.8623 MB / 0.9596 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004547/0.3604, allocations: 150.6 kB / 0.9597 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.3607, allocations: 113.1 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3608, allocations: 7.906 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.3608, allocations: 30.56 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=18): time 2.575e-06/0.3608, allocations: 4 kB / 0.9599 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of matching and sorting (n=18): time 0.0009514/0.3618, allocations: 257 kB / 0.9601 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.3619, allocations: 55.41 kB / 0.9602 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.3626, allocations: 417.7 kB / 0.9606 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.3627, allocations: 29.7 kB / 0.9606 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.3629, allocations: 208.2 kB / 0.9608 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.363, allocations: 67.02 kB / 0.9609 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.3631, allocations: 25.72 kB / 0.9609 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002265/0.3634, allocations: 346.8 kB / 0.9612 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002239/0.3636, allocations: 67.89 kB / 0.9613 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.3638, allocations: 51.97 kB / 0.9613 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004324/0.3643, allocations: 130.9 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.3643, allocations: 4 kB / 0.9615 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00062/0.3649, allocations: 215.1 kB / 0.9617 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.637e-05/0.365, allocations: 4 kB / 0.9617 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/0.365, allocations: 3.984 kB / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.365, allocations: 3.938 kB / 0.9617 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003925/0.3654, allocations: 51.97 kB / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.3654, allocations: 0 / 0.9617 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.3657, allocations: 31.77 kB / 0.9618 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.3658, allocations: 4 kB / 0.9618 GB, free: 12.65 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.0002298/0.366, allocations: 161.8 kB / 0.9619 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001081/0.3661, allocations: 31.62 kB / 0.962 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3662, allocations: 43.53 kB / 0.962 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3663, allocations: 7.938 kB / 0.962 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.3663, allocations: 0 / 0.962 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3663, allocations: 0 / 0.962 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006574/0.367, allocations: 381.2 kB / 0.9624 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.367, allocations: 0 / 0.9624 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003949/0.3674, allocations: 59.91 kB / 0.9624 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.3674, allocations: 0 / 0.9624 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.3674, allocations: 3.938 kB / 0.9624 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.3674, allocations: 0 / 0.9624 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3675, allocations: 0 / 0.9624 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009059/0.3684, allocations: 381.4 kB / 0.9628 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.3686, allocations: 124.6 kB / 0.9629 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.3686, allocations: 3.938 kB / 0.9629 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.3689, allocations: 19.98 kB / 0.9629 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.866e-05/0.369, allocations: 7.984 kB / 0.9629 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.369, allocations: 8 kB / 0.9629 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005346/0.3696, allocations: 311.1 kB / 0.9632 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.01e-07/0.3696, allocations: 0 / 0.9632 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005218/0.3701, allocations: 75.84 kB / 0.9633 GB, free: 10.97 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.0001843/0.3703, allocations: 99.25 kB / 0.9634 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005649/0.3709, allocations: 151.9 kB / 0.9636 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3709, allocations: 3.938 kB / 0.9636 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002372/0.3712, allocations: 87.81 kB / 0.9636 GB, free: 10.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009525/0.3721, allocations: 90.98 kB / 0.9637 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.3742, allocations: 0.903 MB / 0.9646 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/0.3748, allocations: 0.7988 MB / 0.9654 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.375, allocations: 27.44 kB / 0.9654 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of SimCode: time 6.31e-07/0.375, allocations: 0 / 0.9654 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of Templates: time 0.01146/0.3864, allocations: 4.349 MB / 0.9697 GB, free: 4.438 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