Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001371, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001699/0.001699, allocations: 198.5 kB / 16.25 MB, free: 6.621 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.742/1.742, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.538/1.538, allocations: 251.6 MB / 0.5089 GB, free: 3.305 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.001331/0.001331, allocations: 63.91 kB / 0.6218 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7896/0.791, allocations: 104.7 MB / 0.724 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.003693/0.7947, allocations: 1.734 MB / 0.7257 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.796, allocations: 479.2 kB / 0.7262 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.861e-05/0.7961, allocations: 0 / 0.7262 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001522/0.7963, allocations: 11.92 kB / 0.7262 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.7965, allocations: 28.22 kB / 0.7262 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007613/0.7972, allocations: 242.3 kB / 0.7264 GB, free: 10.76 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.7977, allocations: 415.7 kB / 0.7268 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.7978, allocations: 41.33 kB / 0.7269 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003423/0.7982, allocations: 250.3 kB / 0.7271 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.7984, allocations: 139.5 kB / 0.7272 GB, free: 9.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.7985, allocations: 28 kB / 0.7273 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.068e-05/0.7986, allocations: 28 kB / 0.7273 GB, free: 9.879 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.7987, allocations: 95.66 kB / 0.7274 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001653/0.7989, allocations: 151.3 kB / 0.7275 GB, free: 9.637 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004464/0.7993, allocations: 424.8 kB / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.7994, allocations: 0 / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7994, allocations: 0 / 0.7279 GB, free: 9.223 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.7994, allocations: 0 / 0.7279 GB, free: 9.223 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001401/0.8008, allocations: 0.727 MB / 0.7287 GB, free: 8.422 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.8008, allocations: 12.03 kB / 0.7287 GB, free: 8.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.801, allocations: 39.56 kB / 0.7287 GB, free: 8.371 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.8013, allocations: 274.9 kB / 0.729 GB, free: 8.062 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.279e-05/0.8014, allocations: 27.92 kB / 0.729 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.581e-05/0.8015, allocations: 20 kB / 0.729 GB, free: 8.016 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.8018, allocations: 176.7 kB / 0.7292 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.8018, allocations: 0 / 0.7292 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.599e-05/0.8019, allocations: 0 / 0.7292 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8019, allocations: 4 kB / 0.7292 GB, free: 7.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.802, allocations: 59.97 kB / 0.7292 GB, free: 7.777 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.8033, allocations: 0.5665 MB / 0.7298 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003093/0.8036, allocations: 134.7 kB / 0.7299 GB, free: 7.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.8037, allocations: 60.83 kB / 0.73 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.8038, allocations: 3.984 kB / 0.73 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004624/0.8043, allocations: 234 kB / 0.7302 GB, free: 6.715 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.8043, allocations: 0 / 0.7302 GB, free: 6.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006147/0.8049, allocations: 289 kB / 0.7305 GB, free: 6.426 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.805, allocations: 59.41 kB / 0.7305 GB, free: 6.355 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.8053, allocations: 316.5 kB / 0.7308 GB, free: 6.035 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.8053, allocations: 41.69 kB / 0.7309 GB, free: 5.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.035e-05/0.8054, allocations: 97.05 kB / 0.731 GB, free: 5.891 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.8055, allocations: 43.5 kB / 0.731 GB, free: 5.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.8057, allocations: 109.7 kB / 0.7311 GB, free: 5.73 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.8058, allocations: 330.8 kB / 0.7314 GB, free: 5.398 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/0.806, allocations: 112.2 kB / 0.7315 GB, free: 5.289 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.8063, allocations: 155.1 kB / 0.7317 GB, free: 5.117 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.8066, allocations: 269.7 kB / 0.7319 GB, free: 4.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.8067, allocations: 0 / 0.7319 GB, free: 4.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006909/0.8074, allocations: 435.8 kB / 0.7324 GB, free: 4.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.742e-05/0.8075, allocations: 79.38 kB / 0.7324 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.8075, allocations: 192 / 0.7324 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.611e-05/0.8075, allocations: 8 kB / 0.7324 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.8077, allocations: 27.92 kB / 0.7325 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.8077, allocations: 7.984 kB / 0.7325 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.8082, allocations: 59.8 kB / 0.7325 GB, free: 4.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-05/0.8083, allocations: 51.98 kB / 0.7326 GB, free: 4.137 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition3,calTim.calTim.daySampleTrigger,$whenCondition4,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year,$whenCondition1,$whenCondition2) * 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.0002215/0.8085, allocations: 189.7 kB / 0.7328 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.207e-05/0.8086, allocations: 31.61 kB / 0.7328 GB, free: 3.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.455e-05/0.8087, allocations: 34.36 kB / 0.7328 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.8087, allocations: 0 / 0.7328 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.8087, allocations: 0 / 0.7328 GB, free: 3.875 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.8087, allocations: 7.938 kB / 0.7328 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.8095, allocations: 0.5957 MB / 0.7334 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.8095, allocations: 3.938 kB / 0.7334 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.388e-05/0.8095, allocations: 15.98 kB / 0.7334 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.8096, allocations: 0 / 0.7334 GB, free: 3.195 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.8096, allocations: 15.98 kB / 0.7335 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.8096, allocations: 0 / 0.7335 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.8096, allocations: 3.938 kB / 0.7335 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.8101, allocations: 329.3 kB / 0.7338 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.8103, allocations: 188.6 kB / 0.734 GB, free: 2.637 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.017e-05/0.8103, allocations: 12 kB / 0.734 GB, free: 2.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.8106, allocations: 19.23 kB / 0.734 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.232e-05/0.8106, allocations: 23.91 kB / 0.734 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/0.8107, allocations: 23.98 kB / 0.734 GB, free: 2.562 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001952/0.8109, allocations: 231 kB / 0.7342 GB, free: 2.336 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8109, allocations: 0 / 0.7342 GB, free: 2.336 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000304/0.8112, allocations: 48 kB / 0.7343 GB, free: 2.289 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.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) * 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.000229/0.8114, allocations: 129.7 kB / 0.7344 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005923/0.812, allocations: 374.8 kB / 0.7348 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8121, allocations: 0 / 0.7348 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.8122, allocations: 75.86 kB / 0.7348 GB, free: 1.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000409/0.8126, allocations: 49.11 kB / 0.7349 GB, free: 1.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008307/0.8135, allocations: 0.5019 MB / 0.7354 GB, free: 1.117 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.8139, allocations: 0.7617 MB / 0.7361 GB, free: 340 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001395/0.8141, allocations: 37.42 kB / 0.7362 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.8142, allocations: 35.42 kB / 0.7362 GB, free: 268 kB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.8142, allocations: 0 / 0.7362 GB, free: 268 kB / 0.545 GB Notification: Performance of Templates: time 0.00868/0.8229, allocations: 4.541 MB / 0.7406 GB, free: 11.79 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)