Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 104.2 kB / 15.98 MB, free: 6.348 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.001655/0.001656, allocations: 195.6 kB / 16.91 MB, free: 6.188 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.49/1.49, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.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.805/1.805, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001377/0.001378, allocations: 70.27 kB / 0.6716 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2648, allocations: 114.5 MB / 0.7835 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002696/0.2676, allocations: 1.545 MB / 0.785 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009694/0.2686, allocations: 424.4 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.2686, allocations: 4 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.649e-05/0.2687, allocations: 7.922 kB / 0.7854 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.2689, allocations: 28.22 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000634/0.2695, allocations: 222.8 kB / 0.7857 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000352/0.2699, allocations: 335.8 kB / 0.786 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.2699, allocations: 4 kB / 0.786 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.2702, allocations: 238.3 kB / 0.7862 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2704, allocations: 131.6 kB / 0.7864 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.526e-05/0.2705, allocations: 24 kB / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.162e-05/0.2706, allocations: 23.94 kB / 0.7864 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.2707, allocations: 79.77 kB / 0.7865 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001402/0.2708, allocations: 131.4 kB / 0.7866 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.2711, allocations: 215.8 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2711, allocations: 0 / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.837e-06/0.2711, allocations: 4 kB / 0.7868 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2711, allocations: 0 / 0.7868 GB, free: 10.5 MB / 0.6075 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.001027/0.2721, allocations: 0.7421 MB / 0.7875 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2722, allocations: 15.97 kB / 0.7875 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.2723, allocations: 31.72 kB / 0.7876 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2725, allocations: 266.2 kB / 0.7878 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.221e-05/0.2726, allocations: 15.98 kB / 0.7878 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.237e-05/0.2727, allocations: 16 kB / 0.7879 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.2736, allocations: 201.5 kB / 0.7881 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.2736, allocations: 0 / 0.7881 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.753e-05/0.2736, allocations: 7.984 kB / 0.7881 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2737, allocations: 4 kB / 0.7881 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.2744, allocations: 99.86 kB / 0.7882 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.2748, allocations: 317.2 kB / 0.7885 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2758, allocations: 173.3 kB / 0.7886 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000715/0.2765, allocations: 112.8 kB / 0.7887 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.2765, allocations: 4 kB / 0.7887 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/0.2775, allocations: 211.6 kB / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.2775, allocations: 0 / 0.7889 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002467/0.28, allocations: 445 kB / 0.7894 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.2801, allocations: 63.39 kB / 0.7894 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.2803, allocations: 294.8 kB / 0.7897 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.2804, allocations: 37.7 kB / 0.7897 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.2805, allocations: 97.12 kB / 0.7898 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.138e-05/0.2806, allocations: 35.55 kB / 0.7899 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.2807, allocations: 101.5 kB / 0.79 GB, free: 7.008 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.2809, allocations: 322.8 kB / 0.7903 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2811, allocations: 79.95 kB / 0.7904 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.2813, allocations: 142.5 kB / 0.7905 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003056/0.2816, allocations: 236.1 kB / 0.7907 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2816, allocations: 4 kB / 0.7907 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006386/0.2823, allocations: 396.5 kB / 0.7911 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.456e-05/0.2823, allocations: 71.39 kB / 0.7912 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.2824, allocations: 4 kB / 0.7912 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.2824, allocations: 4 kB / 0.7912 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2825, allocations: 19.98 kB / 0.7912 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.2826, allocations: 11.92 kB / 0.7912 GB, free: 5.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.283, allocations: 63.92 kB / 0.7913 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.2831, allocations: 39.98 kB / 0.7913 GB, free: 5.551 MB / 0.6075 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.0001819/0.2833, allocations: 168 kB / 0.7915 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/0.2834, allocations: 23.72 kB / 0.7915 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.2834, allocations: 30.3 kB / 0.7915 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2834, allocations: 4 kB / 0.7915 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.2834, allocations: 0 / 0.7915 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/0.2835, allocations: 7.875 kB / 0.7915 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.2855, allocations: 0.6921 MB / 0.7922 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2855, allocations: 0 / 0.7922 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.723e-05/0.2856, allocations: 4 kB / 0.7922 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.2856, allocations: 15.81 kB / 0.7922 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.2856, allocations: 15.97 kB / 0.7922 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.2856, allocations: 0 / 0.7922 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2856, allocations: 0 / 0.7922 GB, free: 4.531 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.2873, allocations: 447 kB / 0.7927 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.2875, allocations: 160.6 kB / 0.7928 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.788e-05/0.2876, allocations: 11.94 kB / 0.7928 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/0.288, allocations: 35.95 kB / 0.7929 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.2881, allocations: 11.98 kB / 0.7929 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.454e-05/0.2882, allocations: 35.98 kB / 0.7929 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002033/0.2884, allocations: 217.9 kB / 0.7931 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2884, allocations: 0 / 0.7931 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003727/0.2887, allocations: 44 kB / 0.7932 GB, free: 3.555 MB / 0.6075 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.0001696/0.2889, allocations: 115.2 kB / 0.7933 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.2901, allocations: 386.5 kB / 0.7936 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.2901, allocations: 4 kB / 0.7936 GB, free: 3.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.2909, allocations: 118 kB / 0.7937 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.2913, allocations: 25.02 kB / 0.7938 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2927, allocations: 0.5442 MB / 0.7943 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.293, allocations: 0.7364 MB / 0.795 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.2931, allocations: 19.42 kB / 0.795 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2931, allocations: 0 / 0.795 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.00496/0.2981, allocations: 2.848 MB / 0.7978 GB, free: 14.7 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)