Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002112/0.002112, allocations: 107.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 189.2 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.472/1.472, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 292.3 MB / 0.5492 GB, free: 13.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001592, allocations: 67.94 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2586/0.2602, allocations: 114.5 MB / 0.7835 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003557/0.2638, allocations: 1.736 MB / 0.7852 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.265, allocations: 479.2 kB / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.2651, allocations: 0 / 0.7857 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.2653, allocations: 7.922 kB / 0.7857 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.2655, allocations: 28.22 kB / 0.7857 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/0.2664, allocations: 266.9 kB / 0.786 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005035/0.2669, allocations: 415.8 kB / 0.7864 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.267, allocations: 25.11 kB / 0.7864 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004195/0.2674, allocations: 278.2 kB / 0.7867 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.2677, allocations: 139.5 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.198e-05/0.2678, allocations: 28 kB / 0.7868 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.555e-05/0.2679, allocations: 32 kB / 0.7869 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.268, allocations: 91.7 kB / 0.7869 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001828/0.2682, allocations: 163.3 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003776/0.2686, allocations: 343.5 kB / 0.7874 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.2686, allocations: 0 / 0.7874 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2686, allocations: 0 / 0.7874 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.446e-05/0.2686, allocations: 0 / 0.7874 GB, free: 9.863 MB / 0.6075 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.001314/0.2699, allocations: 0.7731 MB / 0.7882 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.27, allocations: 12.03 kB / 0.7882 GB, free: 8.992 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.2701, allocations: 35.7 kB / 0.7882 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.2705, allocations: 290.8 kB / 0.7885 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.207e-05/0.2706, allocations: 16 kB / 0.7885 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.836e-05/0.2706, allocations: 23.98 kB / 0.7885 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009698/0.2716, allocations: 227.9 kB / 0.7888 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2716, allocations: 0 / 0.7888 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2717, allocations: 4 kB / 0.7888 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.2717, allocations: 4 kB / 0.7888 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007484/0.2724, allocations: 111.9 kB / 0.7889 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.2736, allocations: 0.5628 MB / 0.7894 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.2747, allocations: 178.4 kB / 0.7896 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007324/0.2754, allocations: 124.7 kB / 0.7897 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.2755, allocations: 0 / 0.7897 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009466/0.2764, allocations: 223 kB / 0.7899 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.044e-06/0.2764, allocations: 0 / 0.7899 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002477/0.2789, allocations: 461 kB / 0.7904 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.279, allocations: 63.41 kB / 0.7904 GB, free: 6.562 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.2793, allocations: 320.4 kB / 0.7907 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.2795, allocations: 37.7 kB / 0.7908 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001211/0.2796, allocations: 105 kB / 0.7909 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.2796, allocations: 35.59 kB / 0.7909 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002016/0.2799, allocations: 101.5 kB / 0.791 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.28, allocations: 326.8 kB / 0.7913 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/0.2802, allocations: 91.94 kB / 0.7914 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.2805, allocations: 146.6 kB / 0.7915 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000362/0.2808, allocations: 257.2 kB / 0.7918 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.2809, allocations: 0 / 0.7918 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007009/0.2816, allocations: 430.1 kB / 0.7922 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-05/0.2817, allocations: 79.38 kB / 0.7923 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.534e-05/0.2817, allocations: 4 kB / 0.7923 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2817, allocations: 3.938 kB / 0.7923 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.2819, allocations: 28.17 kB / 0.7923 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.2819, allocations: 4 kB / 0.7923 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.2824, allocations: 51.86 kB / 0.7924 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.745e-05/0.2825, allocations: 43.92 kB / 0.7924 GB, free: 4.426 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002172/0.2827, allocations: 184.4 kB / 0.7926 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.26e-05/0.2828, allocations: 27.72 kB / 0.7926 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.2828, allocations: 30.36 kB / 0.7926 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2828, allocations: 8 kB / 0.7926 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2829, allocations: 0 / 0.7926 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2829, allocations: 3.984 kB / 0.7926 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002071/0.2849, allocations: 0.7362 MB / 0.7934 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.285, allocations: 0 / 0.7934 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.285, allocations: 4 kB / 0.7934 GB, free: 3.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.285, allocations: 4 kB / 0.7934 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.672e-05/0.285, allocations: 19.97 kB / 0.7934 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.2851, allocations: 3.938 kB / 0.7934 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2851, allocations: 0 / 0.7934 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/0.2867, allocations: 458.8 kB / 0.7938 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.287, allocations: 188.6 kB / 0.794 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.137e-05/0.287, allocations: 20 kB / 0.794 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004627/0.2875, allocations: 35.95 kB / 0.7941 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.2876, allocations: 4 kB / 0.7941 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.2876, allocations: 43.97 kB / 0.7941 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002303/0.2879, allocations: 231 kB / 0.7943 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2879, allocations: 0 / 0.7943 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003888/0.2883, allocations: 59.89 kB / 0.7944 GB, free: 2.289 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001957/0.2885, allocations: 135.6 kB / 0.7945 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.2898, allocations: 405.6 kB / 0.7949 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2898, allocations: 0 / 0.7949 GB, free: 1.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007438/0.2905, allocations: 124.2 kB / 0.795 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003967/0.2909, allocations: 31.47 kB / 0.7951 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.2925, allocations: 0.5941 MB / 0.7956 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.2928, allocations: 0.7598 MB / 0.7964 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.23e-05/0.2929, allocations: 15.42 kB / 0.7964 GB, free: 160 kB / 0.6075 GB Notification: Performance of SimCode: time 6.21e-07/0.2929, allocations: 0 / 0.7964 GB, free: 160 kB / 0.6075 GB Notification: Performance of Templates: time 0.006203/0.2991, allocations: 3.189 MB / 0.7995 GB, free: 12.98 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)