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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8871/0.8871, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.194/2.194, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88001,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=88001,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.8898 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.798e-06/1.092e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00253/0.002541, allocations: 2.393 MB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003565, allocations: 1.028 MB / 0.8931 GB, free: 6.32 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.003656, allocations: 11.88 kB / 0.8931 GB, free: 6.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001687/0.003824, allocations: 47.64 kB / 0.8932 GB, free: 6.262 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/0.003941, allocations: 87.2 kB / 0.8932 GB, free: 6.176 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000305/0.004246, allocations: 167.4 kB / 0.8934 GB, free: 6.012 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004438, allocations: 302.6 kB / 0.8937 GB, free: 5.715 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.785e-05/0.004516, allocations: 28.56 kB / 0.8937 GB, free: 5.684 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001701/0.004686, allocations: 175.5 kB / 0.8939 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.71e-05/0.004763, allocations: 79.72 kB / 0.894 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.348e-05/0.004787, allocations: 16 kB / 0.894 GB, free: 5.418 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.005, allocations: 111.8 kB / 0.8941 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.005032, allocations: 47.81 kB / 0.8941 GB, free: 5.262 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.005091, allocations: 79.77 kB / 0.8942 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.005327, allocations: 247.2 kB / 0.8944 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.005329, allocations: 0 / 0.8944 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.91e-07/0.005329, allocations: 4 kB / 0.8944 GB, free: 4.938 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.115e-06/0.005332, allocations: 0 / 0.8944 GB, free: 4.938 MB / 0.8542 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.0005796/0.005912, allocations: 0.6263 MB / 0.8951 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.005943, allocations: 12.62 kB / 0.8951 GB, free: 4.254 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.283e-05/0.005996, allocations: 44.73 kB / 0.8951 GB, free: 4.211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.006184, allocations: 231.6 kB / 0.8953 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.006197, allocations: 16.61 kB / 0.8953 GB, free: 3.938 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.006222, allocations: 20.38 kB / 0.8954 GB, free: 3.918 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.00641, allocations: 199.9 kB / 0.8956 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.006419, allocations: 192 / 0.8956 GB, free: 3.691 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.006432, allocations: 8.375 kB / 0.8956 GB, free: 3.684 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.006438, allocations: 7.938 kB / 0.8956 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.0065, allocations: 43.88 kB / 0.8956 GB, free: 3.633 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.007053, allocations: 1.018 MB / 0.8966 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.007212, allocations: 161.2 kB / 0.8968 GB, free: 2.367 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.529e-05/0.007257, allocations: 51.11 kB / 0.8968 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.007266, allocations: 7.938 kB / 0.8968 GB, free: 2.297 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/0.007423, allocations: 160 kB / 0.897 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=23): time 1.082e-06/0.007424, allocations: 0 / 0.897 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23): time 0.0005291/0.007953, allocations: 253.2 kB / 0.8972 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.007994, allocations: 118.8 kB / 0.8973 GB, free: 1.719 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/0.008124, allocations: 288.2 kB / 0.8976 GB, free: 1.422 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.008144, allocations: 41.69 kB / 0.8976 GB, free: 1.375 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.346e-05/0.008218, allocations: 191.3 kB / 0.8978 GB, free: 1.184 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.008253, allocations: 67.53 kB / 0.8979 GB, free: 1.117 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/0.008317, allocations: 75.69 kB / 0.898 GB, free: 1.031 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.008423, allocations: 0.5117 MB / 0.8985 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.825e-05/0.008471, allocations: 62.55 kB / 0.8985 GB, free: 452 kB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.008605, allocations: 317.5 kB / 0.8988 GB, free: 16 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.008816, allocations: 376.8 kB / 0.8992 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.008819, allocations: 4 kB / 0.8992 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002676/0.009086, allocations: 352.8 kB / 0.8995 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.009109, allocations: 37.7 kB / 0.8996 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.009116, allocations: 8 kB / 0.8996 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.009128, allocations: 8 kB / 0.8996 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.009266, allocations: 80.08 kB / 0.8997 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.009273, allocations: 11.94 kB / 0.8997 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.009382, allocations: 47.77 kB / 0.8997 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.009395, allocations: 19.94 kB / 0.8997 GB, free: 14.95 MB / 0.8698 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 9.819e-05/0.009493, allocations: 211.1 kB / 0.8999 GB, free: 14.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.009525, allocations: 31.86 kB / 0.9 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.009559, allocations: 25.77 kB / 0.9 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.009561, allocations: 0 / 0.9 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.009564, allocations: 4 kB / 0.9 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.009568, allocations: 0 / 0.9 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001288/0.009697, allocations: 169 kB / 0.9001 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.009698, allocations: 0 / 0.9001 GB, free: 14.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.009741, allocations: 23.92 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.009743, allocations: 4 kB / 0.9002 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.009756, allocations: 7.984 kB / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.009757, allocations: 0 / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.009758, allocations: 0 / 0.9002 GB, free: 14.44 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.01006, allocations: 317.6 kB / 0.9005 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.01008, allocations: 27.8 kB / 0.9005 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.01011, allocations: 11.98 kB / 0.9005 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.01017, allocations: 11.98 kB / 0.9005 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.162e-05/0.01021, allocations: 19.97 kB / 0.9006 GB, free: 14.03 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.01022, allocations: 15.98 kB / 0.9006 GB, free: 14.01 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 7.541e-05/0.0103, allocations: 189.1 kB / 0.9007 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.0103, allocations: 0 / 0.9007 GB, free: 13.83 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002482/0.01055, allocations: 87.86 kB / 0.9008 GB, free: 13.74 MB / 0.8698 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.0002279/0.01078, allocations: 174.4 kB / 0.901 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.01099, allocations: 246 kB / 0.9012 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.01099, allocations: 1.625 kB / 0.9012 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.01106, allocations: 63.73 kB / 0.9013 GB, free: 13.24 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.01129, allocations: 77.11 kB / 0.9014 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.01207, allocations: 0.5297 MB / 0.9019 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.318e-05/0.01211, allocations: 84.62 kB / 0.902 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.999e-05/0.01219, allocations: 46.95 kB / 0.902 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001227/0.01232, allocations: 142.1 kB / 0.9021 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of SimCode: time 7.21e-07/0.01232, allocations: 0 / 0.9021 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.006778/0.0191, allocations: 4.72 MB / 0.9068 GB, free: 7.727 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.714697814080864]