Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.224/2.224, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00129/0.00129, allocations: 176.6 kB / 326.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.349/2.349, allocations: 205.4 MB / 0.5772 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009412/0.0009409, allocations: 96.06 kB / 0.6817 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006929/0.0006933, allocations: 11.91 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2162, allocations: 106.2 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.256/0.4723, allocations: 133.7 MB / 1.03 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004606/0.4728, allocations: 83.88 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04308/0.516, allocations: 5.225 MB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.815e-06/0.516, allocations: 4 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.684e-05/0.5161, allocations: 4 kB / 1.035 GB, free: 6.254 MB / 0.6823 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.002257/0.5183, allocations: 0.6459 MB / 1.036 GB, free: 5.531 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.161e-05/0.5184, allocations: 12.03 kB / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.5188, allocations: 40.55 kB / 1.036 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008132/0.5196, allocations: 268.5 kB / 1.036 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.5197, allocations: 16.38 kB / 1.036 GB, free: 5.164 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.5199, allocations: 24.36 kB / 1.036 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.5208, allocations: 168.1 kB / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.5208, allocations: 192 / 1.036 GB, free: 4.973 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/0.5209, allocations: 11.94 kB / 1.036 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.521, allocations: 0 / 1.036 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.5214, allocations: 55.97 kB / 1.037 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.5245, allocations: 0.59 MB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008677/0.5254, allocations: 142.6 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000403/0.5259, allocations: 64.77 kB / 1.037 GB, free: 4.051 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.363e-05/0.526, allocations: 7.984 kB / 1.037 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001124/0.5271, allocations: 216.2 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 7.444e-06/0.5272, allocations: 0 / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001749/0.5289, allocations: 294.6 kB / 1.038 GB, free: 3.527 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.5291, allocations: 59.41 kB / 1.038 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.53, allocations: 316.4 kB / 1.038 GB, free: 3.137 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002264/0.5302, allocations: 37.7 kB / 1.038 GB, free: 3.094 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5304, allocations: 97.12 kB / 1.038 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.5306, allocations: 47.44 kB / 1.038 GB, free: 2.949 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.165e-05/0.5307, allocations: 8 kB / 1.038 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5309, allocations: 330.7 kB / 1.039 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008708/0.5318, allocations: 124.1 kB / 1.039 GB, free: 2.484 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009327/0.5328, allocations: 174.3 kB / 1.039 GB, free: 2.293 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007719/0.5336, allocations: 170.5 kB / 1.039 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5336, allocations: 4 kB / 1.039 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002039/0.5357, allocations: 452.6 kB / 1.04 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.5358, allocations: 75.39 kB / 1.04 GB, free: 1.566 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.5359, allocations: 4 kB / 1.04 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/0.5359, allocations: 0 / 1.04 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.5363, allocations: 35.91 kB / 1.04 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5363, allocations: 0 / 1.04 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009301/0.5372, allocations: 52.06 kB / 1.04 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/0.5374, allocations: 47.98 kB / 1.04 GB, free: 1.43 MB / 0.6823 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.0005123/0.538, allocations: 193.7 kB / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5381, allocations: 31.62 kB / 1.04 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.5382, allocations: 34.36 kB / 1.04 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.5382, allocations: 0 / 1.04 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.5383, allocations: 0 / 1.04 GB, free: 1.164 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.5383, allocations: 4 kB / 1.04 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/0.5402, allocations: 0.5977 MB / 1.041 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5403, allocations: 0 / 1.041 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.5404, allocations: 11.97 kB / 1.041 GB, free: 0.4961 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.287e-05/0.5404, allocations: 4 kB / 1.041 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.363e-05/0.5405, allocations: 11.98 kB / 1.041 GB, free: 492 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-05/0.5406, allocations: 3.984 kB / 1.041 GB, free: 488 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5406, allocations: 11.94 kB / 1.041 GB, free: 476 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.5417, allocations: 326.9 kB / 1.041 GB, free: 132 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000551/0.5423, allocations: 184.7 kB / 1.041 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5425, allocations: 8 kB / 1.041 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004894/0.543, allocations: 15.98 kB / 1.041 GB, free: 15.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.5431, allocations: 19.91 kB / 1.041 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.5433, allocations: 31.98 kB / 1.041 GB, free: 15.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005464/0.5438, allocations: 227 kB / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.92e-07/0.5438, allocations: 0 / 1.041 GB, free: 15.63 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009199/0.5448, allocations: 56 kB / 1.041 GB, free: 15.57 MB / 0.698 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.0003549/0.5452, allocations: 131.2 kB / 1.042 GB, free: 15.44 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001738/0.5469, allocations: 376.1 kB / 1.042 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.547, allocations: 4.375 kB / 1.042 GB, free: 15.04 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.5474, allocations: 83.89 kB / 1.042 GB, free: 14.96 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.5483, allocations: 28.62 kB / 1.042 GB, free: 14.93 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5503, allocations: 492 kB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.551, allocations: 0.7594 MB / 1.043 GB, free: 13.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004685/0.5516, allocations: 41.42 kB / 1.043 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/0.5519, allocations: 35.42 kB / 1.043 GB, free: 13.57 MB / 0.698 GB Notification: Performance of SimCode: time 1.532e-06/0.5519, allocations: 4 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of Templates: time 0.02157/0.5735, allocations: 4.759 MB / 1.048 GB, free: 8.832 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)