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.0009739/0.000974, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009201/0.0009201, allocations: 193.6 kB / 16.14 MB, free: 6.652 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.219/1.219, allocations: 205.1 MB / 222 MB, free: 4.75 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.328/1.328, allocations: 251.7 MB / 0.5088 GB, free: 3.383 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.00121/0.00121, allocations: 71.89 kB / 0.6216 GB, free: 2.012 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.39/0.3912, allocations: 104.7 MB / 0.7238 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002241/0.3935, allocations: 1.549 MB / 0.7253 GB, free: 11.76 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.3942, allocations: 443.3 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.3943, allocations: 4 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 7.741e-05/0.3944, allocations: 7.938 kB / 0.7257 GB, free: 11.31 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.413e-05/0.3945, allocations: 24.22 kB / 0.7258 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.395, allocations: 218.7 kB / 0.726 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002389/0.3952, allocations: 295.8 kB / 0.7263 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.3953, allocations: 4 kB / 0.7263 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.3955, allocations: 210.3 kB / 0.7265 GB, free: 10.58 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3957, allocations: 119.6 kB / 0.7266 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.3957, allocations: 12 kB / 0.7266 GB, free: 10.45 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.958e-05/0.3958, allocations: 8 kB / 0.7266 GB, free: 10.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.916e-05/0.3959, allocations: 83.7 kB / 0.7267 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.396, allocations: 119.4 kB / 0.7268 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.3963, allocations: 273.2 kB / 0.7271 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3963, allocations: 0 / 0.7271 GB, free: 9.977 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.01e-07/0.3963, allocations: 0 / 0.7271 GB, free: 9.977 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.3963, allocations: 0 / 0.7271 GB, free: 9.977 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.001028/0.3973, allocations: 0.7075 MB / 0.7277 GB, free: 9.195 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.3974, allocations: 12.03 kB / 0.7278 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.3975, allocations: 27.72 kB / 0.7278 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.3977, allocations: 266.2 kB / 0.728 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3977, allocations: 8 kB / 0.728 GB, free: 8.852 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.269e-05/0.3978, allocations: 23.98 kB / 0.7281 GB, free: 8.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.3981, allocations: 141.5 kB / 0.7282 GB, free: 8.684 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3981, allocations: 3.938 kB / 0.7282 GB, free: 8.68 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3981, allocations: 11.92 kB / 0.7282 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.3981, allocations: 0 / 0.7282 GB, free: 8.668 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.3982, allocations: 51.97 kB / 0.7283 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002849/0.3985, allocations: 309.3 kB / 0.7286 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3988, allocations: 126.6 kB / 0.7287 GB, free: 8.133 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3989, allocations: 61.2 kB / 0.7287 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.3989, allocations: 3.984 kB / 0.7287 GB, free: 8.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003837/0.3993, allocations: 231.4 kB / 0.729 GB, free: 7.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.3993, allocations: 0 / 0.729 GB, free: 7.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005179/0.3999, allocations: 266.9 kB / 0.7292 GB, free: 7.562 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/0.3999, allocations: 63.41 kB / 0.7293 GB, free: 7.488 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002312/0.4001, allocations: 287 kB / 0.7296 GB, free: 7.199 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.4002, allocations: 45.62 kB / 0.7296 GB, free: 7.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.4003, allocations: 89.14 kB / 0.7297 GB, free: 7.059 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.4003, allocations: 51.38 kB / 0.7297 GB, free: 7.008 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.4004, allocations: 109.6 kB / 0.7298 GB, free: 6.891 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.443e-05/0.4006, allocations: 322.8 kB / 0.7301 GB, free: 6.566 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/0.4008, allocations: 92.17 kB / 0.7302 GB, free: 6.477 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.401, allocations: 150.4 kB / 0.7304 GB, free: 6.309 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000281/0.4013, allocations: 239.8 kB / 0.7306 GB, free: 6.043 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.4013, allocations: 4 kB / 0.7306 GB, free: 6.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006028/0.4019, allocations: 412.6 kB / 0.731 GB, free: 5.617 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.402, allocations: 79.38 kB / 0.7311 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.402, allocations: 0 / 0.7311 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.402, allocations: 8.125 kB / 0.7311 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4021, allocations: 27.92 kB / 0.7311 GB, free: 5.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.4022, allocations: 4 kB / 0.7311 GB, free: 5.488 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004801/0.4026, allocations: 59.84 kB / 0.7312 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.4027, allocations: 51.98 kB / 0.7312 GB, free: 5.379 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.0001512/0.4029, allocations: 175.9 kB / 0.7314 GB, free: 5.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4029, allocations: 31.56 kB / 0.7314 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.285e-05/0.403, allocations: 30.25 kB / 0.7314 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.922e-06/0.403, allocations: 7.938 kB / 0.7315 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.403, allocations: 0 / 0.7315 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.403, allocations: 3.984 kB / 0.7315 GB, free: 5.125 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006685/0.4037, allocations: 0.5589 MB / 0.732 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4037, allocations: 0 / 0.732 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.4037, allocations: 4 kB / 0.732 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4037, allocations: 4 kB / 0.732 GB, free: 4.504 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.4038, allocations: 15.97 kB / 0.732 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.4038, allocations: 3.938 kB / 0.732 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4038, allocations: 3.984 kB / 0.732 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.4042, allocations: 326.9 kB / 0.7323 GB, free: 4.145 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.4043, allocations: 156.7 kB / 0.7325 GB, free: 3.973 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.4044, allocations: 8 kB / 0.7325 GB, free: 3.965 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.4046, allocations: 15.11 kB / 0.7325 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.4046, allocations: 19.97 kB / 0.7325 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.4047, allocations: 27.98 kB / 0.7326 GB, free: 3.906 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001566/0.4048, allocations: 209.9 kB / 0.7328 GB, free: 3.703 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4048, allocations: 0 / 0.7328 GB, free: 3.703 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002822/0.4051, allocations: 52 kB / 0.7328 GB, free: 3.652 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.0001077/0.4052, allocations: 113.5 kB / 0.7329 GB, free: 3.531 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.4057, allocations: 352.7 kB / 0.7333 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4057, allocations: 0 / 0.7333 GB, free: 3.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4059, allocations: 71.91 kB / 0.7333 GB, free: 3.094 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.4062, allocations: 24.81 kB / 0.7333 GB, free: 3.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000579/0.4068, allocations: 465.8 kB / 0.7338 GB, free: 2.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.407, allocations: 0.7475 MB / 0.7345 GB, free: 1.809 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001243/0.4072, allocations: 41.42 kB / 0.7346 GB, free: 1.77 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.4073, allocations: 31.42 kB / 0.7346 GB, free: 1.738 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4073, allocations: 4 kB / 0.7346 GB, free: 1.734 MB / 0.545 GB Notification: Performance of Templates: time 0.005896/0.4132, allocations: 4.009 MB / 0.7385 GB, free: 13.75 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (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)