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.001159/0.001159, allocations: 107.3 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.002258/0.002257, allocations: 189.3 kB / 16.25 MB, free: 6.145 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.606/1.606, allocations: 205.1 MB / 222.1 MB, free: 4.68 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.631/1.631, allocations: 251.6 MB / 0.5089 GB, free: 3.297 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.001478/0.001478, allocations: 67.91 kB / 0.6218 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6083/0.6098, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonthsPlus): time 0.003474/0.6134, allocations: 1.741 MB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001271/0.6147, allocations: 471.2 kB / 0.7262 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.906e-05/0.6147, allocations: 0 / 0.7262 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.6149, allocations: 7.922 kB / 0.7262 GB, free: 10.9 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.615, allocations: 28.22 kB / 0.7262 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.6158, allocations: 257.1 kB / 0.7265 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004724/0.6163, allocations: 407.8 kB / 0.7268 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.6164, allocations: 33.33 kB / 0.7269 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000367/0.6168, allocations: 254.3 kB / 0.7271 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.617, allocations: 143.4 kB / 0.7273 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.24e-05/0.6171, allocations: 28 kB / 0.7273 GB, free: 9.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.6172, allocations: 32 kB / 0.7273 GB, free: 9.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.6173, allocations: 91.7 kB / 0.7274 GB, free: 9.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001773/0.6175, allocations: 155.3 kB / 0.7275 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004675/0.618, allocations: 424.6 kB / 0.7279 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.618, allocations: 0 / 0.7279 GB, free: 9.09 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.094e-06/0.618, allocations: 0 / 0.7279 GB, free: 9.09 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.618, allocations: 0 / 0.7279 GB, free: 9.09 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.001361/0.6194, allocations: 0.727 MB / 0.7287 GB, free: 8.289 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6194, allocations: 8.031 kB / 0.7287 GB, free: 8.281 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001147/0.6195, allocations: 39.61 kB / 0.7287 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003588/0.6199, allocations: 282.9 kB / 0.729 GB, free: 7.926 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.62, allocations: 12 kB / 0.729 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.62, allocations: 20 kB / 0.729 GB, free: 7.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/0.6204, allocations: 176.7 kB / 0.7292 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.6204, allocations: 0 / 0.7292 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.6205, allocations: 4 kB / 0.7292 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.6205, allocations: 0 / 0.7292 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.6206, allocations: 63.95 kB / 0.7292 GB, free: 7.652 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001267/0.6219, allocations: 0.5665 MB / 0.7298 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003415/0.6223, allocations: 138.6 kB / 0.7299 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.6225, allocations: 64.83 kB / 0.73 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.103e-05/0.6225, allocations: 7.984 kB / 0.73 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004897/0.623, allocations: 225.9 kB / 0.7302 GB, free: 6.586 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.552e-06/0.623, allocations: 0 / 0.7302 GB, free: 6.586 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006792/0.6237, allocations: 285 kB / 0.7305 GB, free: 6.301 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.537e-05/0.6238, allocations: 63.39 kB / 0.7305 GB, free: 6.227 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003545/0.6241, allocations: 312.5 kB / 0.7308 GB, free: 5.91 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.409e-05/0.6242, allocations: 37.7 kB / 0.7309 GB, free: 5.867 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.6243, allocations: 101 kB / 0.731 GB, free: 5.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.022e-05/0.6244, allocations: 47.44 kB / 0.731 GB, free: 5.719 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002113/0.6246, allocations: 105.7 kB / 0.7311 GB, free: 5.605 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.6248, allocations: 338.8 kB / 0.7314 GB, free: 5.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.6251, allocations: 100.2 kB / 0.7315 GB, free: 5.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.6254, allocations: 163.8 kB / 0.7317 GB, free: 4.988 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.6258, allocations: 266.2 kB / 0.7319 GB, free: 4.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6258, allocations: 0 / 0.7319 GB, free: 4.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008301/0.6266, allocations: 440.2 kB / 0.7324 GB, free: 4.25 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.101e-05/0.6267, allocations: 79.42 kB / 0.7324 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.6267, allocations: 4 kB / 0.7324 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6268, allocations: 3.938 kB / 0.7324 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.6269, allocations: 35.91 kB / 0.7325 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.627, allocations: 0 / 0.7325 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/0.6275, allocations: 59.8 kB / 0.7325 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.6276, allocations: 59.98 kB / 0.7326 GB, free: 4 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.0002514/0.6278, allocations: 185.7 kB / 0.7328 GB, free: 3.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.6279, allocations: 31.62 kB / 0.7328 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.628, allocations: 30.36 kB / 0.7328 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.628, allocations: 4 kB / 0.7328 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.628, allocations: 0 / 0.7328 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.628, allocations: 0 / 0.7328 GB, free: 3.742 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008123/0.6288, allocations: 0.6112 MB / 0.7334 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6288, allocations: 0 / 0.7334 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.237e-05/0.6289, allocations: 4 kB / 0.7334 GB, free: 3.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.6289, allocations: 4 kB / 0.7334 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.6289, allocations: 15.97 kB / 0.7335 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.6289, allocations: 0 / 0.7335 GB, free: 3.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.6289, allocations: 7.875 kB / 0.7335 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004464/0.6294, allocations: 325.4 kB / 0.7338 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.6296, allocations: 192.6 kB / 0.734 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.908e-05/0.6297, allocations: 12 kB / 0.734 GB, free: 2.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.6299, allocations: 11.98 kB / 0.734 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.278e-05/0.63, allocations: 19.92 kB / 0.734 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.63, allocations: 27.98 kB / 0.734 GB, free: 2.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002331/0.6303, allocations: 227 kB / 0.7342 GB, free: 2.211 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6303, allocations: 4 kB / 0.7342 GB, free: 2.207 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003486/0.6306, allocations: 51.98 kB / 0.7343 GB, free: 2.156 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.0002355/0.6309, allocations: 129.7 kB / 0.7344 GB, free: 2.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006798/0.6316, allocations: 370.8 kB / 0.7348 GB, free: 1.633 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6316, allocations: 0 / 0.7348 GB, free: 1.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001688/0.6317, allocations: 83.8 kB / 0.7349 GB, free: 1.551 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.6322, allocations: 38.88 kB / 0.7349 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.633, allocations: 0.5011 MB / 0.7354 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.6335, allocations: 0.763 MB / 0.7361 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001538/0.6336, allocations: 37.42 kB / 0.7362 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.6338, allocations: 43.34 kB / 0.7362 GB, free: 132 kB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.6338, allocations: 0 / 0.7362 GB, free: 132 kB / 0.545 GB Notification: Performance of Templates: time 0.009334/0.6431, allocations: 4.537 MB / 0.7406 GB, free: 11.66 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)