Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001051/0.001051, allocations: 90.75 kB / 15.06 MB, free: 1.094 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.001217/0.001217, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.857/2.857, allocations: 437.7 MB / 0.7117 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0007165/0.0007172, allocations: 12 kB / 0.8722 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9372/0.938, allocations: 153.8 MB / 1.022 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003589/0.9416, allocations: 2.608 MB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002781/0.9444, allocations: 1.954 MB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.9446, allocations: 4 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.9458, allocations: 418.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.946, allocations: 135.1 kB / 1.027 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001069/0.9461, allocations: 39.95 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004745/0.9466, allocations: 425.7 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002237/0.9469, allocations: 119.5 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001831/0.947, allocations: 131.4 kB / 1.028 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002053/0.9473, allocations: 159.3 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.9473, allocations: 16 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.587e-05/0.9474, allocations: 20 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.9475, allocations: 79.67 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.9476, allocations: 113.5 kB / 1.028 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003878/0.948, allocations: 438.7 kB / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.948, allocations: 0 / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.466e-06/0.948, allocations: 0 / 1.029 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.051e-05/0.948, allocations: 0 / 1.029 GB, free: 9.547 MB / 0.7794 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.0009141/0.9489, allocations: 0.6462 MB / 1.03 GB, free: 8.848 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.949, allocations: 12.03 kB / 1.03 GB, free: 8.836 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.9491, allocations: 43.44 kB / 1.03 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000485/0.9496, allocations: 353.2 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.9496, allocations: 20.38 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/0.9497, allocations: 23.95 kB / 1.03 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.9501, allocations: 211.3 kB / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.9501, allocations: 0 / 1.03 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.9501, allocations: 4 kB / 1.03 GB, free: 8.148 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.9501, allocations: 4 kB / 1.03 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003686/0.9505, allocations: 173.7 kB / 1.03 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.9517, allocations: 0.8817 MB / 1.031 GB, free: 7.02 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.952, allocations: 158.6 kB / 1.031 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002157/0.9523, allocations: 124.7 kB / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.9523, allocations: 0 / 1.031 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.9523, allocations: 38.56 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.9523, allocations: 0 / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0006098/0.9529, allocations: 271.2 kB / 1.032 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.953, allocations: 55.36 kB / 1.032 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.9535, allocations: 417.7 kB / 1.032 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.9535, allocations: 29.7 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.9537, allocations: 204.2 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.546e-05/0.9537, allocations: 67.08 kB / 1.032 GB, free: 5.629 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.9538, allocations: 8 kB / 1.032 GB, free: 5.621 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9539, allocations: 342.8 kB / 1.033 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.954, allocations: 59.97 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.9542, allocations: 61.86 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.9544, allocations: 71.98 kB / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.9544, allocations: 0 / 1.033 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003809/0.9547, allocations: 218.4 kB / 1.033 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.9548, allocations: 7.953 kB / 1.033 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9548, allocations: 4 kB / 1.033 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.9548, allocations: 4 kB / 1.033 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002596/0.9551, allocations: 55.95 kB / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.9551, allocations: 0 / 1.033 GB, free: 4.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001544/0.9552, allocations: 27.83 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.9553, allocations: 4 kB / 1.033 GB, free: 4.77 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.9555, allocations: 169.8 kB / 1.033 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.9555, allocations: 35.53 kB / 1.034 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.541e-05/0.9556, allocations: 51.52 kB / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.9556, allocations: 0 / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.9556, allocations: 0 / 1.034 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.9556, allocations: 4 kB / 1.034 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004441/0.9561, allocations: 377.3 kB / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9561, allocations: 0 / 1.034 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/0.9564, allocations: 63.89 kB / 1.034 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.9564, allocations: 4 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.538e-05/0.9564, allocations: 4 kB / 1.034 GB, free: 4.016 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9564, allocations: 7.953 kB / 1.034 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.9564, allocations: 3.938 kB / 1.034 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006218/0.9571, allocations: 389 kB / 1.034 GB, free: 3.609 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.9572, allocations: 116.7 kB / 1.034 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.434e-05/0.9572, allocations: 4 kB / 1.034 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/0.9574, allocations: 16.02 kB / 1.035 GB, free: 3.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.354e-05/0.9575, allocations: 15.97 kB / 1.035 GB, free: 3.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.867e-06/0.9575, allocations: 7.938 kB / 1.035 GB, free: 3.434 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003332/0.9578, allocations: 295.2 kB / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9578, allocations: 0 / 1.035 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003208/0.9582, allocations: 75.84 kB / 1.035 GB, free: 3.07 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001586/0.9583, allocations: 111.2 kB / 1.035 GB, free: 2.949 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.9587, allocations: 159.8 kB / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9587, allocations: 0 / 1.035 GB, free: 2.793 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.9589, allocations: 83.89 kB / 1.035 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.9595, allocations: 82.08 kB / 1.035 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.9608, allocations: 0.8929 MB / 1.036 GB, free: 1.719 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.9612, allocations: 0.7914 MB / 1.037 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001191/0.9613, allocations: 38.95 kB / 1.037 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.9614, allocations: 23.44 kB / 1.037 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.9614, allocations: 0 / 1.037 GB, free: 0.8438 MB / 0.7794 GB Notification: Performance of Templates: time 0.007679/0.9691, allocations: 3.577 MB / 1.04 GB, free: 13.38 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches