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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001573/0.001573, 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.00193/0.00193, allocations: 190.9 kB / 16.25 MB, free: 6.629 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.343/1.343, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.56/2.56, allocations: 437 MB / 0.71 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 71.88 kB / 0.8687 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.669/0.6703, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.003743/0.674, allocations: 2.403 MB / 1.019 GB, free: 288 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001631/0.6757, allocations: 0.9902 MB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.6759, allocations: 7.938 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.6761, allocations: 47.75 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.6764, allocations: 71.45 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.6769, allocations: 139.7 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003094/0.6772, allocations: 290.7 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.6774, allocations: 38.36 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.6776, allocations: 119.4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.6777, allocations: 111.5 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.471e-05/0.6777, allocations: 16 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.678, allocations: 107.9 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.897e-05/0.6781, allocations: 63.69 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.6782, allocations: 111.5 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.6786, allocations: 311 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.6786, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6786, allocations: 0 / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.6786, allocations: 0 / 1.021 GB, free: 13.87 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.0009919/0.6796, allocations: 0.5865 MB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.6797, allocations: 23.92 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.603e-05/0.6797, allocations: 24.66 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004077/0.6802, allocations: 294.9 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.6802, allocations: 16.59 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.6802, allocations: 20.38 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.6806, allocations: 205.8 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.6807, allocations: 0 / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.6807, allocations: 8 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6807, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003591/0.6811, allocations: 103.8 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000971/0.6821, allocations: 0.8762 MB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.6826, allocations: 207.9 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.6828, allocations: 90.53 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.6828, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004546/0.6833, allocations: 199.7 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=23): time 1.984e-06/0.6833, allocations: 0 / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23): time 0.0008756/0.6842, allocations: 357 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.339e-05/0.6842, allocations: 118.8 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002247/0.6845, allocations: 246.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.6845, allocations: 41.7 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.432e-05/0.6846, allocations: 144.9 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.6847, allocations: 55.25 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.943e-05/0.6848, allocations: 74.06 kB / 1.025 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.6849, allocations: 342.8 kB / 1.025 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.6852, allocations: 84.64 kB / 1.025 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.6855, allocations: 259.1 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000586/0.6861, allocations: 372.8 kB / 1.026 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.6861, allocations: 11.94 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007562/0.6869, allocations: 402.7 kB / 1.026 GB, free: 8.289 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.914e-05/0.6869, allocations: 33.7 kB / 1.026 GB, free: 8.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.6869, allocations: 8 kB / 1.026 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.687, allocations: 11.98 kB / 1.026 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.6872, allocations: 63.91 kB / 1.027 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.287e-05/0.6872, allocations: 15.88 kB / 1.027 GB, free: 8.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.6875, allocations: 48.08 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.6875, allocations: 16 kB / 1.027 GB, free: 8.09 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.0001504/0.6877, allocations: 164.4 kB / 1.027 GB, free: 7.922 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.375e-05/0.6877, allocations: 23.72 kB / 1.027 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.131e-05/0.6878, allocations: 25.7 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.6878, allocations: 4 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.6878, allocations: 7.938 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6878, allocations: 0 / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.6881, allocations: 269.4 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.6881, allocations: 0 / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.6882, allocations: 23.97 kB / 1.027 GB, free: 7.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.6883, allocations: 4 kB / 1.027 GB, free: 7.527 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.313e-05/0.6883, allocations: 4.25 kB / 1.027 GB, free: 7.523 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.6883, allocations: 4 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.6883, allocations: 11.86 kB / 1.027 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.6892, allocations: 411.8 kB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.6893, allocations: 112.6 kB / 1.028 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.877e-05/0.6893, allocations: 8 kB / 1.028 GB, free: 6.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.6895, allocations: 15.98 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/0.6896, allocations: 23.91 kB / 1.028 GB, free: 6.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.6896, allocations: 15.98 kB / 1.028 GB, free: 6.891 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001524/0.6898, allocations: 170 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6898, allocations: 3.938 kB / 1.028 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004037/0.6902, allocations: 79.98 kB / 1.028 GB, free: 6.641 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.0003402/0.6905, allocations: 173.7 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006373/0.6912, allocations: 304.1 kB / 1.028 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.6912, allocations: 3.938 kB / 1.028 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.6915, allocations: 107.8 kB / 1.029 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.6919, allocations: 57.55 kB / 1.029 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.6932, allocations: 0.6617 MB / 1.029 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.6935, allocations: 0.7368 MB / 1.03 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001625/0.6937, allocations: 59.06 kB / 1.03 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.377e-05/0.6938, allocations: 27.44 kB / 1.03 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.6938, allocations: 0 / 1.03 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of Templates: time 0.008108/0.7019, allocations: 3.907 MB / 1.034 GB, free: 0.625 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/jenkins/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