Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_10_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_10_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.006563/0.006563, allocations: 101.8 kB / 15.88 MB, free: 5.863 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.001488/0.001488, allocations: 197.8 kB / 16.79 MB, free: 5.805 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.419/1.419, allocations: 222.9 MB / 240.5 MB, free: 4.566 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.713/2.713, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 67.91 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.684/0.6856, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.004182/0.6898, allocations: 2.411 MB / 1.02 GB, free: 364 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001762/0.6916, allocations: 1.006 MB / 1.021 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001924/0.6918, allocations: 7.938 kB / 1.021 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.6921, allocations: 39.75 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002387/0.6924, allocations: 75.41 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.6929, allocations: 139.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.6933, allocations: 270.8 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.6934, allocations: 34.34 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.6937, allocations: 103.5 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.6938, allocations: 111.4 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.6939, allocations: 12 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.6942, allocations: 103.9 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.6943, allocations: 35.84 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.6944, allocations: 111.4 kB / 1.022 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.6947, allocations: 227.4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.6947, allocations: 0 / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6947, allocations: 4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.6948, allocations: 0 / 1.022 GB, free: 14.09 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001093/0.6959, allocations: 0.5905 MB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.6959, allocations: 11.98 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.696, allocations: 32.64 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.6965, allocations: 290.9 kB / 1.023 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.6965, allocations: 20.59 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.973e-05/0.6966, allocations: 20.38 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.697, allocations: 209.8 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.6971, allocations: 3.938 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.6971, allocations: 7.938 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6971, allocations: 8 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.6975, allocations: 107.8 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001128/0.6986, allocations: 0.8683 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.6992, allocations: 207.9 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.6994, allocations: 78.61 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.6994, allocations: 3.938 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005116/0.6999, allocations: 199.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 3.166e-06/0.6999, allocations: 0 / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0009364/0.7009, allocations: 361 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.701, allocations: 122.8 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.7012, allocations: 246.4 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.7013, allocations: 37.7 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.7014, allocations: 140.5 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.738e-05/0.7014, allocations: 59.27 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.7016, allocations: 78.06 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7017, allocations: 338.8 kB / 1.026 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.7019, allocations: 80.75 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.7023, allocations: 247.2 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.7028, allocations: 388.4 kB / 1.026 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.7029, allocations: 4 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007842/0.7037, allocations: 399 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.7037, allocations: 39.52 kB / 1.027 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/0.7037, allocations: 8 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.7038, allocations: 8 kB / 1.027 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.704, allocations: 71.77 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.704, allocations: 19.88 kB / 1.027 GB, free: 8.371 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002733/0.7043, allocations: 39.67 kB / 1.027 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.7044, allocations: 20 kB / 1.027 GB, free: 8.312 MB / 0.7794 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.000178/0.7045, allocations: 168.4 kB / 1.027 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/0.7046, allocations: 23.72 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.7047, allocations: 26.08 kB / 1.027 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.7047, allocations: 4 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.7047, allocations: 3.938 kB / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.7047, allocations: 0 / 1.027 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.705, allocations: 265.4 kB / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.705, allocations: 256 / 1.027 GB, free: 7.781 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.7052, allocations: 27.98 kB / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.7052, allocations: 0 / 1.027 GB, free: 7.754 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.048e-05/0.7052, allocations: 11.98 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.7052, allocations: 4 kB / 1.027 GB, free: 7.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.7052, allocations: 3.938 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.7061, allocations: 418.4 kB / 1.028 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.7062, allocations: 108.8 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.7063, allocations: 8.031 kB / 1.028 GB, free: 7.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001632/0.7064, allocations: 15.98 kB / 1.028 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.649e-05/0.7065, allocations: 27.89 kB / 1.028 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-05/0.7066, allocations: 11.98 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001598/0.7067, allocations: 170 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7067, allocations: 3.938 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004467/0.7072, allocations: 83.98 kB / 1.028 GB, free: 6.859 MB / 0.7794 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.0003913/0.7076, allocations: 162.8 kB / 1.028 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006633/0.7083, allocations: 302 kB / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.7083, allocations: 0 / 1.029 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002728/0.7086, allocations: 100.1 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.709, allocations: 60.64 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.7103, allocations: 0.6829 MB / 1.03 GB, free: 5.512 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.7107, allocations: 0.741 MB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.659e-05/0.7108, allocations: 27.38 kB / 1.03 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of SimCode: time 8.61e-07/0.7108, allocations: 4 kB / 1.03 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of Templates: time 0.007262/0.718, allocations: 3.831 MB / 1.034 GB, free: 0.9102 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeBoundaryCondition.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches