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.001389/0.001389, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.002387/0.002387, allocations: 177.3 kB / 15.94 MB, free: 228 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.838/1.838, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.685/1.685, allocations: 251.9 MB / 0.51 GB, free: 4.828 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.0006108/0.0006109, allocations: 23.98 kB / 0.6242 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7113/0.7119, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths): time 0.002186/0.7142, allocations: 1.363 MB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001004/0.7152, allocations: 447 kB / 0.7298 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.7153, allocations: 0 / 0.7298 GB, free: 9.625 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.105e-05/0.7154, allocations: 11.92 kB / 0.7298 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.7155, allocations: 19.97 kB / 0.7298 GB, free: 9.594 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006879/0.7162, allocations: 213 kB / 0.73 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.7165, allocations: 179.7 kB / 0.7302 GB, free: 9.211 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.7166, allocations: 37.31 kB / 0.7302 GB, free: 9.172 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.7168, allocations: 163.6 kB / 0.7304 GB, free: 9.012 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.7171, allocations: 131.7 kB / 0.7305 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.201e-05/0.7171, allocations: 12 kB / 0.7305 GB, free: 8.871 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.62e-05/0.7172, allocations: 8 kB / 0.7305 GB, free: 8.863 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/0.7173, allocations: 79.78 kB / 0.7306 GB, free: 8.785 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.36e-05/0.7174, allocations: 81.52 kB / 0.7307 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003022/0.7177, allocations: 321.2 kB / 0.731 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.7177, allocations: 0 / 0.731 GB, free: 8.387 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7177, allocations: 0 / 0.731 GB, free: 8.387 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7177, allocations: 0 / 0.731 GB, free: 8.387 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.001164/0.7189, allocations: 0.6367 MB / 0.7316 GB, free: 7.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.7189, allocations: 8.031 kB / 0.7316 GB, free: 7.672 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001207/0.7191, allocations: 51.56 kB / 0.7316 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.7195, allocations: 275 kB / 0.7319 GB, free: 7.309 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.7195, allocations: 12 kB / 0.7319 GB, free: 7.297 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.7196, allocations: 20 kB / 0.7319 GB, free: 7.277 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003099/0.7199, allocations: 173.4 kB / 0.7321 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.7199, allocations: 0 / 0.7321 GB, free: 7.102 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.72, allocations: 8 kB / 0.7321 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.72, allocations: 0 / 0.7321 GB, free: 7.094 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.7201, allocations: 59.95 kB / 0.7322 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.7213, allocations: 0.5589 MB / 0.7327 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002892/0.7216, allocations: 138.7 kB / 0.7328 GB, free: 6.281 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.7216, allocations: 3.984 kB / 0.7328 GB, free: 6.277 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004734/0.7221, allocations: 232 kB / 0.7331 GB, free: 6.039 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.7221, allocations: 0 / 0.7331 GB, free: 6.039 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005723/0.7227, allocations: 291.8 kB / 0.7333 GB, free: 5.75 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.7227, allocations: 63.39 kB / 0.7334 GB, free: 5.676 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003319/0.7231, allocations: 316.4 kB / 0.7337 GB, free: 5.355 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.536e-05/0.7231, allocations: 37.7 kB / 0.7337 GB, free: 5.312 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.7232, allocations: 101 kB / 0.7338 GB, free: 5.211 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.205e-05/0.7233, allocations: 39.59 kB / 0.7339 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.182e-05/0.7233, allocations: 8 kB / 0.7339 GB, free: 5.164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7234, allocations: 330.8 kB / 0.7342 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002246/0.7237, allocations: 100.2 kB / 0.7343 GB, free: 4.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002435/0.7239, allocations: 163.7 kB / 0.7345 GB, free: 4.551 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.7242, allocations: 170.1 kB / 0.7346 GB, free: 4.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.7242, allocations: 0 / 0.7346 GB, free: 4.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006867/0.7249, allocations: 431.2 kB / 0.735 GB, free: 3.934 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.646e-05/0.725, allocations: 79.39 kB / 0.7351 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.725, allocations: 0 / 0.7351 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.725, allocations: 4 kB / 0.7351 GB, free: 3.84 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.7252, allocations: 36.05 kB / 0.7351 GB, free: 3.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.7252, allocations: 8 kB / 0.7352 GB, free: 3.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.7257, allocations: 71.73 kB / 0.7352 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.399e-05/0.7258, allocations: 47.98 kB / 0.7353 GB, free: 3.68 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.0002061/0.726, allocations: 193.7 kB / 0.7354 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.726, allocations: 27.62 kB / 0.7355 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.7261, allocations: 30.36 kB / 0.7355 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.7261, allocations: 0 / 0.7355 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.7261, allocations: 7.953 kB / 0.7355 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7261, allocations: 0 / 0.7355 GB, free: 3.414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007569/0.7269, allocations: 0.5957 MB / 0.7361 GB, free: 2.762 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.7269, allocations: 4 kB / 0.7361 GB, free: 2.758 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.727, allocations: 11.98 kB / 0.7361 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.727, allocations: 0 / 0.7361 GB, free: 2.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.727, allocations: 19.88 kB / 0.7361 GB, free: 2.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.727, allocations: 4 kB / 0.7361 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.727, allocations: 0 / 0.7361 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004098/0.7275, allocations: 329.2 kB / 0.7364 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000201/0.7277, allocations: 180.6 kB / 0.7366 GB, free: 2.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.7277, allocations: 23.98 kB / 0.7366 GB, free: 2.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002089/0.728, allocations: 11.95 kB / 0.7367 GB, free: 2.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.728, allocations: 19.97 kB / 0.7367 GB, free: 2.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.7281, allocations: 27.98 kB / 0.7367 GB, free: 2.109 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002123/0.7283, allocations: 227 kB / 0.7369 GB, free: 1.887 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7283, allocations: 3.938 kB / 0.7369 GB, free: 1.883 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003149/0.7286, allocations: 56 kB / 0.737 GB, free: 1.828 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.0001993/0.7288, allocations: 125.7 kB / 0.7371 GB, free: 1.695 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005464/0.7294, allocations: 362.8 kB / 0.7374 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.7294, allocations: 0 / 0.7374 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.7295, allocations: 85.84 kB / 0.7375 GB, free: 1.234 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.7298, allocations: 31.25 kB / 0.7375 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.7306, allocations: 495.5 kB / 0.738 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003529/0.731, allocations: 0.7671 MB / 0.7388 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00016/0.7311, allocations: 41.42 kB / 0.7388 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.7313, allocations: 31.42 kB / 0.7388 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.7313, allocations: 0 / 0.7388 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of Templates: time 0.007702/0.739, allocations: 4.279 MB / 0.743 GB, free: 11.62 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: