Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.708/1.708, allocations: 287.4 MB / 303.2 MB, free: 8.223 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.001316/0.001316, allocations: 180.1 kB / 371.8 MB, free: 10.82 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.447/1.447, allocations: 205.4 MB / 0.6304 GB, free: 10.56 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.0007552/0.0007553, allocations: 97.97 kB / 0.7438 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000449/0.0004489, allocations: 13.98 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2675, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.001645/0.2692, allocations: 1.358 MB / 0.9806 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000808/0.27, allocations: 451.1 kB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.2701, allocations: 4 kB / 0.9811 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.728e-05/0.2702, allocations: 7.922 kB / 0.9811 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.2703, allocations: 23.84 kB / 0.9811 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005988/0.2709, allocations: 230.3 kB / 0.9813 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.2712, allocations: 299.5 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2713, allocations: 29.44 kB / 0.9816 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.2716, allocations: 227.5 kB / 0.9818 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.2718, allocations: 139.7 kB / 0.982 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.983e-05/0.2719, allocations: 12 kB / 0.982 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.771e-05/0.2719, allocations: 15.94 kB / 0.982 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.272, allocations: 75.78 kB / 0.9821 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.2721, allocations: 73.58 kB / 0.9822 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.2724, allocations: 323.5 kB / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2724, allocations: 0 / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2724, allocations: 0 / 0.9825 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2724, allocations: 0 / 0.9825 GB, free: 24.92 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0009691/0.2734, allocations: 0.6414 MB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2734, allocations: 8.031 kB / 0.9831 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.82e-05/0.2735, allocations: 36.56 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.2738, allocations: 284.1 kB / 0.9834 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.2739, allocations: 12.56 kB / 0.9834 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.023e-05/0.274, allocations: 24.36 kB / 0.9834 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002793/0.2742, allocations: 166 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2743, allocations: 3.938 kB / 0.9836 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.2743, allocations: 11.98 kB / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2743, allocations: 0 / 0.9836 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2744, allocations: 67.89 kB / 0.9837 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009786/0.2754, allocations: 0.5511 MB / 0.9842 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.2757, allocations: 144.1 kB / 0.9843 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001102/0.2758, allocations: 56.83 kB / 0.9844 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2758, allocations: 4.25 kB / 0.9844 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004561/0.2763, allocations: 232 kB / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.663e-06/0.2763, allocations: 0 / 0.9846 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005/0.2768, allocations: 279.7 kB / 0.9849 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.942e-05/0.2769, allocations: 67.31 kB / 0.985 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002381/0.2771, allocations: 312.5 kB / 0.9853 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.852e-05/0.2772, allocations: 41.7 kB / 0.9853 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.2772, allocations: 105.9 kB / 0.9854 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.2773, allocations: 43.44 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.2773, allocations: 8 kB / 0.9854 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.481e-05/0.2773, allocations: 326.8 kB / 0.9858 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.2776, allocations: 108.2 kB / 0.9859 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.2778, allocations: 170.3 kB / 0.986 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.2781, allocations: 248.5 kB / 0.9863 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.2781, allocations: 4 kB / 0.9863 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005879/0.2787, allocations: 444.5 kB / 0.9867 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.2787, allocations: 79.38 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2787, allocations: 0 / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2788, allocations: 4 kB / 0.9868 GB, free: 20.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.2789, allocations: 19.98 kB / 0.9868 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.34e-05/0.279, allocations: 15.86 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004655/0.2794, allocations: 71.98 kB / 0.9869 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.2795, allocations: 55.98 kB / 0.9869 GB, free: 20.03 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0001562/0.2797, allocations: 189.7 kB / 0.9871 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.2797, allocations: 31.7 kB / 0.9871 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.159e-05/0.2798, allocations: 30.36 kB / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.2798, allocations: 0 / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2798, allocations: 0 / 0.9872 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.2799, allocations: 184.6 kB / 0.9873 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.28, allocations: 11.98 kB / 0.9874 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.2802, allocations: 19.98 kB / 0.9874 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.2803, allocations: 15.92 kB / 0.9874 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003858/0.2807, allocations: 303.1 kB / 0.9877 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003336/0.281, allocations: 394.3 kB / 0.9881 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001104/0.2811, allocations: 71.95 kB / 0.9881 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001547/0.2813, allocations: 227 kB / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of Backend: time 5.31e-07/0.2813, allocations: 0 / 0.9883 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006537/0.282, allocations: 390.6 kB / 0.9887 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0008069/0.2828, allocations: 0.9401 MB / 0.9896 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.006569/0.2894, allocations: 4.536 MB / 0.9941 GB, free: 12.62 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)