Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000914/0.0009169, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.000913, allocations: 192.3 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 251.6 MB / 0.5089 GB, free: 3.309 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 64.47 kB / 0.6217 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3554, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002197/0.3577, allocations: 1.549 MB / 0.7255 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007085/0.3584, allocations: 419.3 kB / 0.7259 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.3584, allocations: 0 / 0.7259 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.479e-05/0.3585, allocations: 3.938 kB / 0.7259 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.3586, allocations: 24.28 kB / 0.7259 GB, free: 11.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005229/0.3591, allocations: 222.8 kB / 0.7261 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003045/0.3594, allocations: 327.8 kB / 0.7264 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.3595, allocations: 7.984 kB / 0.7265 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.3597, allocations: 230.3 kB / 0.7267 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.3599, allocations: 127.6 kB / 0.7268 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.36, allocations: 20 kB / 0.7268 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.031e-05/0.36, allocations: 16 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.47e-05/0.3601, allocations: 87.66 kB / 0.7269 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.3602, allocations: 131.4 kB / 0.727 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.3605, allocations: 285 kB / 0.7273 GB, free: 9.707 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3605, allocations: 0 / 0.7273 GB, free: 9.707 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3605, allocations: 0 / 0.7273 GB, free: 9.707 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.3605, allocations: 0 / 0.7273 GB, free: 9.707 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001011/0.3615, allocations: 0.7036 MB / 0.728 GB, free: 8.93 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.61e-05/0.3616, allocations: 8.031 kB / 0.728 GB, free: 8.922 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.674e-05/0.3617, allocations: 31.72 kB / 0.728 GB, free: 8.891 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.3619, allocations: 270.2 kB / 0.7283 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.3619, allocations: 12 kB / 0.7283 GB, free: 8.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.419e-05/0.362, allocations: 12 kB / 0.7283 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002512/0.3623, allocations: 145.5 kB / 0.7285 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.3623, allocations: 3.938 kB / 0.7285 GB, free: 8.414 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3623, allocations: 3.984 kB / 0.7285 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3623, allocations: 4 kB / 0.7285 GB, free: 8.406 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3624, allocations: 43.97 kB / 0.7285 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.3627, allocations: 309.3 kB / 0.7288 GB, free: 8.012 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.363, allocations: 134.7 kB / 0.7289 GB, free: 7.871 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.3631, allocations: 56.83 kB / 0.729 GB, free: 7.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.3631, allocations: 8.359 kB / 0.729 GB, free: 7.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.3635, allocations: 223.4 kB / 0.7292 GB, free: 7.574 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.412e-06/0.3635, allocations: 0 / 0.7292 GB, free: 7.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005051/0.364, allocations: 266.9 kB / 0.7295 GB, free: 7.309 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3641, allocations: 63.39 kB / 0.7295 GB, free: 7.234 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.3643, allocations: 287 kB / 0.7298 GB, free: 6.945 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.3644, allocations: 41.7 kB / 0.7298 GB, free: 6.898 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.3644, allocations: 89.12 kB / 0.7299 GB, free: 6.809 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.3645, allocations: 51.38 kB / 0.73 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001471/0.3646, allocations: 109.6 kB / 0.7301 GB, free: 6.641 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.682e-05/0.3647, allocations: 326.8 kB / 0.7304 GB, free: 6.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.3649, allocations: 92.17 kB / 0.7305 GB, free: 6.223 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002041/0.3651, allocations: 151.1 kB / 0.7306 GB, free: 6.055 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000278/0.3654, allocations: 239.8 kB / 0.7308 GB, free: 5.789 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3654, allocations: 0 / 0.7308 GB, free: 5.789 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005864/0.366, allocations: 416.6 kB / 0.7312 GB, free: 5.363 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.767e-05/0.3661, allocations: 71.39 kB / 0.7313 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3661, allocations: 4 kB / 0.7313 GB, free: 5.277 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.3661, allocations: 11.92 kB / 0.7313 GB, free: 5.266 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3663, allocations: 31.91 kB / 0.7314 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3663, allocations: 0 / 0.7314 GB, free: 5.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.3668, allocations: 67.98 kB / 0.7314 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.3668, allocations: 51.98 kB / 0.7315 GB, free: 5.117 MB / 0.545 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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.0001529/0.367, allocations: 175.9 kB / 0.7316 GB, free: 4.934 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.367, allocations: 27.62 kB / 0.7317 GB, free: 4.906 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.3671, allocations: 38.25 kB / 0.7317 GB, free: 4.871 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.3671, allocations: 3.938 kB / 0.7317 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.3671, allocations: 0 / 0.7317 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.3671, allocations: 4 kB / 0.7317 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006739/0.3678, allocations: 0.5549 MB / 0.7322 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3678, allocations: 0 / 0.7322 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.156e-05/0.3679, allocations: 11.98 kB / 0.7323 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3679, allocations: 0 / 0.7323 GB, free: 4.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.3679, allocations: 11.98 kB / 0.7323 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3679, allocations: 8 kB / 0.7323 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3679, allocations: 0 / 0.7323 GB, free: 4.223 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004227/0.3683, allocations: 326.9 kB / 0.7326 GB, free: 3.887 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3685, allocations: 148.7 kB / 0.7327 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.493e-05/0.3685, allocations: 8 kB / 0.7327 GB, free: 3.715 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.3687, allocations: 19.92 kB / 0.7328 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.3688, allocations: 11.98 kB / 0.7328 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.3688, allocations: 35.98 kB / 0.7328 GB, free: 3.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001532/0.369, allocations: 209.9 kB / 0.733 GB, free: 3.445 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.369, allocations: 0 / 0.733 GB, free: 3.445 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002808/0.3693, allocations: 47.98 kB / 0.7331 GB, free: 3.398 MB / 0.545 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,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 9.862e-05/0.3694, allocations: 107.8 kB / 0.7332 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.3699, allocations: 356.8 kB / 0.7335 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3699, allocations: 384 / 0.7335 GB, free: 2.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.37, allocations: 83.89 kB / 0.7336 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.3703, allocations: 27.62 kB / 0.7336 GB, free: 2.805 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.3709, allocations: 467.6 kB / 0.734 GB, free: 2.316 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.3712, allocations: 0.7472 MB / 0.7348 GB, free: 1.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000133/0.3713, allocations: 41.41 kB / 0.7348 GB, free: 1.504 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.3715, allocations: 35.42 kB / 0.7348 GB, free: 1.469 MB / 0.545 GB Notification: Performance of SimCode: time 1.9e-07/0.3715, allocations: 0 / 0.7348 GB, free: 1.469 MB / 0.545 GB Notification: Performance of Templates: time 0.006086/0.3775, allocations: 4.151 MB / 0.7389 GB, free: 13.34 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)