Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, 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.00116/0.00116, allocations: 188 kB / 16.25 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.321/1.321, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.745/2.745, allocations: 472.6 MB / 0.7448 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.86 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2617, allocations: 159.9 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003285/0.265, allocations: 2.4 MB / 1.07 GB, free: 8.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.2663, allocations: 1.005 MB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.2664, allocations: 7.938 kB / 1.071 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.2667, allocations: 39.75 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.2668, allocations: 79.39 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.2672, allocations: 143.2 kB / 1.071 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.2675, allocations: 286.8 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.2676, allocations: 44.61 kB / 1.072 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.2678, allocations: 111.5 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.2679, allocations: 115.5 kB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.977e-05/0.2679, allocations: 16 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/0.2682, allocations: 107.8 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.385e-05/0.2682, allocations: 47.83 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001021/0.2683, allocations: 119.5 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.2687, allocations: 315 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2687, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2687, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.2687, allocations: 0 / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.000907/0.2696, allocations: 0.5903 MB / 1.073 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.2697, allocations: 8.031 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.015e-05/0.2697, allocations: 32.66 kB / 1.073 GB, free: 5.219 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.2701, allocations: 295 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.2702, allocations: 12.61 kB / 1.073 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.2702, allocations: 16.38 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.2706, allocations: 208.6 kB / 1.074 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.2706, allocations: 3.938 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.458e-05/0.2707, allocations: 11.98 kB / 1.074 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.2707, allocations: 7.984 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.271, allocations: 99.84 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009499/0.272, allocations: 0.8761 MB / 1.075 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004645/0.2725, allocations: 203.9 kB / 1.075 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.2727, allocations: 78.61 kB / 1.075 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2727, allocations: 4 kB / 1.075 GB, free: 3.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004209/0.2731, allocations: 205.7 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.924e-06/0.2731, allocations: 0 / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008484/0.274, allocations: 353.1 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.2741, allocations: 122.8 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.2743, allocations: 246.4 kB / 1.076 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.2743, allocations: 41.69 kB / 1.076 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.2744, allocations: 132.6 kB / 1.076 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.2745, allocations: 71.17 kB / 1.076 GB, free: 2.035 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.2746, allocations: 78 kB / 1.076 GB, free: 1.949 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2747, allocations: 338.8 kB / 1.076 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.2749, allocations: 80.75 kB / 1.076 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.2752, allocations: 255.2 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.2758, allocations: 376.5 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.2758, allocations: 4 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0006895/0.2765, allocations: 402.9 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.2765, allocations: 33.7 kB / 1.077 GB, free: 300 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.2765, allocations: 8 kB / 1.077 GB, free: 292 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2765, allocations: 8 kB / 1.077 GB, free: 284 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.2768, allocations: 67.84 kB / 1.077 GB, free: 216 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/0.2768, allocations: 19.86 kB / 1.078 GB, free: 196 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.277, allocations: 43.67 kB / 1.078 GB, free: 152 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.478e-05/0.2771, allocations: 20.22 kB / 1.078 GB, free: 132 kB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 32 (TBouSte.QAve_flow,$PRE.TBouSte.QAve_flow,TBouSte.UOld,$PRE.TBouSte.UOld,TBouSte.port.T,$PRE.TBouSte.port.T,TBouSte.iSam,$PRE.TBouSte.iSam,$whenCondition4,TBouCon.QAve_flow,$PRE.TBouCon.QAve_flow,TBouCon.UOld,$PRE.TBouCon.UOld,TBouCon.port.T,$PRE.TBouCon.port.T,TBouCon.iSam,$PRE.TBouCon.iSam,$whenCondition3,TBouPul.QAve_flow,$PRE.TBouPul.QAve_flow,TBouPul.UOld,$PRE.TBouPul.UOld,TBouPul.port.T,$PRE.TBouPul.port.T,TBouPul.iSam,$PRE.TBouPul.iSam,$whenCondition1,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001414/0.2772, allocations: 156 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.757e-05/0.2773, allocations: 35.55 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.2773, allocations: 21.72 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.2773, allocations: 4 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2773, allocations: 3.938 kB / 1.078 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.2774, allocations: 3.984 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.2776, allocations: 269.4 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2776, allocations: 4 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.2778, allocations: 19.98 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2778, allocations: 0 / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.2778, allocations: 12.3 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.2778, allocations: 4 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2778, allocations: 3.938 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.2786, allocations: 428.6 kB / 1.078 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.908e-05/0.2787, allocations: 96.83 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.933e-05/0.2788, allocations: 8 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.2789, allocations: 16.02 kB / 1.079 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.457e-05/0.279, allocations: 27.91 kB / 1.079 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.279, allocations: 12.25 kB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000138/0.2792, allocations: 170 kB / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2792, allocations: 0 / 1.079 GB, free: 14.76 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003908/0.2796, allocations: 83.94 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (TBouSte.U,TBouCon.U,TBouPul.U) * Number of discrete variables: 18 ($whenCondition4,TBouSte.QAve_flow,TBouSte.port.T,TBouSte.UOld,TBouSte.iSam,$whenCondition3,TBouCon.QAve_flow,TBouCon.port.T,TBouCon.UOld,TBouCon.iSam,$whenCondition2,$whenCondition1,TBouPul.QAve_flow,TBouPul.port.T,TBouPul.UOld,TBouPul.iSam,pulse.T_start,pulse.count) * Number of discrete states: 7 (TBouPul.iSam,TBouPul.UOld,pulse.count,TBouCon.iSam,TBouCon.UOld,TBouSte.iSam,TBouSte.UOld) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0003224/0.2799, allocations: 179 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.2805, allocations: 296.5 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2805, allocations: 4.125 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.2808, allocations: 107.9 kB / 1.079 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.2812, allocations: 52.64 kB / 1.079 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.2823, allocations: 0.6755 MB / 1.08 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.2825, allocations: 0.7407 MB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.2827, allocations: 50.94 kB / 1.081 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.679e-05/0.2827, allocations: 31.44 kB / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of SimCode: time 3.1e-07/0.2828, allocations: 0 / 1.081 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.007184/0.2899, allocations: 3.896 MB / 1.085 GB, free: 8.664 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches