Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006806/0.0006806, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004245/0.004245, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.147/1.147, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.353/1.353, allocations: 252 MB / 0.5105 GB, free: 4.66 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.0004785/0.0004785, allocations: 16 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3803, allocations: 106.3 MB / 0.7287 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.001406/0.3817, allocations: 1.21 MB / 0.7299 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000889/0.3826, allocations: 435.4 kB / 0.7303 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.605e-05/0.3827, allocations: 0 / 0.7303 GB, free: 9.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.137e-05/0.3828, allocations: 7.922 kB / 0.7303 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.3829, allocations: 24.28 kB / 0.7303 GB, free: 9.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005881/0.3835, allocations: 218.3 kB / 0.7305 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.3838, allocations: 287.9 kB / 0.7308 GB, free: 9.125 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.3838, allocations: 8 kB / 0.7308 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.3841, allocations: 214.3 kB / 0.731 GB, free: 8.91 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.3843, allocations: 115.6 kB / 0.7311 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.279e-05/0.3844, allocations: 8 kB / 0.7312 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.249e-05/0.3844, allocations: 15.94 kB / 0.7312 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.948e-05/0.3845, allocations: 75.77 kB / 0.7312 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.3847, allocations: 153 kB / 0.7314 GB, free: 8.543 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002668/0.385, allocations: 281 kB / 0.7317 GB, free: 8.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.385, allocations: 4 kB / 0.7317 GB, free: 8.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.703e-06/0.385, allocations: 0 / 0.7317 GB, free: 8.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.385, allocations: 0 / 0.7317 GB, free: 8.266 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.0009376/0.3859, allocations: 0.6102 MB / 0.7323 GB, free: 7.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.189e-05/0.386, allocations: 12.03 kB / 0.7323 GB, free: 7.57 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/0.386, allocations: 35.61 kB / 0.7323 GB, free: 7.535 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.3863, allocations: 262.2 kB / 0.7326 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.3864, allocations: 19.98 kB / 0.7326 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.3864, allocations: 16 kB / 0.7326 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.3867, allocations: 144 kB / 0.7327 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.3867, allocations: 3.938 kB / 0.7327 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.3867, allocations: 4 kB / 0.7327 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3867, allocations: 0 / 0.7327 GB, free: 7.055 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.3869, allocations: 47.97 kB / 0.7328 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002999/0.3872, allocations: 301.4 kB / 0.7331 GB, free: 6.664 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.3874, allocations: 138.8 kB / 0.7332 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001148/0.3876, allocations: 57.08 kB / 0.7332 GB, free: 6.461 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3876, allocations: 8 kB / 0.7333 GB, free: 6.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004097/0.388, allocations: 227.4 kB / 0.7335 GB, free: 6.219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.388, allocations: 0 / 0.7335 GB, free: 6.219 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005203/0.3885, allocations: 267.1 kB / 0.7337 GB, free: 5.953 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3886, allocations: 55.41 kB / 0.7338 GB, free: 5.887 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002385/0.3888, allocations: 294.9 kB / 0.7341 GB, free: 5.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.3889, allocations: 45.7 kB / 0.7341 GB, free: 5.539 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.096e-05/0.389, allocations: 89.12 kB / 0.7342 GB, free: 5.449 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.389, allocations: 51.39 kB / 0.7342 GB, free: 5.398 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-05/0.3891, allocations: 37.69 kB / 0.7343 GB, free: 5.355 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.3892, allocations: 318.8 kB / 0.7346 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3894, allocations: 92.19 kB / 0.7347 GB, free: 4.941 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.3896, allocations: 155.8 kB / 0.7348 GB, free: 4.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.3899, allocations: 232.1 kB / 0.735 GB, free: 4.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3899, allocations: 8 kB / 0.735 GB, free: 4.504 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006255/0.3905, allocations: 416.6 kB / 0.7354 GB, free: 4.078 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.556e-05/0.3906, allocations: 71.39 kB / 0.7355 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3906, allocations: 4 kB / 0.7355 GB, free: 3.992 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.3906, allocations: 3.938 kB / 0.7355 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.3908, allocations: 31.91 kB / 0.7355 GB, free: 3.957 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3908, allocations: 7.938 kB / 0.7356 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004819/0.3913, allocations: 68.05 kB / 0.7356 GB, free: 3.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.3914, allocations: 55.98 kB / 0.7357 GB, free: 3.828 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.0001594/0.3915, allocations: 175.9 kB / 0.7358 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.693e-05/0.3916, allocations: 27.62 kB / 0.7359 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.688e-05/0.3916, allocations: 34.25 kB / 0.7359 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.3916, allocations: 7.922 kB / 0.7359 GB, free: 3.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3916, allocations: 3.938 kB / 0.7359 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3917, allocations: 4 kB / 0.7359 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.3923, allocations: 0.5591 MB / 0.7365 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3923, allocations: 3.938 kB / 0.7365 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.3924, allocations: 8 kB / 0.7365 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3924, allocations: 4 kB / 0.7365 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.3924, allocations: 11.98 kB / 0.7365 GB, free: 2.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3924, allocations: 4 kB / 0.7365 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3924, allocations: 3.984 kB / 0.7365 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3928, allocations: 322.9 kB / 0.7368 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.3929, allocations: 148.7 kB / 0.7369 GB, free: 2.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.393, allocations: 8 kB / 0.737 GB, free: 2.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.3932, allocations: 19.98 kB / 0.737 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3933, allocations: 11.98 kB / 0.737 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.3933, allocations: 31.97 kB / 0.737 GB, free: 2.355 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001648/0.3935, allocations: 213.9 kB / 0.7372 GB, free: 2.148 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3935, allocations: 0 / 0.7372 GB, free: 2.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002809/0.3938, allocations: 51.98 kB / 0.7373 GB, free: 2.098 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 0.0001102/0.3939, allocations: 109.7 kB / 0.7374 GB, free: 1.98 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.3944, allocations: 352.5 kB / 0.7377 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3944, allocations: 0 / 0.7377 GB, free: 1.613 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.3945, allocations: 75.91 kB / 0.7378 GB, free: 1.539 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.3948, allocations: 24.81 kB / 0.7378 GB, free: 1.512 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.3954, allocations: 471.2 kB / 0.7383 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.3957, allocations: 0.7475 MB / 0.739 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001218/0.3958, allocations: 37.42 kB / 0.739 GB, free: 220 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3959, allocations: 39.42 kB / 0.7391 GB, free: 180 kB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.3959, allocations: 4 kB / 0.7391 GB, free: 176 kB / 0.545 GB Notification: Performance of Templates: time 0.006234/0.4022, allocations: 3.98 MB / 0.7429 GB, free: 12.21 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) Environment - environmentSimulation: