Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 303.4 MB, free: 8.215 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009922/0.0009921, allocations: 179 kB / 372 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 0.6307 GB, free: 9.984 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 100.9 kB / 0.7441 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 13.97 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002477/0.2707, allocations: 1.194 MB / 0.9807 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2718, allocations: 394 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.293e-05/0.2719, allocations: 7.875 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.272, allocations: 3.984 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.2721, allocations: 23.84 kB / 0.9812 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007759/0.2729, allocations: 213.2 kB / 0.9814 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.2732, allocations: 243.5 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.292e-05/0.2733, allocations: 4 kB / 0.9816 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003545/0.2737, allocations: 223.6 kB / 0.9818 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.2739, allocations: 131.7 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.665e-05/0.274, allocations: 11.94 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.362e-05/0.274, allocations: 12 kB / 0.982 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.2742, allocations: 75.84 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.992e-05/0.2743, allocations: 65.58 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2745, allocations: 199.9 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.2745, allocations: 0 / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.417e-06/0.2746, allocations: 3.938 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2746, allocations: 3.938 kB / 0.9823 GB, free: 24.88 MB / 0.6198 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.001251/0.2758, allocations: 0.622 MB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.2759, allocations: 8.031 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001172/0.276, allocations: 31.72 kB / 0.9829 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.2764, allocations: 254.4 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.2764, allocations: 12 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-05/0.2765, allocations: 19.94 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.2769, allocations: 146.9 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2769, allocations: 3.984 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.826e-05/0.277, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.277, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.2772, allocations: 51.91 kB / 0.9834 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.2775, allocations: 309.4 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.2779, allocations: 134.8 kB / 0.9838 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.278, allocations: 56.83 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.2781, allocations: 7.938 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005449/0.2786, allocations: 219.3 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.844e-06/0.2787, allocations: 0 / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006726/0.2793, allocations: 270.7 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.2794, allocations: 67.38 kB / 0.9844 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.2797, allocations: 294.8 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.2798, allocations: 37.7 kB / 0.9847 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.2798, allocations: 89.12 kB / 0.9848 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-05/0.2799, allocations: 47.45 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.2799, allocations: 4 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.879e-05/0.28, allocations: 330.8 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.2803, allocations: 92.17 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.2806, allocations: 146.4 kB / 0.9854 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002719/0.2809, allocations: 158.7 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2809, allocations: 0 / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008235/0.2817, allocations: 411.2 kB / 0.986 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.2818, allocations: 75.38 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.2818, allocations: 4 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.2818, allocations: 0 / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.282, allocations: 31.92 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/0.2821, allocations: 0 / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006604/0.2827, allocations: 79.97 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.778e-05/0.2828, allocations: 47.98 kB / 0.9862 GB, free: 20.59 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001894/0.283, allocations: 168 kB / 0.9863 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.2831, allocations: 35.61 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.2832, allocations: 30.27 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2832, allocations: 3.984 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2832, allocations: 8 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2832, allocations: 0 / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008293/0.284, allocations: 0.5617 MB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.2841, allocations: 0 / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.937e-05/0.2841, allocations: 11.92 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2841, allocations: 4 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.2e-05/0.2842, allocations: 11.98 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.2842, allocations: 4 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2842, allocations: 4 kB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.2847, allocations: 324.1 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/0.2848, allocations: 152.7 kB / 0.9875 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.499e-05/0.2849, allocations: 11.98 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.2852, allocations: 15.98 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.691e-05/0.2853, allocations: 11.98 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.2854, allocations: 39.97 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002024/0.2856, allocations: 201.9 kB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2856, allocations: 0 / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004222/0.286, allocations: 51.98 kB / 0.9878 GB, free: 18.86 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001471/0.2862, allocations: 110.2 kB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006033/0.2868, allocations: 352.2 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2868, allocations: 384 / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001679/0.287, allocations: 79.89 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.2874, allocations: 24.83 kB / 0.9883 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007781/0.2882, allocations: 450.8 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2884, allocations: 0.7399 MB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000184/0.2886, allocations: 37.42 kB / 0.9895 GB, free: 17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.2888, allocations: 31.42 kB / 0.9895 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.2888, allocations: 0 / 0.9895 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of Templates: time 0.008221/0.297, allocations: 3.905 MB / 0.9933 GB, free: 13.08 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)