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.0008604/0.0008605, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009464/0.0009468, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.638/1.638, allocations: 252 MB / 0.5102 GB, free: 4.758 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.0005351/0.0005353, allocations: 16 kB / 0.6243 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6163, allocations: 106.3 MB / 0.7282 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002196/0.6186, allocations: 1.372 MB / 0.7295 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001044/0.6197, allocations: 459.1 kB / 0.7299 GB, free: 9.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.557e-05/0.6198, allocations: 3.938 kB / 0.7299 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001078/0.6199, allocations: 7.938 kB / 0.7299 GB, free: 9.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.62, allocations: 23.91 kB / 0.73 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.6207, allocations: 220.8 kB / 0.7302 GB, free: 9.492 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003439/0.6211, allocations: 307.5 kB / 0.7305 GB, free: 9.191 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.6212, allocations: 29.34 kB / 0.7305 GB, free: 9.16 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003662/0.6216, allocations: 231.5 kB / 0.7307 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.6218, allocations: 135.6 kB / 0.7308 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.936e-05/0.6219, allocations: 12 kB / 0.7309 GB, free: 8.789 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.652e-05/0.6219, allocations: 8 kB / 0.7309 GB, free: 8.781 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.622, allocations: 83.77 kB / 0.7309 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.263e-05/0.6221, allocations: 81.52 kB / 0.731 GB, free: 8.613 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.6225, allocations: 321.3 kB / 0.7313 GB, free: 8.301 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.6225, allocations: 0 / 0.7313 GB, free: 8.301 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6225, allocations: 4 kB / 0.7313 GB, free: 8.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.6225, allocations: 0 / 0.7313 GB, free: 8.297 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.001109/0.6236, allocations: 0.6336 MB / 0.732 GB, free: 7.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6237, allocations: 8.031 kB / 0.732 GB, free: 7.582 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.45e-05/0.6238, allocations: 43.58 kB / 0.732 GB, free: 7.539 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.6242, allocations: 279 kB / 0.7323 GB, free: 7.223 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.01e-05/0.6242, allocations: 16 kB / 0.7323 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.163e-05/0.6243, allocations: 20 kB / 0.7323 GB, free: 7.188 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.6246, allocations: 169.5 kB / 0.7325 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-06/0.6246, allocations: 0 / 0.7325 GB, free: 7.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.6247, allocations: 7.984 kB / 0.7325 GB, free: 7.008 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.6247, allocations: 4 kB / 0.7325 GB, free: 7.004 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.6248, allocations: 55.97 kB / 0.7325 GB, free: 6.949 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.6259, allocations: 0.5627 MB / 0.7331 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.6262, allocations: 138.7 kB / 0.7332 GB, free: 6.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.6263, allocations: 64.78 kB / 0.7333 GB, free: 6.125 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.6264, allocations: 7.984 kB / 0.7333 GB, free: 6.117 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.6269, allocations: 222 kB / 0.7335 GB, free: 5.891 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.353e-06/0.6269, allocations: 4 kB / 0.7335 GB, free: 5.887 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005802/0.6274, allocations: 285.3 kB / 0.7338 GB, free: 5.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.6275, allocations: 59.39 kB / 0.7338 GB, free: 5.531 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6278, allocations: 312.5 kB / 0.7341 GB, free: 5.215 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.6279, allocations: 45.69 kB / 0.7342 GB, free: 5.164 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.49e-05/0.628, allocations: 96.98 kB / 0.7343 GB, free: 5.066 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.369e-05/0.628, allocations: 43.59 kB / 0.7343 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.6281, allocations: 11.98 kB / 0.7343 GB, free: 5.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6282, allocations: 326.8 kB / 0.7346 GB, free: 4.684 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002232/0.6284, allocations: 108.2 kB / 0.7347 GB, free: 4.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.6287, allocations: 155.7 kB / 0.7349 GB, free: 4.402 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/0.6289, allocations: 178.9 kB / 0.735 GB, free: 4.215 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.6289, allocations: 0 / 0.735 GB, free: 4.215 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007157/0.6297, allocations: 429 kB / 0.7355 GB, free: 3.781 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.331e-05/0.6298, allocations: 79.38 kB / 0.7355 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.6298, allocations: 4 kB / 0.7355 GB, free: 3.688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6298, allocations: 11.89 kB / 0.7355 GB, free: 3.676 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.63, allocations: 23.92 kB / 0.7356 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/0.63, allocations: 4.188 kB / 0.7356 GB, free: 3.648 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.6305, allocations: 79.72 kB / 0.7356 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.262e-05/0.6305, allocations: 51.98 kB / 0.7357 GB, free: 3.52 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 ($PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0002343/0.6308, allocations: 193.7 kB / 0.7359 GB, free: 3.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.6308, allocations: 27.62 kB / 0.7359 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.601e-05/0.6309, allocations: 30.36 kB / 0.7359 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.6309, allocations: 0 / 0.7359 GB, free: 3.262 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-05/0.6309, allocations: 3.953 kB / 0.7359 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.6309, allocations: 3.984 kB / 0.7359 GB, free: 3.254 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.6317, allocations: 0.5996 MB / 0.7365 GB, free: 2.598 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.6317, allocations: 4 kB / 0.7365 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.6318, allocations: 7.984 kB / 0.7365 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.6318, allocations: 7.953 kB / 0.7365 GB, free: 2.578 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.6318, allocations: 7.984 kB / 0.7366 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.467e-06/0.6318, allocations: 4 kB / 0.7366 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6318, allocations: 0 / 0.7366 GB, free: 2.566 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.6322, allocations: 325 kB / 0.7369 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.6324, allocations: 184.6 kB / 0.737 GB, free: 2.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.6325, allocations: 23.95 kB / 0.7371 GB, free: 2.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.6327, allocations: 15.98 kB / 0.7371 GB, free: 1.996 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.6328, allocations: 15.97 kB / 0.7371 GB, free: 1.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.885e-05/0.6328, allocations: 27.98 kB / 0.7371 GB, free: 1.953 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002124/0.633, allocations: 227 kB / 0.7373 GB, free: 1.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.633, allocations: 0 / 0.7373 GB, free: 1.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003065/0.6333, allocations: 51.98 kB / 0.7374 GB, free: 1.68 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 (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.0001933/0.6335, allocations: 125.8 kB / 0.7375 GB, free: 1.547 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000569/0.6341, allocations: 366.7 kB / 0.7379 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.6341, allocations: 0 / 0.7379 GB, free: 1.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.6343, allocations: 85.67 kB / 0.7379 GB, free: 1.082 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.6347, allocations: 35.72 kB / 0.738 GB, free: 1.051 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007877/0.6355, allocations: 488 kB / 0.7384 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.6359, allocations: 0.7594 MB / 0.7392 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001473/0.636, allocations: 45.41 kB / 0.7392 GB, free: 15.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6361, allocations: 31.42 kB / 0.7393 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.6361, allocations: 4 kB / 0.7393 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.007748/0.6439, allocations: 4.283 MB / 0.7434 GB, free: 11.47 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: