Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.708/2.708, allocations: 287.3 MB / 302.3 MB, free: 8.262 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.00149/0.00149, allocations: 173 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6295 GB, free: 10.59 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.001161/0.001161, allocations: 98.38 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005472, allocations: 11.09 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2909, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002487/0.2935, allocations: 1.183 MB / 0.9793 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.295, allocations: 394.2 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.2952, allocations: 4 kB / 0.9797 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.101e-05/0.2953, allocations: 3.938 kB / 0.9797 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.2954, allocations: 23.95 kB / 0.9797 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001306/0.2968, allocations: 206.4 kB / 0.9799 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.2972, allocations: 147.8 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.872e-05/0.2973, allocations: 11.98 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004444/0.2977, allocations: 159.7 kB / 0.9802 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003601/0.2981, allocations: 131.7 kB / 0.9804 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.2983, allocations: 8 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.2984, allocations: 8 kB / 0.9804 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.2986, allocations: 79.78 kB / 0.9805 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.2987, allocations: 61.64 kB / 0.9805 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003736/0.2991, allocations: 199.8 kB / 0.9807 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2991, allocations: 3.938 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.447e-06/0.2992, allocations: 0 / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.2992, allocations: 4 kB / 0.9807 GB, free: 25.78 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.001808/0.301, allocations: 0.6199 MB / 0.9813 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3011, allocations: 8.031 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000171/0.3013, allocations: 31.72 kB / 0.9814 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.3018, allocations: 254.5 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.836e-05/0.3019, allocations: 12 kB / 0.9816 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/0.302, allocations: 23.92 kB / 0.9816 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.3026, allocations: 150.9 kB / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3027, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.182e-05/0.3027, allocations: 0 / 0.9818 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.078e-06/0.3028, allocations: 7.938 kB / 0.9818 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000291/0.3031, allocations: 43.97 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005887/0.3037, allocations: 313.3 kB / 0.9821 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.3043, allocations: 142.8 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-05/0.3043, allocations: 4 kB / 0.9823 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008687/0.3052, allocations: 215.5 kB / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 3.667e-06/0.3053, allocations: 0 / 0.9825 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.001253/0.3065, allocations: 275.2 kB / 0.9827 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/0.3066, allocations: 63.39 kB / 0.9828 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.3071, allocations: 286.8 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.3073, allocations: 45.69 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.3074, allocations: 89.14 kB / 0.9832 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.3075, allocations: 39.52 kB / 0.9832 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-05/0.3076, allocations: 8 kB / 0.9832 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.591e-05/0.3077, allocations: 330.8 kB / 0.9836 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004878/0.3082, allocations: 88.17 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005311/0.3087, allocations: 146.4 kB / 0.9838 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.3092, allocations: 156.1 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.3093, allocations: 4 kB / 0.9839 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001573/0.3109, allocations: 412.6 kB / 0.9843 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.311, allocations: 71.39 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.311, allocations: 0 / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.3111, allocations: 4 kB / 0.9844 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/0.3115, allocations: 36.09 kB / 0.9844 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.3115, allocations: 4 kB / 0.9844 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3129, allocations: 71.73 kB / 0.9845 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.3131, allocations: 51.98 kB / 0.9846 GB, free: 21.55 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.0003695/0.3135, allocations: 179.9 kB / 0.9847 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.151e-05/0.3136, allocations: 27.62 kB / 0.9848 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.3137, allocations: 26.25 kB / 0.9848 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.3138, allocations: 4 kB / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.3138, allocations: 0 / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.3138, allocations: 0 / 0.9848 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.3154, allocations: 0.5645 MB / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3154, allocations: 0 / 0.9853 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.3155, allocations: 11.98 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.3156, allocations: 3.938 kB / 0.9853 GB, free: 20.67 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.808e-05/0.3157, allocations: 15.98 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/0.3157, allocations: 3.984 kB / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3157, allocations: 0 / 0.9854 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008782/0.3166, allocations: 329.1 kB / 0.9857 GB, free: 20.31 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000352/0.317, allocations: 152.7 kB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3171, allocations: 8 kB / 0.9858 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005132/0.3176, allocations: 15.98 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3178, allocations: 15.97 kB / 0.9859 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.491e-05/0.3179, allocations: 31.98 kB / 0.9859 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003624/0.3183, allocations: 209.9 kB / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.92e-07/0.3183, allocations: 0 / 0.9861 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007524/0.3191, allocations: 44 kB / 0.9861 GB, free: 19.82 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.0002326/0.3193, allocations: 126 kB / 0.9863 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.3205, allocations: 346.7 kB / 0.9866 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3205, allocations: 0 / 0.9866 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.3209, allocations: 72.53 kB / 0.9867 GB, free: 19.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004803/0.3214, allocations: 20.83 kB / 0.9867 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.3226, allocations: 448.5 kB / 0.9871 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.323, allocations: 0.7516 MB / 0.9878 GB, free: 18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003453/0.3233, allocations: 33.42 kB / 0.9879 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.3236, allocations: 43.41 kB / 0.9879 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of SimCode: time 1.393e-06/0.3237, allocations: 0 / 0.9879 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of Templates: time 0.01526/0.3389, allocations: 3.892 MB / 0.9917 GB, free: 14.04 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)