Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009159/0.0009159, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0008934/0.0008934, allocations: 165 kB / 23.82 MB, free: 0.7422 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.8617/0.8617, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.64/1.64, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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=88097,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=88097,variableFilter="time|TBouSte.port.T|TBouCon.port.T|TBouPul.port.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 1.094 kB / 0.7871 GB, free: 11.38 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.334e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.37 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00235/0.002364, allocations: 2.412 MB / 0.7895 GB, free: 8.961 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.003444, allocations: 1.036 MB / 0.7905 GB, free: 7.922 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.252e-05/0.003527, allocations: 8.781 kB / 0.7905 GB, free: 7.914 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.003712, allocations: 55.56 kB / 0.7905 GB, free: 7.859 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.003841, allocations: 89.94 kB / 0.7906 GB, free: 7.773 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.004184, allocations: 171.4 kB / 0.7908 GB, free: 7.605 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002165/0.0044, allocations: 295.7 kB / 0.7911 GB, free: 7.316 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.541e-05/0.004486, allocations: 24.58 kB / 0.7911 GB, free: 7.293 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.004653, allocations: 167.5 kB / 0.7913 GB, free: 7.129 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.301e-05/0.004736, allocations: 84.41 kB / 0.7913 GB, free: 7.047 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.004761, allocations: 16 kB / 0.7913 GB, free: 7.031 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.004996, allocations: 117.2 kB / 0.7915 GB, free: 6.918 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.00503, allocations: 43.83 kB / 0.7915 GB, free: 6.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.87e-05/0.005099, allocations: 75.81 kB / 0.7916 GB, free: 6.801 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.005368, allocations: 264.1 kB / 0.7918 GB, free: 6.543 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00537, allocations: 0 / 0.7918 GB, free: 6.543 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.41e-07/0.00537, allocations: 0 / 0.7918 GB, free: 6.543 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.005374, allocations: 1.031 kB / 0.7918 GB, free: 6.543 MB / 0.698 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.0006308/0.006005, allocations: 0.6194 MB / 0.7924 GB, free: 5.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.006034, allocations: 8.031 kB / 0.7924 GB, free: 5.875 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.037e-05/0.006104, allocations: 50.33 kB / 0.7925 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.006326, allocations: 215.7 kB / 0.7927 GB, free: 5.594 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.006341, allocations: 16.61 kB / 0.7927 GB, free: 5.578 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.006373, allocations: 28.3 kB / 0.7927 GB, free: 5.551 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.0066, allocations: 197.4 kB / 0.7929 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.006611, allocations: 192 / 0.7929 GB, free: 5.328 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.006626, allocations: 8.312 kB / 0.7929 GB, free: 5.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.857e-06/0.006634, allocations: 14.81 kB / 0.7929 GB, free: 5.309 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.643e-05/0.006721, allocations: 51.88 kB / 0.793 GB, free: 5.258 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007233/0.007444, allocations: 1.06 MB / 0.794 GB, free: 4.137 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.007636, allocations: 153.4 kB / 0.7942 GB, free: 3.949 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.907e-05/0.007695, allocations: 47.81 kB / 0.7942 GB, free: 3.891 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.007704, allocations: 4 kB / 0.7942 GB, free: 3.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.007892, allocations: 188.4 kB / 0.7944 GB, free: 3.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 1.353e-06/0.007893, allocations: 1.156 kB / 0.7944 GB, free: 3.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0003533/0.008246, allocations: 261.3 kB / 0.7947 GB, free: 3.418 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.008291, allocations: 122.7 kB / 0.7948 GB, free: 3.273 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.008446, allocations: 289.4 kB / 0.795 GB, free: 2.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.008466, allocations: 37.7 kB / 0.7951 GB, free: 2.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.774e-05/0.008544, allocations: 199.3 kB / 0.7953 GB, free: 2.727 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.008586, allocations: 65.28 kB / 0.7953 GB, free: 2.664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.746e-05/0.008653, allocations: 83.67 kB / 0.7954 GB, free: 2.57 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.008761, allocations: 0.5117 MB / 0.7959 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.146e-05/0.008832, allocations: 66.53 kB / 0.796 GB, free: 1.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001519/0.008984, allocations: 317.6 kB / 0.7963 GB, free: 1.551 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.009227, allocations: 390 kB / 0.7967 GB, free: 1.059 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.009232, allocations: 4 kB / 0.7967 GB, free: 1.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003145/0.009546, allocations: 374 kB / 0.797 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.009571, allocations: 41.69 kB / 0.7971 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.009577, allocations: 5.969 kB / 0.7971 GB, free: 0.625 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.009592, allocations: 8 kB / 0.7971 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.009743, allocations: 83.83 kB / 0.7971 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.009753, allocations: 11.94 kB / 0.7972 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.009862, allocations: 43.77 kB / 0.7972 GB, free: 492 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.009879, allocations: 20.75 kB / 0.7972 GB, free: 472 kB / 0.698 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.014e-05/0.009969, allocations: 198.5 kB / 0.7974 GB, free: 268 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.01, allocations: 35.78 kB / 0.7974 GB, free: 232 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.01004, allocations: 29.77 kB / 0.7975 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.01004, allocations: 4 kB / 0.7975 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.01004, allocations: 0 / 0.7975 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01005, allocations: 0 / 0.7975 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.0102, allocations: 200.4 kB / 0.7977 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.0102, allocations: 4.562 kB / 0.7977 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.704e-05/0.01025, allocations: 16.92 kB / 0.7977 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.01025, allocations: 0 / 0.7977 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.01027, allocations: 13.27 kB / 0.7977 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01027, allocations: 4 kB / 0.7977 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01027, allocations: 0 / 0.7977 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.0106, allocations: 328.2 kB / 0.798 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.137e-05/0.01063, allocations: 27.8 kB / 0.798 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.01065, allocations: 11.98 kB / 0.7981 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.26e-05/0.01072, allocations: 13.33 kB / 0.7981 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01077, allocations: 19.97 kB / 0.7981 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.01078, allocations: 15.98 kB / 0.7981 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 8.467e-05/0.01086, allocations: 189.6 kB / 0.7983 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01086, allocations: 4.594 kB / 0.7983 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002406/0.0111, allocations: 91.81 kB / 0.7984 GB, free: 15.21 MB / 0.7136 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.0002397/0.01134, allocations: 169.1 kB / 0.7985 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.01161, allocations: 272.1 kB / 0.7988 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01161, allocations: 0.9375 kB / 0.7988 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/0.01169, allocations: 73.61 kB / 0.7989 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.01192, allocations: 72.47 kB / 0.7989 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.01276, allocations: 0.5216 MB / 0.7994 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.912e-05/0.0128, allocations: 84.5 kB / 0.7995 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.69e-05/0.01288, allocations: 70.73 kB / 0.7996 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.01292, allocations: 24.5 kB / 0.7996 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of SimCode: time 6.01e-07/0.01292, allocations: 0 / 0.7996 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.006019/0.01894, allocations: 4.635 MB / 0.8041 GB, free: 9.367 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 5.7343453811481595]