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.0009504/0.0009504, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001064/0.001064, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9075/0.9075, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.696/1.696, allocations: 359 MB / 0.6063 GB, free: 10.92 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.252e-06/1.252e-06, allocations: 0 / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.58e-05, allocations: 2.938 kB / 0.7883 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.002531/0.002547, allocations: 2.389 MB / 0.7907 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001214/0.003761, allocations: 1.038 MB / 0.7917 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.003862, allocations: 7.938 kB / 0.7917 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001862/0.004048, allocations: 47.64 kB / 0.7917 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.004185, allocations: 84.41 kB / 0.7918 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003981/0.004583, allocations: 173 kB / 0.792 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.004813, allocations: 294.6 kB / 0.7923 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.606e-05/0.004899, allocations: 30.19 kB / 0.7923 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.005077, allocations: 167.5 kB / 0.7924 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.403e-05/0.005171, allocations: 87.7 kB / 0.7925 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.472e-05/0.005196, allocations: 16 kB / 0.7925 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.005456, allocations: 114.4 kB / 0.7926 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.661e-05/0.005493, allocations: 43.83 kB / 0.7927 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.192e-05/0.005565, allocations: 79.75 kB / 0.7928 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002654/0.00583, allocations: 251.2 kB / 0.793 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005832, allocations: 0 / 0.793 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.31e-07/0.005832, allocations: 0 / 0.793 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.005836, allocations: 0 / 0.793 GB, free: 7.414 MB / 0.7448 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.0006096/0.006446, allocations: 0.6247 MB / 0.7936 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.812e-05/0.006474, allocations: 8.031 kB / 0.7936 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.006534, allocations: 44.78 kB / 0.7937 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.006754, allocations: 232.9 kB / 0.7939 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.006769, allocations: 12.61 kB / 0.7939 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.102e-05/0.0068, allocations: 24.36 kB / 0.7939 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003576/0.007157, allocations: 196.9 kB / 0.7941 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.007168, allocations: 192 / 0.7941 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.007181, allocations: 8.375 kB / 0.7941 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.007188, allocations: 3.938 kB / 0.7941 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.731e-05/0.007255, allocations: 44.38 kB / 0.7942 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.007868, allocations: 1.019 MB / 0.7952 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.008051, allocations: 163 kB / 0.7953 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.648e-05/0.008097, allocations: 47.23 kB / 0.7954 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.008105, allocations: 4 kB / 0.7954 GB, free: 4.805 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.008283, allocations: 171.9 kB / 0.7955 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.242e-06/0.008284, allocations: 7.938 kB / 0.7955 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0003152/0.008599, allocations: 249.3 kB / 0.7958 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.008645, allocations: 111.4 kB / 0.7959 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.008789, allocations: 292.7 kB / 0.7962 GB, free: 3.922 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.008812, allocations: 37.7 kB / 0.7962 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.008892, allocations: 192 kB / 0.7964 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.008935, allocations: 75.48 kB / 0.7965 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.529e-05/0.00901, allocations: 76.22 kB / 0.7965 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.009126, allocations: 0.5171 MB / 0.797 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.055e-05/0.009176, allocations: 54.55 kB / 0.7971 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.009326, allocations: 313.6 kB / 0.7974 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.009561, allocations: 386.2 kB / 0.7977 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.009565, allocations: 0 / 0.7977 GB, free: 2.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003202/0.009885, allocations: 353.1 kB / 0.7981 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.057e-05/0.009915, allocations: 41.7 kB / 0.7981 GB, free: 1.621 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.009923, allocations: 5.344 kB / 0.7981 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.009936, allocations: 8 kB / 0.7981 GB, free: 1.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001558/0.01009, allocations: 79.89 kB / 0.7982 GB, free: 1.531 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.0101, allocations: 12.66 kB / 0.7982 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.01022, allocations: 43.77 kB / 0.7983 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.01024, allocations: 16.66 kB / 0.7983 GB, free: 1.461 MB / 0.7448 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.0001081/0.01035, allocations: 201.7 kB / 0.7985 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.01039, allocations: 39.8 kB / 0.7985 GB, free: 1.219 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.01042, allocations: 21.77 kB / 0.7985 GB, free: 1.199 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.01043, allocations: 7.938 kB / 0.7985 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.01043, allocations: 2.688 kB / 0.7985 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01043, allocations: 0 / 0.7985 GB, free: 1.191 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.01059, allocations: 173.1 kB / 0.7987 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01059, allocations: 0 / 0.7987 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.14e-05/0.01064, allocations: 23.86 kB / 0.7987 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01064, allocations: 0 / 0.7987 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01066, allocations: 11.98 kB / 0.7987 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01066, allocations: 4.938 kB / 0.7987 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.01066, allocations: 0 / 0.7987 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.01097, allocations: 302.7 kB / 0.799 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-05/0.01099, allocations: 27.8 kB / 0.7991 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.01102, allocations: 11.98 kB / 0.7991 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.369e-05/0.01108, allocations: 13.05 kB / 0.7991 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.01113, allocations: 19.91 kB / 0.7991 GB, free: 0.5625 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.01114, allocations: 16.28 kB / 0.7991 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.533e-05/0.01122, allocations: 194.2 kB / 0.7993 GB, free: 364 kB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01122, allocations: 0 / 0.7993 GB, free: 364 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002748/0.01149, allocations: 83.83 kB / 0.7994 GB, free: 280 kB / 0.7448 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.00023/0.01172, allocations: 176.8 kB / 0.7996 GB, free: 100 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.01196, allocations: 251 kB / 0.7998 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.01197, allocations: 0 / 0.7998 GB, free: 15.83 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.01204, allocations: 63.56 kB / 0.7999 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.01227, allocations: 73.52 kB / 0.7999 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.01306, allocations: 0.5366 MB / 0.8005 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.0131, allocations: 80.64 kB / 0.8005 GB, free: 15.02 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.79e-05/0.0132, allocations: 50.94 kB / 0.8006 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.01348, allocations: 134.2 kB / 0.8007 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of SimCode: time 6.01e-07/0.01348, allocations: 0 / 0.8007 GB, free: 14.84 MB / 0.7605 GB Notification: Performance of Templates: time 0.006414/0.0199, allocations: 4.79 MB / 0.8054 GB, free: 10.2 MB / 0.7605 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: 6.110878178384155]