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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 292.3 MB / 308.1 MB, free: 4.324 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.001297/0.001297, allocations: 182.4 kB / 376.9 MB, free: 1.871 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.566/1.566, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001018/0.001018, allocations: 92.2 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 59.91 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3255, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.004534/0.3301, allocations: 1.728 MB / 0.9839 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001402/0.3316, allocations: 0.4915 MB / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.3318, allocations: 0 / 0.9844 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.332, allocations: 7.938 kB / 0.9844 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.3322, allocations: 24.22 kB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.3332, allocations: 255.6 kB / 0.9847 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000561/0.3337, allocations: 359.8 kB / 0.985 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3339, allocations: 29.38 kB / 0.9851 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005541/0.3345, allocations: 226.3 kB / 0.9853 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004451/0.335, allocations: 131.5 kB / 0.9854 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.3351, allocations: 16 kB / 0.9854 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.457e-05/0.3352, allocations: 12 kB / 0.9854 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.3354, allocations: 79.7 kB / 0.9855 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.3357, allocations: 135.3 kB / 0.9856 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006227/0.3363, allocations: 410.9 kB / 0.986 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3363, allocations: 0 / 0.986 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3363, allocations: 0 / 0.986 GB, free: 6.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.3364, allocations: 0 / 0.986 GB, free: 6.496 MB / 0.7136 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.001871/0.3382, allocations: 0.7309 MB / 0.9867 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.3383, allocations: 8.031 kB / 0.9867 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.3385, allocations: 43.62 kB / 0.9868 GB, free: 5.641 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004806/0.339, allocations: 286.8 kB / 0.9871 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.339, allocations: 12 kB / 0.9871 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.635e-05/0.3391, allocations: 20 kB / 0.9871 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3395, allocations: 175.7 kB / 0.9873 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.3395, allocations: 0 / 0.9873 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.3396, allocations: 7.938 kB / 0.9873 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.3396, allocations: 4 kB / 0.9873 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3398, allocations: 63.95 kB / 0.9873 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.341, allocations: 0.5472 MB / 0.9879 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.3414, allocations: 146.6 kB / 0.988 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.3416, allocations: 64.77 kB / 0.9881 GB, free: 4.219 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.055e-05/0.3416, allocations: 4 kB / 0.9881 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006496/0.3423, allocations: 228 kB / 0.9883 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.414e-06/0.3423, allocations: 4 kB / 0.9883 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0006999/0.343, allocations: 279.7 kB / 0.9886 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3431, allocations: 59.39 kB / 0.9886 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003516/0.3434, allocations: 316.4 kB / 0.9889 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.525e-05/0.3435, allocations: 41.7 kB / 0.989 GB, free: 3.266 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.614e-05/0.3436, allocations: 97.05 kB / 0.9891 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.3437, allocations: 55.42 kB / 0.9891 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001988/0.3439, allocations: 109.7 kB / 0.9892 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.344, allocations: 322.8 kB / 0.9895 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.3443, allocations: 112.1 kB / 0.9896 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.3446, allocations: 162.4 kB / 0.9898 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/0.345, allocations: 261.2 kB / 0.99 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.345, allocations: 0 / 0.99 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007756/0.3458, allocations: 451.3 kB / 0.9905 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-05/0.3459, allocations: 79.33 kB / 0.9905 GB, free: 1.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/0.3459, allocations: 4 kB / 0.9905 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.3459, allocations: 4 kB / 0.9905 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3461, allocations: 27.91 kB / 0.9906 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.3461, allocations: 4 kB / 0.9906 GB, free: 1.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.3466, allocations: 59.98 kB / 0.9906 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.69e-05/0.3467, allocations: 55.98 kB / 0.9907 GB, free: 1.395 MB / 0.7136 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,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,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002484/0.347, allocations: 193.7 kB / 0.9909 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.3471, allocations: 27.62 kB / 0.9909 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.049e-05/0.3471, allocations: 30.36 kB / 0.9909 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3471, allocations: 4 kB / 0.9909 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3472, allocations: 0 / 0.9909 GB, free: 1.133 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3472, allocations: 4 kB / 0.9909 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009338/0.3481, allocations: 0.5978 MB / 0.9915 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3481, allocations: 0 / 0.9915 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.976e-05/0.3482, allocations: 12 kB / 0.9915 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.3482, allocations: 0 / 0.9915 GB, free: 476 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/0.3482, allocations: 15.91 kB / 0.9915 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3482, allocations: 4 kB / 0.9915 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.3483, allocations: 3.938 kB / 0.9915 GB, free: 452 kB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000933/0.3492, allocations: 0.9537 MB / 0.9925 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.3494, allocations: 184.6 kB / 0.9927 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.289e-05/0.3495, allocations: 8 kB / 0.9927 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3497, allocations: 19.98 kB / 0.9927 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.3498, allocations: 15.97 kB / 0.9927 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.3499, allocations: 31.98 kB / 0.9927 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002426/0.3501, allocations: 227 kB / 0.9929 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3501, allocations: 0 / 0.9929 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004732/0.3506, allocations: 59.91 kB / 0.993 GB, free: 14.88 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001988/0.3508, allocations: 124.9 kB / 0.9931 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006722/0.3515, allocations: 364 kB / 0.9935 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3515, allocations: 384 / 0.9935 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002105/0.3517, allocations: 79.89 kB / 0.9935 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.3522, allocations: 40.56 kB / 0.9936 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.3533, allocations: 0.6724 MB / 0.9942 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3537, allocations: 0.7517 MB / 0.995 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001567/0.3539, allocations: 41.42 kB / 0.995 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.354, allocations: 43.34 kB / 0.9951 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of SimCode: time 9.01e-07/0.354, allocations: 0 / 0.9951 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.01033/0.3644, allocations: 4.536 MB / 0.9995 GB, free: 8.164 MB / 0.7292 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)