Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.741/1.741, allocations: 288.4 MB / 303.4 MB, free: 8.109 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.001246/0.001246, allocations: 185.5 kB / 372 MB, free: 10.25 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.841/1.841, allocations: 205.4 MB / 0.6307 GB, free: 9.961 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.0009127/0.0009128, allocations: 86.44 kB / 0.7441 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 10.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2558, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001809/0.2576, allocations: 1.187 MB / 0.9807 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0009228/0.2586, allocations: 404 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.2587, allocations: 4 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.2588, allocations: 3.938 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.2589, allocations: 15.92 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.2597, allocations: 217.3 kB / 0.9813 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.2601, allocations: 239.5 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/0.2601, allocations: 4 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003672/0.2605, allocations: 227.6 kB / 0.9818 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.2608, allocations: 131.7 kB / 0.9819 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.195e-05/0.2608, allocations: 8 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.998e-05/0.2609, allocations: 12 kB / 0.9819 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001036/0.261, allocations: 83.77 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.819e-05/0.2611, allocations: 65.58 kB / 0.9821 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.2613, allocations: 195.9 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.154e-06/0.2613, allocations: 0 / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2613, allocations: 3.938 kB / 0.9823 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2613, allocations: 0 / 0.9823 GB, free: 24.89 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.0009716/0.2623, allocations: 0.6181 MB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.2624, allocations: 12.03 kB / 0.9829 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.225e-05/0.2625, allocations: 27.72 kB / 0.9829 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002677/0.2627, allocations: 254.4 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.2628, allocations: 15.98 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.2628, allocations: 16 kB / 0.9832 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.2631, allocations: 151 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.2631, allocations: 7.938 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.2632, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2632, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2633, allocations: 51.95 kB / 0.9834 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.2636, allocations: 313.4 kB / 0.9837 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.2638, allocations: 142.8 kB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.264, allocations: 56.83 kB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.264, allocations: 4 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004139/0.2644, allocations: 216.5 kB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.323e-06/0.2644, allocations: 0 / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0004962/0.2649, allocations: 274.4 kB / 0.9843 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.463e-05/0.265, allocations: 59.41 kB / 0.9844 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.2652, allocations: 290.8 kB / 0.9847 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.2653, allocations: 41.69 kB / 0.9847 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.2653, allocations: 89.14 kB / 0.9848 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.2654, allocations: 47.44 kB / 0.9849 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.2654, allocations: 12 kB / 0.9849 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.2655, allocations: 326.8 kB / 0.9852 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2657, allocations: 92.17 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.2659, allocations: 142.4 kB / 0.9854 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002098/0.2661, allocations: 161.6 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2661, allocations: 0 / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005571/0.2667, allocations: 410.2 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.842e-05/0.2667, allocations: 71.39 kB / 0.986 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2667, allocations: 7.938 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2668, allocations: 4.188 kB / 0.986 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.267, allocations: 35.91 kB / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.267, allocations: 0 / 0.9861 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.2675, allocations: 71.8 kB / 0.9861 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.2676, allocations: 51.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.0001551/0.2677, allocations: 177.5 kB / 0.9863 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.2678, allocations: 27.62 kB / 0.9864 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.2678, allocations: 30.25 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2678, allocations: 0 / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.2679, allocations: 4 kB / 0.9864 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2679, allocations: 3.938 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006491/0.2685, allocations: 0.5622 MB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2685, allocations: 3.984 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.2686, allocations: 4 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2686, allocations: 4 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.255e-05/0.2686, allocations: 11.98 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.2686, allocations: 4 kB / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2686, allocations: 0 / 0.987 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.269, allocations: 328.1 kB / 0.9873 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/0.2691, allocations: 156.7 kB / 0.9874 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.823e-05/0.2692, allocations: 8 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.2694, allocations: 19.97 kB / 0.9875 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2695, allocations: 15.97 kB / 0.9875 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.2695, allocations: 31.98 kB / 0.9875 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001435/0.2697, allocations: 205.9 kB / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2697, allocations: 0 / 0.9877 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002763/0.2699, allocations: 48 kB / 0.9878 GB, free: 18.87 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.0001217/0.2701, allocations: 115.2 kB / 0.9879 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.2705, allocations: 347.6 kB / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2706, allocations: 0 / 0.9882 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.2707, allocations: 75.89 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.271, allocations: 28.83 kB / 0.9883 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005987/0.2716, allocations: 456.7 kB / 0.9887 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2718, allocations: 0.7399 MB / 0.9895 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001281/0.2719, 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.000111/0.2721, allocations: 39.41 kB / 0.9895 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.11e-07/0.2721, allocations: 0 / 0.9895 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.006084/0.2782, allocations: 3.892 MB / 0.9933 GB, free: 13.09 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)