Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, allocations: 98.75 kB / 16.27 MB, free: 6.418 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.001315/0.001315, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.482/1.482, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.797/1.797, allocations: 292.3 MB / 0.5495 GB, free: 17.41 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.002281/0.002281, allocations: 71.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2376/0.2399, allocations: 114.5 MB / 0.7841 GB, free: 3.832 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus): time 0.0028/0.2427, allocations: 1.677 MB / 0.7857 GB, free: 2.141 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000979/0.2437, allocations: 487.2 kB / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.2438, allocations: 0 / 0.7862 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.991e-05/0.2439, allocations: 7.875 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.2441, allocations: 36.16 kB / 0.7862 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006655/0.2447, allocations: 286.5 kB / 0.7865 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004021/0.2451, allocations: 411.4 kB / 0.7869 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.2453, allocations: 25.11 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002785/0.2455, allocations: 231.6 kB / 0.7871 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.2458, allocations: 124 kB / 0.7872 GB, free: 0.5625 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.2458, allocations: 28 kB / 0.7873 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.2459, allocations: 32 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.246, allocations: 95.7 kB / 0.7874 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001517/0.2462, allocations: 147.3 kB / 0.7875 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.4446/0.6908, allocations: 429.2 kB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6908, allocations: 2.406 kB / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.244e-06/0.6909, allocations: 0 / 0.7879 GB, free: 46.72 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.6909, allocations: 0 / 0.7879 GB, free: 46.72 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.001131/0.692, allocations: 0.7796 MB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.6921, allocations: 8 kB / 0.7887 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.6922, allocations: 37.59 kB / 0.7887 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.6925, allocations: 283.5 kB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.6925, allocations: 16.58 kB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.627e-05/0.6926, allocations: 25.03 kB / 0.789 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009303/0.6936, allocations: 222.7 kB / 0.7893 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.6936, allocations: 0 / 0.7893 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.6936, allocations: 6.391 kB / 0.7893 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.6936, allocations: 4.875 kB / 0.7893 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007499/0.6944, allocations: 114.9 kB / 0.7894 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.6955, allocations: 0.5609 MB / 0.7899 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.6965, allocations: 173.9 kB / 0.7901 GB, free: 45.53 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007091/0.6972, allocations: 118.8 kB / 0.7902 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.6972, allocations: 4.719 kB / 0.7902 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009467/0.6982, allocations: 220.9 kB / 0.7904 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.254e-06/0.6982, allocations: 0 / 0.7904 GB, free: 45.47 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002455/0.7007, allocations: 463.5 kB / 0.7909 GB, free: 45.43 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/0.7007, allocations: 62.75 kB / 0.7909 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.701, allocations: 323.3 kB / 0.7912 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.7011, allocations: 40.3 kB / 0.7913 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.7012, allocations: 103.7 kB / 0.7914 GB, free: 45.13 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.7012, allocations: 37.31 kB / 0.7914 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.7013, allocations: 101 kB / 0.7915 GB, free: 45.09 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.509e-05/0.7014, allocations: 326.2 kB / 0.7918 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.7016, allocations: 99.09 kB / 0.7919 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.7018, allocations: 147.3 kB / 0.792 GB, free: 44.72 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002869/0.7021, allocations: 253.1 kB / 0.7923 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.7021, allocations: 3.625 kB / 0.7923 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005948/0.7027, allocations: 425.2 kB / 0.7927 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.264e-05/0.7028, allocations: 81.08 kB / 0.7928 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/0.7028, allocations: 3.5 kB / 0.7928 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.7028, allocations: 0 / 0.7928 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.703, allocations: 25.06 kB / 0.7928 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.703, allocations: 3.438 kB / 0.7928 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/0.7035, allocations: 60.3 kB / 0.7929 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.7036, allocations: 42.64 kB / 0.7929 GB, free: 44.43 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.0001832/0.7037, allocations: 189.6 kB / 0.7931 GB, free: 44.31 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.7038, allocations: 29.34 kB / 0.7931 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.99e-05/0.7039, allocations: 31.97 kB / 0.7931 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7039, allocations: 3.062 kB / 0.7931 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.7039, allocations: 0 / 0.7931 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7039, allocations: 3.938 kB / 0.7931 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.7058, allocations: 0.7309 MB / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.7058, allocations: 0 / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.727e-05/0.7059, allocations: 10.31 kB / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.7059, allocations: 8.531 kB / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.7059, allocations: 16.95 kB / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.7059, allocations: 0 / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.7059, allocations: 0 / 0.7939 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/0.7075, allocations: 456.9 kB / 0.7943 GB, free: 43.84 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.7077, allocations: 187.1 kB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.7078, allocations: 20.7 kB / 0.7945 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.7082, allocations: 30.81 kB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.87e-05/0.7083, allocations: 6.641 kB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.583e-05/0.7083, allocations: 48.3 kB / 0.7946 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001727/0.7085, allocations: 228.2 kB / 0.7948 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7085, allocations: 0 / 0.7948 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003485/0.7089, allocations: 62.36 kB / 0.7949 GB, free: 43.64 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.0001634/0.709, allocations: 128.9 kB / 0.795 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.7101, allocations: 408.2 kB / 0.7954 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.7101, allocations: 0 / 0.7954 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006991/0.7109, allocations: 121.5 kB / 0.7955 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003815/0.7112, allocations: 40.44 kB / 0.7956 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.7125, allocations: 0.5022 MB / 0.796 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001837/0.7127, allocations: 0.7499 MB / 0.7968 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.7128, allocations: 17.94 kB / 0.7968 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of SimCode: time 4.61e-07/0.7128, allocations: 3.469 kB / 0.7968 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.006042/0.7188, allocations: 3.184 MB / 0.7999 GB, free: 42.27 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)