Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.556/1.556, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 180.5 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007971/0.0007974, allocations: 107 kB / 0.7808 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003546, allocations: 14.25 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6177/0.6181, allocations: 120.3 MB / 1.026 GB, free: 55.77 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.802, allocations: 143.3 MB / 1.166 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.8023, allocations: 73.12 kB / 1.166 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01506/0.8173, allocations: 5.236 MB / 1.171 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8174, allocations: 0.6562 kB / 1.171 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.8174, allocations: 4.844 kB / 1.171 GB, free: 12.93 MB / 0.7448 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.001036/0.8185, allocations: 0.6443 MB / 1.172 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.8185, allocations: 8.641 kB / 1.172 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.8186, allocations: 38.41 kB / 1.172 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.819, allocations: 285.8 kB / 1.172 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.8191, allocations: 9.688 kB / 1.172 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.8191, allocations: 22.73 kB / 1.172 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003365/0.8195, allocations: 169.1 kB / 1.173 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.8195, allocations: 4.188 kB / 1.173 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.8195, allocations: 10.09 kB / 1.173 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.8195, allocations: 0 / 1.173 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.8197, allocations: 57.5 kB / 1.173 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.8209, allocations: 0.5887 MB / 1.173 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.8212, allocations: 143.2 kB / 1.173 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.8213, allocations: 60.12 kB / 1.173 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.8213, allocations: 9.875 kB / 1.173 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000445/0.8218, allocations: 224.1 kB / 1.174 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.8218, allocations: 0 / 1.174 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.000615/0.8224, allocations: 279.1 kB / 1.174 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.8225, allocations: 61.23 kB / 1.174 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.8229, allocations: 319.4 kB / 1.174 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.75e-05/0.8229, allocations: 49.62 kB / 1.174 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.823, allocations: 96.98 kB / 1.174 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.8231, allocations: 47.52 kB / 1.175 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.312e-05/0.8231, allocations: 8 kB / 1.175 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.8232, allocations: 326.8 kB / 1.175 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003064/0.8236, allocations: 121.5 kB / 1.175 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.8239, allocations: 172.7 kB / 1.175 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.8242, allocations: 261.2 kB / 1.175 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.8243, allocations: 0 / 1.175 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007727/0.825, allocations: 461.6 kB / 1.176 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.8251, allocations: 81.89 kB / 1.176 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/0.8251, allocations: 0 / 1.176 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.8252, allocations: 4 kB / 1.176 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.8253, allocations: 27.91 kB / 1.176 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.8253, allocations: 8.188 kB / 1.176 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.8257, allocations: 43.88 kB / 1.176 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.8258, allocations: 55.98 kB / 1.176 GB, free: 8.348 MB / 0.7448 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.826, allocations: 191.3 kB / 1.176 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.8261, allocations: 31.62 kB / 1.176 GB, free: 8.121 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.551e-05/0.8261, allocations: 32.45 kB / 1.176 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.8261, allocations: 4 kB / 1.176 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.8261, allocations: 0 / 1.176 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.8261, allocations: 0 / 1.176 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007441/0.8269, allocations: 0.5957 MB / 1.177 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8269, allocations: 0 / 1.177 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.827, allocations: 8 kB / 1.177 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.827, allocations: 0 / 1.177 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.856e-05/0.827, allocations: 20.73 kB / 1.177 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.827, allocations: 0 / 1.177 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.827, allocations: 3.984 kB / 1.177 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.8274, allocations: 333.4 kB / 1.177 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.8276, allocations: 180.7 kB / 1.177 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.041e-05/0.8277, allocations: 19.98 kB / 1.177 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.8279, allocations: 5.5 kB / 1.177 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.8279, allocations: 31.91 kB / 1.177 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.639e-05/0.828, allocations: 23.98 kB / 1.177 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002242/0.8282, allocations: 227 kB / 1.178 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8282, allocations: 4 kB / 1.178 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000355/0.8286, allocations: 64.14 kB / 1.178 GB, free: 6.5 MB / 0.7448 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 (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.0002131/0.8288, allocations: 123 kB / 1.178 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006336/0.8294, allocations: 380.5 kB / 1.178 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.8295, allocations: 4.781 kB / 1.178 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.8296, allocations: 79.91 kB / 1.178 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.83, allocations: 31.2 kB / 1.178 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007702/0.8308, allocations: 495.6 kB / 1.179 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.8311, allocations: 0.7556 MB / 1.18 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.8313, allocations: 38.36 kB / 1.18 GB, free: 4.547 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.8314, allocations: 39.42 kB / 1.18 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of SimCode: time 3.11e-07/0.8314, allocations: 0 / 1.18 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of Templates: time 0.009003/0.8404, allocations: 4.792 MB / 1.184 GB, free: 15.86 MB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)