Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004773/0.004773, allocations: 103.7 kB / 15.73 MB, free: 6.047 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.001096/0.001096, allocations: 196.8 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002064/0.002064, allocations: 271.1 kB / 290.8 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9273/0.9273, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 99.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1664, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002573/0.169, allocations: 1.493 MB / 0.7678 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009436/0.17, allocations: 423.3 kB / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.501e-05/0.1701, allocations: 0 / 0.7682 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.602e-05/0.1702, allocations: 7.875 kB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.644e-05/0.1703, allocations: 20.23 kB / 0.7682 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007042/0.171, allocations: 246.6 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000412/0.1714, allocations: 335.5 kB / 0.7688 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.1715, allocations: 7.984 kB / 0.7688 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.1718, allocations: 203.7 kB / 0.769 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002791/0.1721, allocations: 112 kB / 0.7691 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.408e-05/0.1722, allocations: 20 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.398e-05/0.1723, allocations: 24 kB / 0.7692 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1724, allocations: 79.72 kB / 0.7692 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1725, allocations: 131.3 kB / 0.7694 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1728, allocations: 295.1 kB / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1728, allocations: 0 / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.933e-06/0.1729, allocations: 0 / 0.7696 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.382e-06/0.1729, allocations: 0 / 0.7696 GB, free: 5.082 MB / 0.5606 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.001054/0.1739, allocations: 0.7423 MB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.174, allocations: 8.031 kB / 0.7704 GB, free: 4.246 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.975e-05/0.1741, allocations: 36.66 kB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1744, allocations: 259.6 kB / 0.7707 GB, free: 3.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1744, allocations: 12.38 kB / 0.7707 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.211e-05/0.1745, allocations: 27.92 kB / 0.7707 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009276/0.1754, allocations: 200.4 kB / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.633e-06/0.1754, allocations: 0 / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.344e-05/0.1755, allocations: 0 / 0.7709 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1755, allocations: 8 kB / 0.7709 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.1762, allocations: 91.92 kB / 0.771 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003282/0.1765, allocations: 321.3 kB / 0.7713 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1776, allocations: 170.4 kB / 0.7714 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007315/0.1783, allocations: 112.8 kB / 0.7716 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.353e-05/0.1783, allocations: 4 kB / 0.7716 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009349/0.1793, allocations: 215.5 kB / 0.7718 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1793, allocations: 0 / 0.7718 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002465/0.1818, allocations: 446.6 kB / 0.7722 GB, free: 2.262 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.1818, allocations: 63.33 kB / 0.7722 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002787/0.1821, allocations: 294.9 kB / 0.7725 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.1822, allocations: 41.69 kB / 0.7726 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.218e-05/0.1822, allocations: 89.66 kB / 0.7727 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.1823, allocations: 39.55 kB / 0.7727 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1824, allocations: 97.39 kB / 0.7728 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1825, allocations: 326.8 kB / 0.7731 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.1827, allocations: 79.95 kB / 0.7732 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.1829, allocations: 138 kB / 0.7733 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1832, allocations: 239.5 kB / 0.7735 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.1832, allocations: 3.938 kB / 0.7735 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005978/0.1838, allocations: 388.6 kB / 0.7739 GB, free: 392 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.335e-05/0.1839, allocations: 75.39 kB / 0.774 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1839, allocations: 4 kB / 0.774 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1839, allocations: 3.938 kB / 0.774 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.1841, allocations: 23.92 kB / 0.774 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1841, allocations: 7.984 kB / 0.774 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.1846, allocations: 59.94 kB / 0.7741 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.22e-05/0.1847, allocations: 47.97 kB / 0.7741 GB, free: 156 kB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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.3557/0.5404, allocations: 169.2 kB / 0.7743 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.5404, allocations: 22.88 kB / 0.7743 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.5405, allocations: 29.62 kB / 0.7743 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.5405, allocations: 2.406 kB / 0.7743 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5405, allocations: 1.281 kB / 0.7743 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.5405, allocations: 1.672 kB / 0.7743 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5427, allocations: 0.6911 MB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.5427, allocations: 0.875 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.5428, allocations: 5.016 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.5428, allocations: 5.656 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.5428, allocations: 15.89 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5428, allocations: 2.312 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5428, allocations: 2.188 kB / 0.775 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.5445, allocations: 448.2 kB / 0.7755 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.5447, allocations: 160 kB / 0.7756 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.425e-05/0.5447, allocations: 13.98 kB / 0.7756 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004744/0.5452, allocations: 29.95 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.5453, allocations: 9.562 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.411e-05/0.5453, allocations: 45.61 kB / 0.7757 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001801/0.5455, allocations: 210.9 kB / 0.7759 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5455, allocations: 0 / 0.7759 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003569/0.5459, allocations: 47.02 kB / 0.776 GB, free: 14.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.0001234/0.546, allocations: 122.2 kB / 0.7761 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00108/0.5471, allocations: 381.5 kB / 0.7764 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.5471, allocations: 1.438 kB / 0.7764 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.5479, allocations: 121.6 kB / 0.7766 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.5482, allocations: 23.33 kB / 0.7766 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.5495, allocations: 419 kB / 0.777 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.5497, allocations: 0.7407 MB / 0.7777 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.509e-05/0.5497, allocations: 14.84 kB / 0.7777 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.253e-05/0.5498, allocations: 19.78 kB / 0.7777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5498, allocations: 0 / 0.7777 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.007579/0.5574, allocations: 3.736 MB / 0.7814 GB, free: 12.88 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)