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.001101/0.001101, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001212/0.001212, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.965/0.965, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.688/1.688, allocations: 359 MB / 0.6055 GB, free: 10.87 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.603e-06/1.603e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.214e-05/2.374e-05, allocations: 4.734 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeBoundaryCondition): time 0.00382/0.003844, allocations: 2.391 MB / 0.7899 GB, free: 9.793 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.005576, allocations: 1.034 MB / 0.7909 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.005716, allocations: 7.938 kB / 0.7909 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.005951, allocations: 43.64 kB / 0.791 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001948/0.006146, allocations: 92.08 kB / 0.7911 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005126/0.006659, allocations: 165.4 kB / 0.7912 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.006898, allocations: 294.6 kB / 0.7915 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.111e-05/0.006989, allocations: 32.56 kB / 0.7915 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001886/0.007177, allocations: 169.1 kB / 0.7917 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.038e-05/0.007258, allocations: 83.72 kB / 0.7918 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.007283, allocations: 16 kB / 0.7918 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002671/0.00755, allocations: 115.8 kB / 0.7919 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.007588, allocations: 45.38 kB / 0.7919 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.694e-05/0.007655, allocations: 71.83 kB / 0.792 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.007917, allocations: 255.1 kB / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.00792, allocations: 0 / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.213e-06/0.007921, allocations: 0.5938 kB / 0.7922 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.007925, allocations: 0 / 0.7922 GB, free: 7.402 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.0006253/0.00855, allocations: 0.6322 MB / 0.7929 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.008584, allocations: 12.03 kB / 0.7929 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.008643, allocations: 32.8 kB / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.008854, allocations: 236.8 kB / 0.7931 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.008869, allocations: 16.59 kB / 0.7932 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.668e-05/0.008896, allocations: 17.78 kB / 0.7932 GB, free: 6.398 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.009101, allocations: 199.4 kB / 0.7934 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.009111, allocations: 192 / 0.7934 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.009123, allocations: 8.984 kB / 0.7934 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.009131, allocations: 7.938 kB / 0.7934 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.093e-05/0.009192, allocations: 44.92 kB / 0.7934 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006311/0.009823, allocations: 1.019 MB / 0.7944 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.009986, allocations: 149.8 kB / 0.7946 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.457e-05/0.01003, allocations: 52.39 kB / 0.7946 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.01004, allocations: 4 kB / 0.7946 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001836/0.01022, allocations: 173.8 kB / 0.7948 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/0.01022, allocations: 0 / 0.7948 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0003199/0.01054, allocations: 254.2 kB / 0.795 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.01059, allocations: 114.8 kB / 0.7951 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.01073, allocations: 292.1 kB / 0.7954 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.01075, allocations: 34.55 kB / 0.7954 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.777e-05/0.01083, allocations: 199.2 kB / 0.7956 GB, free: 3.664 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.01087, allocations: 69.69 kB / 0.7957 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.674e-05/0.01094, allocations: 79.69 kB / 0.7958 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.01106, allocations: 0.5117 MB / 0.7963 GB, free: 2.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.393e-05/0.01111, allocations: 58.8 kB / 0.7963 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.01126, allocations: 313.5 kB / 0.7966 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002354/0.0115, allocations: 385.5 kB / 0.797 GB, free: 2.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.0115, allocations: 3.984 kB / 0.797 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0002984/0.0118, allocations: 358.1 kB / 0.7973 GB, free: 1.645 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.01183, allocations: 33.7 kB / 0.7974 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01183, allocations: 4 kB / 0.7974 GB, free: 1.602 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01185, allocations: 13.03 kB / 0.7974 GB, free: 1.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.01199, allocations: 83.83 kB / 0.7975 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01199, allocations: 8 kB / 0.7975 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.0121, allocations: 40.83 kB / 0.7975 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.01212, allocations: 20 kB / 0.7975 GB, free: 1.441 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 9.682e-05/0.01222, allocations: 197.2 kB / 0.7977 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.01226, allocations: 39.8 kB / 0.7978 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.539e-05/0.0123, allocations: 31.39 kB / 0.7978 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01231, allocations: 0 / 0.7978 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.01231, allocations: 4 kB / 0.7978 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.01232, allocations: 0 / 0.7978 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.01246, allocations: 165 kB / 0.7979 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.01246, allocations: 0.7812 kB / 0.7979 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.01251, allocations: 23.86 kB / 0.798 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.01251, allocations: 4.562 kB / 0.798 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.01253, allocations: 13.08 kB / 0.798 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01253, allocations: 0 / 0.798 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01253, allocations: 0 / 0.798 GB, free: 0.9453 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.01283, allocations: 310.6 kB / 0.7983 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.348e-05/0.01285, allocations: 23.8 kB / 0.7983 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.01288, allocations: 8.812 kB / 0.7983 GB, free: 0.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.642e-05/0.01294, allocations: 23.97 kB / 0.7983 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/0.01298, allocations: 23.91 kB / 0.7984 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.01299, allocations: 7.984 kB / 0.7984 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.01307, allocations: 189.1 kB / 0.7986 GB, free: 348 kB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01307, allocations: 0 / 0.7986 GB, free: 348 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002667/0.01334, allocations: 83.83 kB / 0.7986 GB, free: 264 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.0002464/0.01358, allocations: 183.8 kB / 0.7988 GB, free: 76 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.01381, allocations: 238.7 kB / 0.799 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.01381, allocations: 0 / 0.799 GB, free: 15.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.982e-05/0.01388, allocations: 83.44 kB / 0.7991 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.01411, allocations: 73.86 kB / 0.7992 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008024/0.01491, allocations: 0.526 MB / 0.7997 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.005e-05/0.01495, allocations: 76.64 kB / 0.7998 GB, free: 15 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.01504, allocations: 54.92 kB / 0.7998 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.01517, allocations: 138.2 kB / 0.8 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.01517, allocations: 0 / 0.8 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of Templates: time 0.006494/0.02166, allocations: 4.729 MB / 0.8046 GB, free: 10.23 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.641447274945676]