Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009538/0.0009538, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.187/1.187, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.283/1.283, allocations: 251.7 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.001293/0.001293, allocations: 71.89 kB / 0.6217 GB, free: 1.891 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.367, allocations: 104.7 MB / 0.724 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002169/0.3692, allocations: 1.545 MB / 0.7255 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007186/0.3699, allocations: 411.4 kB / 0.7259 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.443e-05/0.37, allocations: 0 / 0.7259 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.626e-05/0.3701, allocations: 7.938 kB / 0.7259 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.298e-05/0.3702, allocations: 24.22 kB / 0.7259 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.3707, allocations: 231 kB / 0.7261 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002888/0.371, allocations: 315.9 kB / 0.7264 GB, free: 10.74 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.624e-05/0.3711, allocations: 11.98 kB / 0.7264 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00026/0.3713, allocations: 230.3 kB / 0.7267 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3715, allocations: 119.6 kB / 0.7268 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.812e-05/0.3716, allocations: 23.94 kB / 0.7268 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.513e-05/0.3716, allocations: 20 kB / 0.7268 GB, free: 10.35 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.851e-05/0.3717, allocations: 79.7 kB / 0.7269 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.3719, allocations: 127.4 kB / 0.727 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.3721, allocations: 293.2 kB / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.3721, allocations: 0 / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3721, allocations: 0 / 0.7273 GB, free: 9.859 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3721, allocations: 0 / 0.7273 GB, free: 9.859 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009918/0.3731, allocations: 0.7036 MB / 0.728 GB, free: 9.082 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.791e-05/0.3732, allocations: 12.03 kB / 0.728 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.3733, allocations: 27.72 kB / 0.728 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.3735, allocations: 266.2 kB / 0.7283 GB, free: 8.746 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.3736, allocations: 12 kB / 0.7283 GB, free: 8.734 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.528e-05/0.3736, allocations: 23.98 kB / 0.7283 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.3739, allocations: 141.5 kB / 0.7284 GB, free: 8.566 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3739, allocations: 3.938 kB / 0.7285 GB, free: 8.562 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.3739, allocations: 4 kB / 0.7285 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3739, allocations: 0 / 0.7285 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.374, allocations: 51.91 kB / 0.7285 GB, free: 8.508 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.3743, allocations: 305.3 kB / 0.7288 GB, free: 8.16 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.3746, allocations: 134.7 kB / 0.7289 GB, free: 8.02 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3747, allocations: 48.84 kB / 0.729 GB, free: 7.969 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.3747, allocations: 4 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003597/0.3751, allocations: 231.4 kB / 0.7292 GB, free: 7.727 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.3751, allocations: 0 / 0.7292 GB, free: 7.727 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0004919/0.3756, allocations: 271.1 kB / 0.7295 GB, free: 7.457 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.3756, allocations: 63.33 kB / 0.7295 GB, free: 7.383 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002265/0.3759, allocations: 287 kB / 0.7298 GB, free: 7.094 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.3759, allocations: 41.69 kB / 0.7298 GB, free: 7.047 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.662e-05/0.376, allocations: 93.14 kB / 0.7299 GB, free: 6.953 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.376, allocations: 47.39 kB / 0.73 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3762, allocations: 109.6 kB / 0.7301 GB, free: 6.789 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.3763, allocations: 322.8 kB / 0.7304 GB, free: 6.465 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.3765, allocations: 96.17 kB / 0.7305 GB, free: 6.371 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002093/0.3767, allocations: 143.8 kB / 0.7306 GB, free: 6.211 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.377, allocations: 238.4 kB / 0.7308 GB, free: 5.945 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.377, allocations: 0 / 0.7308 GB, free: 5.945 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006063/0.3776, allocations: 426.1 kB / 0.7312 GB, free: 5.512 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.336e-05/0.3777, allocations: 71.39 kB / 0.7313 GB, free: 5.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.3777, allocations: 4 kB / 0.7313 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.3777, allocations: 11.92 kB / 0.7313 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3779, allocations: 27.86 kB / 0.7313 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3779, allocations: 4 kB / 0.7314 GB, free: 5.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004537/0.3783, allocations: 60.05 kB / 0.7314 GB, free: 5.324 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.52e-05/0.3784, allocations: 55.97 kB / 0.7315 GB, free: 5.27 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year,$whenCondition3,$whenCondition4) * 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.0001568/0.3786, allocations: 175.9 kB / 0.7316 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3786, allocations: 31.56 kB / 0.7317 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.3787, allocations: 30.25 kB / 0.7317 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3787, allocations: 11.94 kB / 0.7317 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3787, allocations: 0 / 0.7317 GB, free: 5.016 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3787, allocations: 3.984 kB / 0.7317 GB, free: 5.012 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.3794, allocations: 0.5549 MB / 0.7322 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3794, allocations: 0 / 0.7322 GB, free: 4.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.846e-05/0.3794, allocations: 8 kB / 0.7323 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3794, allocations: 0 / 0.7323 GB, free: 4.395 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/0.3795, allocations: 15.97 kB / 0.7323 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3795, allocations: 0 / 0.7323 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.3795, allocations: 0 / 0.7323 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003606/0.3799, allocations: 330.9 kB / 0.7326 GB, free: 4.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.38, allocations: 152.7 kB / 0.7327 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.711e-05/0.3801, allocations: 12 kB / 0.7327 GB, free: 3.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.3803, allocations: 7.984 kB / 0.7327 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.3803, allocations: 19.97 kB / 0.7328 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.522e-05/0.3803, allocations: 27.98 kB / 0.7328 GB, free: 3.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001524/0.3805, allocations: 209.9 kB / 0.733 GB, free: 3.602 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3805, allocations: 0 / 0.733 GB, free: 3.602 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002775/0.3808, allocations: 55.98 kB / 0.733 GB, free: 3.547 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.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 (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.0001038/0.3809, allocations: 109.9 kB / 0.7332 GB, free: 3.43 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000486/0.3814, allocations: 361 kB / 0.7335 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3814, allocations: 0 / 0.7335 GB, free: 3.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/0.3815, allocations: 72.28 kB / 0.7336 GB, free: 2.984 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.3818, allocations: 28.81 kB / 0.7336 GB, free: 2.957 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005763/0.3824, allocations: 463.7 kB / 0.734 GB, free: 2.473 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.3827, allocations: 0.7511 MB / 0.7348 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000123/0.3828, allocations: 41.38 kB / 0.7348 GB, free: 1.656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.3829, allocations: 35.41 kB / 0.7348 GB, free: 1.621 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.383, allocations: 0 / 0.7348 GB, free: 1.621 MB / 0.545 GB Notification: Performance of Templates: time 0.00607/0.389, allocations: 4.146 MB / 0.7389 GB, free: 13.5 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)