Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.751/1.751, allocations: 297.8 MB / 313.7 MB, free: 136 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009722/0.0009723, allocations: 190.8 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008516/0.0008518, allocations: 101.8 kB / 0.7808 GB, free: 50.33 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004084, allocations: 16.75 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7729, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1919/0.9648, allocations: 143.1 MB / 1.166 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.965, allocations: 70.92 kB / 1.166 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01486/0.9799, allocations: 4.484 MB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.98, allocations: 0.6562 kB / 1.17 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.98, allocations: 4 kB / 1.17 GB, free: 13.66 MB / 0.7448 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.0009892/0.981, allocations: 0.6154 MB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.981, allocations: 8.031 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.687e-05/0.9811, allocations: 33.94 kB / 1.171 GB, free: 12.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.9815, allocations: 267.6 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.9816, allocations: 7.188 kB / 1.171 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.9816, allocations: 22.25 kB / 1.171 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.982, allocations: 150.6 kB / 1.172 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.982, allocations: 1.594 kB / 1.172 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.982, allocations: 8.344 kB / 1.172 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.9821, allocations: 0 / 1.172 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.9822, allocations: 47.78 kB / 1.172 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.9827, allocations: 326.8 kB / 1.172 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.9829, allocations: 130.9 kB / 1.172 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001281/0.9831, allocations: 61.47 kB / 1.172 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.935e-05/0.9831, allocations: 0.7969 kB / 1.172 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005185/0.9836, allocations: 220.1 kB / 1.172 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.9837, allocations: 4 kB / 1.172 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006046/0.9843, allocations: 268.6 kB / 1.173 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.9843, allocations: 56.72 kB / 1.173 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003267/0.9847, allocations: 295.7 kB / 1.173 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.152e-05/0.9847, allocations: 42.95 kB / 1.173 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.834e-05/0.9848, allocations: 91.06 kB / 1.173 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.895e-05/0.9849, allocations: 43.45 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.9849, allocations: 4.609 kB / 1.173 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.985, allocations: 326.7 kB / 1.173 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.9853, allocations: 102 kB / 1.173 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.9856, allocations: 159.2 kB / 1.174 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.986, allocations: 244.9 kB / 1.174 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.9861, allocations: 0 / 1.174 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008164/0.9869, allocations: 424.8 kB / 1.174 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.595e-05/0.987, allocations: 73.08 kB / 1.174 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.987, allocations: 4 kB / 1.174 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.987, allocations: 0 / 1.174 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.9872, allocations: 37.92 kB / 1.174 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.9872, allocations: 0.8906 kB / 1.174 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003889/0.9876, allocations: 49.03 kB / 1.174 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-05/0.9877, allocations: 49.81 kB / 1.174 GB, free: 9.727 MB / 0.7448 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.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,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.0002741/0.988, allocations: 183.5 kB / 1.175 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.988, allocations: 28.33 kB / 1.175 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.027e-05/0.9881, allocations: 30.39 kB / 1.175 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9881, allocations: 7.938 kB / 1.175 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.208e-06/0.9881, allocations: 0 / 1.175 GB, free: 9.48 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.9882, allocations: 5.344 kB / 1.175 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/0.989, allocations: 0.5495 MB / 1.175 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.989, allocations: 3.938 kB / 1.175 GB, free: 8.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.9891, allocations: 10.34 kB / 1.175 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9891, allocations: 0 / 1.175 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.9892, allocations: 22.95 kB / 1.175 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.9892, allocations: 0.5625 kB / 1.175 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.9892, allocations: 0 / 1.175 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.9896, allocations: 321.6 kB / 1.176 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001889/0.9898, allocations: 156.3 kB / 1.176 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.9899, allocations: 10.39 kB / 1.176 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.99, allocations: 14.3 kB / 1.176 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.299e-05/0.9901, allocations: 18.98 kB / 1.176 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.9902, allocations: 30.27 kB / 1.176 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002245/0.9904, allocations: 208.6 kB / 1.176 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9904, allocations: 0 / 1.176 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000337/0.9908, allocations: 50.81 kB / 1.176 GB, free: 8.188 MB / 0.7448 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 (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.0001727/0.9909, allocations: 120.1 kB / 1.176 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006531/0.9916, allocations: 363.2 kB / 1.177 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.9916, allocations: 4.125 kB / 1.177 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001396/0.9918, allocations: 73.62 kB / 1.177 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.9921, allocations: 27.06 kB / 1.177 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007058/0.9928, allocations: 444.5 kB / 1.177 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.9931, allocations: 0.7399 MB / 1.178 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001566/0.9933, allocations: 41.53 kB / 1.178 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.9934, allocations: 35.42 kB / 1.178 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.9934, allocations: 0 / 1.178 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of Templates: time 0.007872/1.001, allocations: 4.327 MB / 1.182 GB, free: 2.047 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)