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.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, 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.001675/0.001675, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.612/1.612, allocations: 205.1 MB / 222 MB, free: 4.73 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.698/1.698, allocations: 251.7 MB / 0.5088 GB, free: 3.422 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.001654/0.001654, allocations: 67.66 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6975/0.6992, allocations: 104.7 MB / 0.7238 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003611/0.7028, allocations: 1.745 MB / 0.7255 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001279/0.7041, allocations: 0.4915 MB / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.7042, allocations: 0 / 0.726 GB, free: 10.93 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.7044, allocations: 11.94 kB / 0.726 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.7046, allocations: 28.16 kB / 0.7261 GB, free: 10.89 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008188/0.7054, allocations: 258.9 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004357/0.7058, allocations: 355.8 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.706, allocations: 29.34 kB / 0.7267 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.7063, allocations: 226.2 kB / 0.7269 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002027/0.7065, allocations: 127.6 kB / 0.727 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.7066, allocations: 16 kB / 0.727 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.554e-05/0.7066, allocations: 8 kB / 0.727 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.7068, allocations: 83.7 kB / 0.7271 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001588/0.7069, allocations: 135.2 kB / 0.7272 GB, free: 9.688 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.7073, allocations: 408.7 kB / 0.7276 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.7073, allocations: 0 / 0.7276 GB, free: 9.289 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.92e-07/0.7074, allocations: 0 / 0.7276 GB, free: 9.289 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.7074, allocations: 0 / 0.7276 GB, free: 9.289 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.001321/0.7087, allocations: 0.7309 MB / 0.7283 GB, free: 8.484 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7087, allocations: 8.031 kB / 0.7284 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.7089, allocations: 35.62 kB / 0.7284 GB, free: 8.441 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.7092, allocations: 278.9 kB / 0.7287 GB, free: 8.129 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.661e-05/0.7093, allocations: 15.98 kB / 0.7287 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.7093, allocations: 23.94 kB / 0.7287 GB, free: 8.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.7097, allocations: 173.4 kB / 0.7289 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.7098, allocations: 3.938 kB / 0.7289 GB, free: 7.91 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.202e-05/0.7098, allocations: 4 kB / 0.7289 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.7098, allocations: 0 / 0.7289 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.71, allocations: 67.97 kB / 0.7289 GB, free: 7.84 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.7112, allocations: 0.5587 MB / 0.7295 GB, free: 7.23 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.7115, allocations: 142.6 kB / 0.7296 GB, free: 7.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.7117, allocations: 56.84 kB / 0.7297 GB, free: 7.023 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/0.7117, allocations: 7.984 kB / 0.7297 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005245/0.7122, allocations: 234.5 kB / 0.7299 GB, free: 6.777 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.7122, allocations: 0 / 0.7299 GB, free: 6.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006202/0.7129, allocations: 281.1 kB / 0.7302 GB, free: 6.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.848e-05/0.7129, allocations: 59.41 kB / 0.7302 GB, free: 6.426 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003006/0.7132, allocations: 312.5 kB / 0.7305 GB, free: 6.109 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.7133, allocations: 45.69 kB / 0.7306 GB, free: 6.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.3e-05/0.7134, allocations: 97.05 kB / 0.7307 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.98e-05/0.7135, allocations: 47.44 kB / 0.7307 GB, free: 5.914 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.7137, allocations: 109.7 kB / 0.7308 GB, free: 5.797 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7138, allocations: 334.7 kB / 0.7311 GB, free: 5.461 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000245/0.7141, allocations: 108.2 kB / 0.7312 GB, free: 5.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.7144, allocations: 162.3 kB / 0.7314 GB, free: 5.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003538/0.7147, allocations: 253.2 kB / 0.7316 GB, free: 4.895 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.7147, allocations: 4 kB / 0.7316 GB, free: 4.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007642/0.7155, allocations: 443.6 kB / 0.7321 GB, free: 4.441 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.7156, allocations: 77.11 kB / 0.7321 GB, free: 4.355 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.7156, allocations: 4 kB / 0.7321 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.7157, allocations: 0 / 0.7321 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.7159, allocations: 35.91 kB / 0.7322 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.7159, allocations: 0 / 0.7322 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000549/0.7164, allocations: 60.05 kB / 0.7322 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/0.7165, allocations: 55.98 kB / 0.7323 GB, free: 4.203 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.0002428/0.7168, allocations: 190.5 kB / 0.7325 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.749e-05/0.7168, allocations: 27.62 kB / 0.7325 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.766e-05/0.7169, allocations: 30.36 kB / 0.7325 GB, free: 3.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.7169, allocations: 7.984 kB / 0.7325 GB, free: 3.941 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.7169, allocations: 4 kB / 0.7325 GB, free: 3.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.7169, allocations: 4 kB / 0.7325 GB, free: 3.934 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009632/0.7179, allocations: 0.6034 MB / 0.7331 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.7179, allocations: 0 / 0.7331 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.656e-05/0.718, allocations: 11.92 kB / 0.7331 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.718, allocations: 4 kB / 0.7331 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.718, allocations: 11.98 kB / 0.7331 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.718, allocations: 0 / 0.7331 GB, free: 3.246 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.718, allocations: 3.938 kB / 0.7331 GB, free: 3.242 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.7186, allocations: 333.4 kB / 0.7335 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.7188, allocations: 180.6 kB / 0.7336 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.7189, allocations: 19.98 kB / 0.7337 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.7191, allocations: 11.92 kB / 0.7337 GB, free: 2.676 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.114e-05/0.7192, allocations: 15.92 kB / 0.7337 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.7193, allocations: 31.98 kB / 0.7337 GB, free: 2.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000219/0.7195, allocations: 227 kB / 0.7339 GB, free: 2.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7195, allocations: 0 / 0.7339 GB, free: 2.406 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003468/0.7199, allocations: 59.98 kB / 0.734 GB, free: 2.348 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.0002185/0.7201, allocations: 118.2 kB / 0.7341 GB, free: 2.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006536/0.7207, allocations: 362.6 kB / 0.7344 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.7208, allocations: 0 / 0.7344 GB, free: 1.844 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.7209, allocations: 87.8 kB / 0.7345 GB, free: 1.758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.7214, allocations: 33 kB / 0.7346 GB, free: 1.727 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.7224, allocations: 0.5003 MB / 0.7351 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.7229, allocations: 0.7555 MB / 0.7358 GB, free: 432 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000167/0.7231, allocations: 41.42 kB / 0.7358 GB, free: 392 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.7232, allocations: 35.42 kB / 0.7359 GB, free: 356 kB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.7232, allocations: 0 / 0.7359 GB, free: 356 kB / 0.545 GB Notification: Performance of Templates: time 0.009188/0.7324, allocations: 4.409 MB / 0.7402 GB, free: 12.01 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)