Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001206, allocations: 187.5 kB / 16.62 MB, free: 6.582 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.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.779/1.779, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001631/0.001631, allocations: 73.47 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2878, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.004114/0.292, allocations: 1.666 MB / 0.7858 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.2933, allocations: 491.4 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2934, allocations: 4 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.2936, allocations: 7.875 kB / 0.7863 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.2938, allocations: 32.16 kB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.2947, allocations: 279.4 kB / 0.7866 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000594/0.2953, allocations: 419.4 kB / 0.787 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.2954, allocations: 37.09 kB / 0.787 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003845/0.2958, allocations: 223.6 kB / 0.7872 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003516/0.2962, allocations: 132 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.2963, allocations: 32 kB / 0.7874 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.479e-05/0.2964, allocations: 28 kB / 0.7874 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2965, allocations: 95.7 kB / 0.7875 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.2967, allocations: 147.3 kB / 0.7876 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.2973, allocations: 430.7 kB / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2973, allocations: 0 / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2973, allocations: 0 / 0.788 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2973, allocations: 0 / 0.788 GB, free: 8.758 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.001133/0.2984, allocations: 0.7811 MB / 0.7888 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.2985, allocations: 12.03 kB / 0.7888 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.711e-05/0.2986, allocations: 32.66 kB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.2989, allocations: 280.1 kB / 0.7891 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.576e-05/0.299, allocations: 28.36 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.2991, allocations: 19.94 kB / 0.7891 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009035/0.3, allocations: 228.1 kB / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.3, allocations: 0 / 0.7894 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.3, allocations: 4 kB / 0.7894 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.3, allocations: 4 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.3007, allocations: 119.8 kB / 0.7895 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3019, allocations: 0.5472 MB / 0.79 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.3028, allocations: 182.5 kB / 0.7902 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.3035, allocations: 116.7 kB / 0.7903 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.3035, allocations: 4 kB / 0.7903 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009049/0.3045, allocations: 226.1 kB / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.3045, allocations: 0 / 0.7905 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002207/0.3067, allocations: 453.1 kB / 0.791 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.253e-05/0.3067, allocations: 63.34 kB / 0.791 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.3071, allocations: 328.3 kB / 0.7913 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.462e-05/0.3071, allocations: 37.69 kB / 0.7914 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.3073, allocations: 105 kB / 0.7915 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3073, allocations: 31.59 kB / 0.7915 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.3075, allocations: 105.5 kB / 0.7916 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3076, allocations: 322.8 kB / 0.7919 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.3078, allocations: 95.94 kB / 0.792 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.3081, allocations: 142.6 kB / 0.7921 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.3084, allocations: 265.2 kB / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3084, allocations: 0 / 0.7924 GB, free: 3.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006634/0.3091, allocations: 415.1 kB / 0.7928 GB, free: 3.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-05/0.3092, allocations: 83.38 kB / 0.7929 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3092, allocations: 4 kB / 0.7929 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.3092, allocations: 4 kB / 0.7929 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.3094, allocations: 23.86 kB / 0.7929 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.3094, allocations: 4 kB / 0.7929 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004056/0.3098, allocations: 56.05 kB / 0.7929 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.3099, allocations: 39.98 kB / 0.793 GB, free: 3.332 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.0001925/0.3101, allocations: 184.4 kB / 0.7932 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.925e-05/0.3101, allocations: 27.7 kB / 0.7932 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.745e-05/0.3102, allocations: 30.36 kB / 0.7932 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.3102, allocations: 7.938 kB / 0.7932 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3102, allocations: 4 kB / 0.7932 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3102, allocations: 3.938 kB / 0.7932 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.3121, allocations: 0.7248 MB / 0.7939 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3122, allocations: 3.938 kB / 0.7939 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.18e-05/0.3122, allocations: 8 kB / 0.794 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-06/0.3122, allocations: 8 kB / 0.794 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.564e-05/0.3123, allocations: 19.97 kB / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3123, allocations: 0 / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3123, allocations: 0 / 0.794 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001565/0.3138, allocations: 462.8 kB / 0.7944 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.3141, allocations: 192.6 kB / 0.7946 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.3141, allocations: 20 kB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004197/0.3146, allocations: 30.97 kB / 0.7947 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.3146, allocations: 7.984 kB / 0.7947 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.524e-05/0.3147, allocations: 43.97 kB / 0.7947 GB, free: 1.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002329/0.3149, allocations: 231 kB / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3149, allocations: 0 / 0.7949 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003232/0.3153, allocations: 59.84 kB / 0.795 GB, free: 1.195 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.0002295/0.3155, allocations: 131.2 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.3166, allocations: 402.5 kB / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3167, allocations: 0 / 0.7955 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006963/0.3174, allocations: 115.8 kB / 0.7956 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3178, allocations: 48.55 kB / 0.7956 GB, free: 496 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.3191, allocations: 472.9 kB / 0.7961 GB, free: 0 / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.3195, allocations: 0.7513 MB / 0.7968 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.28e-05/0.3196, allocations: 13.42 kB / 0.7968 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.3196, allocations: 19.42 kB / 0.7969 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.3196, allocations: 0 / 0.7969 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of Templates: time 0.007349/0.327, allocations: 4.005 MB / 0.8008 GB, free: 11.22 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)