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.001487/0.001487, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001657/0.001657, allocations: 191 kB / 17.29 MB, free: 5.516 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.849/1.849, allocations: 292.3 MB / 0.5496 GB, free: 17.55 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.002493/0.002493, allocations: 79.03 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2579, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003169/0.2611, allocations: 1.671 MB / 0.7864 GB, free: 1.441 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2622, allocations: 483.2 kB / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.538e-05/0.2623, allocations: 0 / 0.7869 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.2624, allocations: 11.88 kB / 0.7869 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001317/0.2626, allocations: 32.16 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000812/0.2634, allocations: 282.3 kB / 0.7872 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005131/0.2639, allocations: 423.4 kB / 0.7876 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2641, allocations: 29.11 kB / 0.7876 GB, free: 208 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3874/0.6515, allocations: 216.3 kB / 0.7878 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.6519, allocations: 127.9 kB / 0.788 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 9.556e-05/0.652, allocations: 30.03 kB / 0.788 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.415e-05/0.6521, allocations: 32.25 kB / 0.788 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.6522, allocations: 97.41 kB / 0.7881 GB, free: 46.77 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001469/0.6523, allocations: 146.6 kB / 0.7883 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.6527, allocations: 432.4 kB / 0.7887 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.6527, allocations: 0.5938 kB / 0.7887 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6527, allocations: 1.719 kB / 0.7887 GB, free: 46.69 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6528, allocations: 0 / 0.7887 GB, free: 46.69 MB / 0.6544 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.0009235/0.6537, allocations: 0.7708 MB / 0.7894 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.6537, allocations: 10.62 kB / 0.7894 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.6538, allocations: 38.12 kB / 0.7895 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.6541, allocations: 278.9 kB / 0.7897 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.587e-05/0.6542, allocations: 22.7 kB / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.6542, allocations: 25.88 kB / 0.7898 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.6552, allocations: 218.9 kB / 0.79 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.6552, allocations: 0.9375 kB / 0.79 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.6553, allocations: 5.156 kB / 0.79 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.6553, allocations: 2.625 kB / 0.79 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007886/0.6561, allocations: 113.4 kB / 0.7901 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.6572, allocations: 0.5602 MB / 0.7907 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.6583, allocations: 188.2 kB / 0.7908 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000758/0.659, allocations: 110.8 kB / 0.7909 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6591, allocations: 3.25 kB / 0.791 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009426/0.66, allocations: 223 kB / 0.7912 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.66, allocations: 4.375 kB / 0.7912 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002574/0.6626, allocations: 459.3 kB / 0.7916 GB, free: 45.38 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.6627, allocations: 67.69 kB / 0.7917 GB, free: 45.31 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.6629, allocations: 324.2 kB / 0.792 GB, free: 45.2 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.663, allocations: 35.36 kB / 0.792 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.784e-05/0.6631, allocations: 100.8 kB / 0.7921 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.6631, allocations: 33.3 kB / 0.7921 GB, free: 45.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.6632, allocations: 103.9 kB / 0.7922 GB, free: 45.04 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.395e-05/0.6633, allocations: 328.6 kB / 0.7926 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000189/0.6635, allocations: 89.09 kB / 0.7926 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.6637, allocations: 150.7 kB / 0.7928 GB, free: 44.67 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002691/0.664, allocations: 256.6 kB / 0.793 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.664, allocations: 2.031 kB / 0.793 GB, free: 44.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005804/0.6646, allocations: 416.4 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.6646, allocations: 79.28 kB / 0.7935 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.6647, allocations: 3.156 kB / 0.7935 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6647, allocations: 2.625 kB / 0.7935 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.6648, allocations: 33.39 kB / 0.7935 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.6649, allocations: 7.531 kB / 0.7935 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004654/0.6653, allocations: 53.12 kB / 0.7936 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.6654, allocations: 38.48 kB / 0.7936 GB, free: 44.38 MB / 0.6544 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.0001656/0.6656, allocations: 189.4 kB / 0.7938 GB, free: 44.26 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/0.6656, allocations: 31.2 kB / 0.7938 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.6657, allocations: 28.64 kB / 0.7939 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6657, allocations: 7.969 kB / 0.7939 GB, free: 44.24 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6657, allocations: 3.938 kB / 0.7939 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6657, allocations: 0 / 0.7939 GB, free: 44.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.6678, allocations: 0.7285 MB / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6678, allocations: 0 / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.696e-05/0.6678, allocations: 14.69 kB / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.6679, allocations: 0 / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.6679, allocations: 21.7 kB / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.6679, allocations: 0 / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6679, allocations: 3.938 kB / 0.7946 GB, free: 43.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.6696, allocations: 455.3 kB / 0.7951 GB, free: 43.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6699, allocations: 190.7 kB / 0.7952 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.67, allocations: 21.41 kB / 0.7953 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.6705, allocations: 28.94 kB / 0.7953 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.6705, allocations: 6.641 kB / 0.7953 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.6706, allocations: 45.7 kB / 0.7953 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002139/0.6708, allocations: 230.8 kB / 0.7956 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6708, allocations: 0 / 0.7956 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003933/0.6712, allocations: 54.53 kB / 0.7956 GB, free: 43.58 MB / 0.6544 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.0002587/0.6715, allocations: 139.2 kB / 0.7958 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001217/0.6727, allocations: 393.2 kB / 0.7961 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6727, allocations: 0 / 0.7961 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007754/0.6735, allocations: 120.8 kB / 0.7962 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004454/0.6739, allocations: 42.16 kB / 0.7963 GB, free: 43.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.6752, allocations: 466.1 kB / 0.7967 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.6755, allocations: 0.7501 MB / 0.7975 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.106e-05/0.6755, allocations: 20.02 kB / 0.7975 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.6756, allocations: 16.81 kB / 0.7975 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.6756, allocations: 0 / 0.7975 GB, free: 42.44 MB / 0.6544 GB Notification: Performance of Templates: time 0.01116/0.6868, allocations: 4.008 MB / 0.8014 GB, free: 42.19 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)