Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.542/2.542, allocations: 285 MB / 292.5 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 172.9 kB / 360.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 0.6192 GB, free: 12.13 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001062/0.001061, allocations: 91.34 kB / 0.7322 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.346e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9191, allocations: 115.2 MB / 0.9635 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/1.184, allocations: 139.1 MB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/1.185, allocations: 72.52 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02518/1.21, allocations: 5.163 MB / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.708e-06/1.21, allocations: 0 / 1.104 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.875e-05/1.21, allocations: 11.88 kB / 1.104 GB, free: 12.18 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.001288/1.211, allocations: 0.5998 MB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.211, allocations: 8.031 kB / 1.105 GB, free: 11.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/1.212, allocations: 35.62 kB / 1.105 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/1.212, allocations: 268.2 kB / 1.105 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/1.212, allocations: 11.94 kB / 1.105 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/1.212, allocations: 19.92 kB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002445/1.213, allocations: 51.98 kB / 1.105 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004022/1.213, allocations: 162.2 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/1.213, allocations: 0 / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.017e-05/1.213, allocations: 0 / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/1.213, allocations: 4 kB / 1.106 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/1.215, allocations: 0.5595 MB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/1.215, allocations: 122.7 kB / 1.106 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001674/1.216, allocations: 60.84 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.487e-05/1.216, allocations: 4 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006025/1.216, allocations: 216.1 kB / 1.107 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 2.695e-06/1.216, allocations: 4 kB / 1.107 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007192/1.217, allocations: 223.2 kB / 1.107 GB, free: 9.676 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/1.217, allocations: 55.41 kB / 1.107 GB, free: 9.609 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/1.217, allocations: 265.1 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.822e-05/1.218, allocations: 37.7 kB / 1.107 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/1.218, allocations: 105.3 kB / 1.107 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.126e-05/1.218, allocations: 43.44 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/1.218, allocations: 4 kB / 1.107 GB, free: 9.145 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.218, allocations: 326.8 kB / 1.108 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/1.218, allocations: 108.2 kB / 1.108 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003816/1.219, allocations: 154.2 kB / 1.108 GB, free: 8.535 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/1.219, allocations: 86.28 kB / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.219, allocations: 0 / 1.108 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001045/1.22, allocations: 346.1 kB / 1.108 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/1.22, allocations: 75.39 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/1.22, allocations: 0 / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/1.22, allocations: 4 kB / 1.108 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/1.221, allocations: 27.91 kB / 1.108 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/1.221, allocations: 9.594 kB / 1.108 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000652/1.221, allocations: 43.81 kB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001292/1.221, allocations: 55.98 kB / 1.108 GB, free: 7.887 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.epochLastMonth) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.222, allocations: 131.8 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.701e-05/1.222, allocations: 31.67 kB / 1.109 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001175/1.222, allocations: 30.14 kB / 1.109 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.222, allocations: 3.984 kB / 1.109 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/1.222, allocations: 4 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/1.222, allocations: 0 / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.223, allocations: 0.5595 MB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-06/1.223, allocations: 1.5 kB / 1.109 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.363e-05/1.223, allocations: 4 kB / 1.109 GB, free: 7.074 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/1.223, allocations: 4 kB / 1.109 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/1.223, allocations: 15.97 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/1.223, allocations: 0 / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.223, allocations: 2.812 kB / 1.109 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/1.224, allocations: 315 kB / 1.109 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003456/1.224, allocations: 192.5 kB / 1.11 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/1.224, allocations: 11.94 kB / 1.11 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/1.225, allocations: 7.984 kB / 1.11 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/1.225, allocations: 27.97 kB / 1.11 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.481e-05/1.225, allocations: 25.8 kB / 1.11 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000307/1.225, allocations: 216.6 kB / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.225, allocations: 0 / 1.11 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005969/1.226, allocations: 52.25 kB / 1.11 GB, free: 6.188 MB / 0.7136 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002522/1.226, allocations: 129.5 kB / 1.11 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008412/1.227, allocations: 355 kB / 1.11 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.227, allocations: 4.062 kB / 1.11 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/1.227, allocations: 63.98 kB / 1.111 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/1.228, allocations: 35.48 kB / 1.111 GB, free: 5.586 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008683/1.228, allocations: 307.2 kB / 1.111 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/1.229, allocations: 0.7631 MB / 1.112 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0002659/1.229, allocations: 45.19 kB / 1.112 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/1.229, allocations: 31.42 kB / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/1.229, allocations: 0 / 1.112 GB, free: 4.406 MB / 0.7136 GB Notification: Performance of Templates: time 0.01264/1.242, allocations: 4.509 MB / 1.116 GB, free: 15.95 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)