Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 101.7 kB / 16.27 MB, free: 6.008 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.001605/0.001605, allocations: 183.4 kB / 17.19 MB, free: 5.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.529/1.529, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.81/1.81, allocations: 292.3 MB / 0.5495 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.88 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2733, allocations: 114.6 MB / 0.784 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.004155/0.2775, allocations: 1.483 MB / 0.7855 GB, free: 2.398 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.2789, allocations: 435.2 kB / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.2791, allocations: 0 / 0.7859 GB, free: 1.969 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.2793, allocations: 7.938 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.2794, allocations: 28.22 kB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009023/0.2804, allocations: 248 kB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.2808, allocations: 331.5 kB / 0.7865 GB, free: 1.371 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.965e-05/0.2809, allocations: 4 kB / 0.7865 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003543/0.2813, allocations: 199.7 kB / 0.7867 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.2815, allocations: 100.1 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.2816, allocations: 20 kB / 0.7868 GB, free: 1.055 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.925e-05/0.2817, allocations: 20 kB / 0.7868 GB, free: 1.035 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.2818, allocations: 87.77 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.2819, allocations: 127.3 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004044/0.2824, allocations: 287.4 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.647e-06/0.2824, allocations: 4 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.2824, allocations: 0 / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.562e-05/0.2824, allocations: 3.984 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.4767/0.7591, allocations: 0.745 MB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7591, allocations: 6.75 kB / 0.788 GB, free: 48.76 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.7593, allocations: 38.59 kB / 0.7881 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003087/0.7596, allocations: 256.7 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.7597, allocations: 19.09 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.205e-05/0.7597, allocations: 20.39 kB / 0.7883 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009646/0.7607, allocations: 197.2 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.7607, allocations: 5.312 kB / 0.7885 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/0.7608, allocations: 9.703 kB / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.7608, allocations: 0 / 0.7885 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00071/0.7615, allocations: 96.83 kB / 0.7886 GB, free: 48.48 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.7619, allocations: 320.2 kB / 0.7889 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/0.7629, allocations: 169.1 kB / 0.7891 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007036/0.7636, allocations: 109.1 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.493e-05/0.7636, allocations: 2.625 kB / 0.7892 GB, free: 48.26 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008743/0.7645, allocations: 209.4 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.455e-06/0.7645, allocations: 3.266 kB / 0.7894 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002356/0.7669, allocations: 453.1 kB / 0.7898 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.7669, allocations: 61.16 kB / 0.7899 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.7672, allocations: 295.9 kB / 0.7902 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.863e-05/0.7672, allocations: 40.53 kB / 0.7902 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.7673, allocations: 89.7 kB / 0.7903 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.7673, allocations: 36.11 kB / 0.7903 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.7675, allocations: 110.1 kB / 0.7904 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.519e-05/0.7676, allocations: 320.2 kB / 0.7907 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001778/0.7677, allocations: 81.69 kB / 0.7908 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.7679, allocations: 133.3 kB / 0.791 GB, free: 47.46 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002911/0.7682, allocations: 239.7 kB / 0.7912 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.7682, allocations: 0.5 kB / 0.7912 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005553/0.7688, allocations: 395.3 kB / 0.7916 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.7689, allocations: 78.38 kB / 0.7916 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.7689, allocations: 2.031 kB / 0.7916 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.7689, allocations: 4.344 kB / 0.7916 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.7691, allocations: 27.28 kB / 0.7917 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.7691, allocations: 4.906 kB / 0.7917 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004421/0.7695, allocations: 61.02 kB / 0.7917 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.7696, allocations: 41.97 kB / 0.7918 GB, free: 47.17 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001461/0.7698, allocations: 170.4 kB / 0.7919 GB, free: 47.06 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.455e-05/0.7698, allocations: 29.22 kB / 0.792 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.48e-05/0.7699, allocations: 26.81 kB / 0.792 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.7699, allocations: 5.062 kB / 0.792 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7699, allocations: 0.6562 kB / 0.792 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7699, allocations: 0 / 0.792 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.7718, allocations: 0.6916 MB / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.7718, allocations: 3.594 kB / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.7718, allocations: 10.28 kB / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7719, allocations: 0 / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/0.7719, allocations: 13.44 kB / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.7719, allocations: 8.469 kB / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.7719, allocations: 0 / 0.7927 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.7735, allocations: 455 kB / 0.7931 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.7737, allocations: 156.1 kB / 0.7933 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.7738, allocations: 13.44 kB / 0.7933 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004598/0.7742, allocations: 35.28 kB / 0.7933 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.7743, allocations: 7.828 kB / 0.7933 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/0.7743, allocations: 44.53 kB / 0.7934 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001885/0.7745, allocations: 209.7 kB / 0.7936 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7745, allocations: 0 / 0.7936 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003343/0.7749, allocations: 49.91 kB / 0.7936 GB, free: 46.39 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001322/0.775, allocations: 120.4 kB / 0.7937 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001122/0.7761, allocations: 388.7 kB / 0.7941 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7762, allocations: 0 / 0.7941 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007439/0.7769, allocations: 120.4 kB / 0.7942 GB, free: 46.18 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.7773, allocations: 29.92 kB / 0.7943 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.7785, allocations: 468.4 kB / 0.7947 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.7788, allocations: 0.7365 MB / 0.7954 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.7788, allocations: 15.92 kB / 0.7954 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of SimCode: time 8.02e-07/0.7788, allocations: 0 / 0.7954 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.005278/0.7841, allocations: 2.838 MB / 0.7982 GB, free: 45.05 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)