Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.55/1.55, allocations: 285.4 MB / 298 MB, free: 5.969 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.0009618/0.000962, allocations: 168.8 kB / 366.4 MB, free: 2.094 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.741/1.741, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0009679/0.0009679, allocations: 92.27 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.902e-05/3.918e-05, allocations: 4 kB / 0.8583 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8069/0.807, allocations: 115.3 MB / 0.9709 GB, free: 77.84 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2144/1.021, allocations: 140 MB / 1.108 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/1.022, allocations: 67.95 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0156/1.037, allocations: 5.187 MB / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/1.037, allocations: 0 / 1.113 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.012e-05/1.037, allocations: 4 kB / 1.113 GB, free: 6.621 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.001091/1.039, allocations: 0.601 MB / 1.113 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.039, allocations: 8.031 kB / 1.113 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/1.039, allocations: 43.61 kB / 1.113 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004884/1.039, allocations: 276 kB / 1.114 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.668e-05/1.039, allocations: 12.66 kB / 1.114 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.968e-05/1.039, allocations: 23.98 kB / 1.114 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/1.04, allocations: 162 kB / 1.114 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.04, allocations: 0 / 1.114 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.954e-05/1.04, allocations: 0 / 1.114 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/1.04, allocations: 7.953 kB / 1.114 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/1.04, allocations: 55.98 kB / 1.114 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001319/1.041, allocations: 0.5966 MB / 1.114 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/1.042, allocations: 130.7 kB / 1.115 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/1.042, allocations: 64.78 kB / 1.115 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/1.042, allocations: 4 kB / 1.115 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004351/1.042, allocations: 220.3 kB / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.853e-06/1.042, allocations: 0 / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0005241/1.043, allocations: 230.3 kB / 1.115 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/1.043, allocations: 67.39 kB / 1.115 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000326/1.043, allocations: 270.7 kB / 1.115 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.173e-05/1.043, allocations: 45.69 kB / 1.115 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/1.043, allocations: 96.98 kB / 1.116 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/1.043, allocations: 47.44 kB / 1.116 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/1.043, allocations: 15.98 kB / 1.116 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.044, allocations: 334.8 kB / 1.116 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002621/1.044, allocations: 108.2 kB / 1.116 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/1.044, allocations: 170.4 kB / 1.116 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/1.044, allocations: 168.8 kB / 1.116 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.044, allocations: 0 / 1.116 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008012/1.045, allocations: 439.8 kB / 1.117 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.158e-05/1.045, allocations: 79.38 kB / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.045, allocations: 192 / 1.117 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/1.045, allocations: 8 kB / 1.117 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/1.046, allocations: 23.92 kB / 1.117 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/1.046, allocations: 11.92 kB / 1.117 GB, free: 2.066 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/1.046, allocations: 39.89 kB / 1.117 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.613e-05/1.046, allocations: 59.97 kB / 1.117 GB, free: 1.969 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.0001456/1.046, allocations: 143.7 kB / 1.117 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/1.046, allocations: 23.72 kB / 1.117 GB, free: 1.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.536e-05/1.046, allocations: 30.14 kB / 1.117 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/1.046, allocations: 7.984 kB / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/1.046, allocations: 0 / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.046, allocations: 2.5 kB / 1.117 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007899/1.047, allocations: 0.597 MB / 1.118 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.047, allocations: 0 / 1.118 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/1.047, allocations: 11.98 kB / 1.118 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/1.047, allocations: 4 kB / 1.118 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/1.047, allocations: 7.984 kB / 1.118 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/1.047, allocations: 2.344 kB / 1.118 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.047, allocations: 3.938 kB / 1.118 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004335/1.048, allocations: 327.8 kB / 1.118 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002142/1.048, allocations: 188.5 kB / 1.118 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/1.048, allocations: 16 kB / 1.118 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/1.048, allocations: 11.98 kB / 1.118 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.537e-05/1.048, allocations: 15.98 kB / 1.118 GB, free: 0.5039 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/1.048, allocations: 35.16 kB / 1.118 GB, free: 484 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000225/1.049, allocations: 226.2 kB / 1.119 GB, free: 256 kB / 0.7136 GB Notification: Performance of sort global known variables: time 2.91e-07/1.049, allocations: 0 / 1.119 GB, free: 256 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003433/1.049, allocations: 60.23 kB / 1.119 GB, free: 196 kB / 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.0002539/1.049, allocations: 132.3 kB / 1.119 GB, free: 56 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0006239/1.05, allocations: 382.8 kB / 1.119 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.05, allocations: 0 / 1.119 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/1.05, allocations: 71.92 kB / 1.119 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/1.05, allocations: 34.92 kB / 1.119 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006643/1.051, allocations: 309.6 kB / 1.12 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/1.051, allocations: 0.7595 MB / 1.12 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000152/1.052, allocations: 41.2 kB / 1.12 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/1.052, allocations: 31.42 kB / 1.12 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/1.052, allocations: 0 / 1.12 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of Templates: time 0.01101/1.063, allocations: 4.75 MB / 1.125 GB, free: 9.691 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)