Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.734/1.734, allocations: 288.4 MB / 303.4 MB, free: 8.172 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.0009962/0.0009962, allocations: 178.9 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.854/1.854, 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.001078/0.001078, allocations: 87.8 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004226, allocations: 10.84 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2603, allocations: 115.3 MB / 0.9796 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001534/0.2619, allocations: 1.183 MB / 0.9807 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008095/0.2627, allocations: 408.1 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.074e-05/0.2628, allocations: 3.938 kB / 0.9811 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.38e-05/0.2629, allocations: 7.938 kB / 0.9811 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.263, allocations: 19.91 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000549/0.2636, allocations: 210.4 kB / 0.9813 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002051/0.2638, allocations: 243.5 kB / 0.9816 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.232e-05/0.2638, allocations: 4 kB / 0.9816 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002607/0.2641, allocations: 219.6 kB / 0.9818 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.2643, allocations: 135.7 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.799e-05/0.2644, allocations: 12 kB / 0.9819 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.089e-05/0.2644, allocations: 11.94 kB / 0.9819 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.2645, allocations: 79.77 kB / 0.982 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.139e-05/0.2646, allocations: 73.56 kB / 0.9821 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.2647, allocations: 195.9 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.2648, allocations: 4 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.866e-06/0.2648, allocations: 0 / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.2648, allocations: 3.938 kB / 0.9823 GB, free: 24.9 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.0009256/0.2657, allocations: 0.6142 MB / 0.9829 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2658, allocations: 8.031 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.161e-05/0.2658, allocations: 31.72 kB / 0.9829 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.2661, allocations: 258.4 kB / 0.9832 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.2662, allocations: 15.98 kB / 0.9832 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.2662, allocations: 12 kB / 0.9832 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002605/0.2665, allocations: 155.5 kB / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.2665, allocations: 0 / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.2665, allocations: 0 / 0.9833 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.2665, allocations: 4 kB / 0.9833 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.2667, allocations: 43.97 kB / 0.9834 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003073/0.267, allocations: 313.4 kB / 0.9837 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002477/0.2672, allocations: 134.8 kB / 0.9838 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001054/0.2673, allocations: 64.83 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.458e-05/0.2674, allocations: 0 / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004001/0.2678, allocations: 220.9 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.2678, allocations: 0 / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005016/0.2683, allocations: 270.4 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.2683, allocations: 59.41 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.2686, allocations: 290.8 kB / 0.9847 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/0.2686, allocations: 41.69 kB / 0.9847 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.2687, allocations: 89.14 kB / 0.9848 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.2687, allocations: 47.44 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2687, allocations: 8 kB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.2688, allocations: 334.8 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/0.269, allocations: 88.17 kB / 0.9853 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.2692, allocations: 146.4 kB / 0.9854 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.2694, allocations: 153.9 kB / 0.9855 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2694, allocations: 4 kB / 0.9856 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005532/0.27, allocations: 411.2 kB / 0.9859 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.772e-05/0.27, allocations: 71.39 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2701, allocations: 0 / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.2701, allocations: 4 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.2703, allocations: 32.09 kB / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.2703, allocations: 11.94 kB / 0.9861 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005085/0.2708, allocations: 67.8 kB / 0.9861 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.818e-05/0.2709, allocations: 55.98 kB / 0.9862 GB, free: 20.61 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.0001689/0.271, allocations: 175.9 kB / 0.9863 GB, free: 20.43 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.2711, allocations: 27.62 kB / 0.9864 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.2711, allocations: 30.25 kB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.2711, allocations: 7.984 kB / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.2712, allocations: 0 / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.2712, allocations: 0 / 0.9864 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006417/0.2718, allocations: 0.5659 MB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2718, allocations: 3.984 kB / 0.987 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.2719, allocations: 8 kB / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.2719, allocations: 0 / 0.987 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.2719, allocations: 11.98 kB / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2719, allocations: 0 / 0.987 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2719, allocations: 3.984 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.2722, allocations: 331.8 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2724, allocations: 152.7 kB / 0.9874 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.705e-05/0.2724, allocations: 8 kB / 0.9875 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.2726, allocations: 15.98 kB / 0.9875 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.2727, allocations: 15.97 kB / 0.9875 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.341e-05/0.2728, allocations: 27.98 kB / 0.9875 GB, free: 19.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001381/0.2729, allocations: 205.9 kB / 0.9877 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2729, allocations: 4 kB / 0.9877 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002691/0.2732, allocations: 48 kB / 0.9878 GB, free: 18.89 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.0001263/0.2733, allocations: 119.9 kB / 0.9879 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004578/0.2738, allocations: 343.5 kB / 0.9882 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2738, allocations: 4 kB / 0.9882 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001201/0.2739, allocations: 67.91 kB / 0.9883 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.2742, allocations: 34.08 kB / 0.9883 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.2748, allocations: 443.2 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.275, allocations: 0.7462 MB / 0.9895 GB, free: 17.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001263/0.2751, allocations: 37.42 kB / 0.9895 GB, free: 17.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.2753, allocations: 43.41 kB / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.2753, allocations: 0 / 0.9895 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.007678/0.283, allocations: 3.894 MB / 0.9933 GB, free: 13.11 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)