Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.005022/0.005022, allocations: 95.61 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.001104/0.001104, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 290.1 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9256/0.9256, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001587/0.001587, allocations: 92.28 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.168, allocations: 86.97 MB / 0.7663 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002352/0.1704, allocations: 1.487 MB / 0.7678 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009274/0.1714, allocations: 433.8 kB / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.1714, allocations: 0 / 0.7682 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.1715, allocations: 7.875 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.583e-05/0.1717, allocations: 24.22 kB / 0.7682 GB, free: 6.516 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.1723, allocations: 242.6 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1727, allocations: 331.5 kB / 0.7688 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.1727, allocations: 15.91 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.173, allocations: 187.7 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.1732, allocations: 124.1 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.903e-05/0.1733, allocations: 20 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.593e-05/0.1733, allocations: 16 kB / 0.7691 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.885e-05/0.1735, allocations: 87.7 kB / 0.7692 GB, free: 5.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.1736, allocations: 123.4 kB / 0.7693 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002921/0.1739, allocations: 290.9 kB / 0.7696 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1739, allocations: 3.938 kB / 0.7696 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1739, allocations: 3.938 kB / 0.7696 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.1739, allocations: 0 / 0.7696 GB, free: 5.102 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.001011/0.1749, allocations: 0.754 MB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.175, allocations: 8.031 kB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.731e-05/0.1751, allocations: 32.8 kB / 0.7704 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.1754, allocations: 263.8 kB / 0.7706 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1754, allocations: 12.38 kB / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.072e-05/0.1755, allocations: 19.94 kB / 0.7707 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009114/0.1764, allocations: 201.4 kB / 0.7709 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1764, allocations: 7.984 kB / 0.7709 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.422e-05/0.1764, allocations: 0 / 0.7709 GB, free: 3.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1764, allocations: 7.938 kB / 0.7709 GB, free: 3.676 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007018/0.1771, allocations: 98.73 kB / 0.771 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.1775, allocations: 325.4 kB / 0.7713 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009614/0.1785, allocations: 170.4 kB / 0.7715 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/0.1792, allocations: 104.8 kB / 0.7716 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.1792, allocations: 8 kB / 0.7716 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008556/0.1801, allocations: 211.1 kB / 0.7718 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.512e-06/0.1801, allocations: 4 kB / 0.7718 GB, free: 2.703 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002348/0.1824, allocations: 452.1 kB / 0.7722 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.1825, allocations: 59.39 kB / 0.7723 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.1828, allocations: 287 kB / 0.7725 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.1828, allocations: 45.64 kB / 0.7726 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.996e-05/0.1829, allocations: 93.12 kB / 0.7727 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.1829, allocations: 43.73 kB / 0.7727 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.1831, allocations: 93.58 kB / 0.7728 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1832, allocations: 322.8 kB / 0.7731 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1834, allocations: 79.95 kB / 0.7732 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.1836, allocations: 141.9 kB / 0.7733 GB, free: 1.051 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/0.1839, allocations: 239.3 kB / 0.7735 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.1839, 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.0006053/0.1845, allocations: 392.6 kB / 0.7739 GB, free: 388 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.536e-05/0.1846, allocations: 79.38 kB / 0.774 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1846, allocations: 4 kB / 0.774 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.1847, allocations: 0 / 0.774 GB, free: 292 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.1848, allocations: 19.98 kB / 0.774 GB, free: 272 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1848, allocations: 8.125 kB / 0.774 GB, free: 264 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.1852, allocations: 55.91 kB / 0.7741 GB, free: 208 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.1853, allocations: 43.92 kB / 0.7741 GB, free: 164 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.3463/0.5316, allocations: 169.8 kB / 0.7743 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.5317, allocations: 28.02 kB / 0.7743 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.29e-05/0.5318, allocations: 29.42 kB / 0.7743 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5318, allocations: 2.406 kB / 0.7743 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.5318, allocations: 4.281 kB / 0.7743 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.5318, allocations: 1.875 kB / 0.7743 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.534, allocations: 0.6908 MB / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.534, allocations: 0 / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.5341, allocations: 7.406 kB / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.144e-06/0.5341, allocations: 1.406 kB / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.981e-05/0.5342, allocations: 20.67 kB / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.5342, allocations: 0.5 kB / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5342, allocations: 1.125 kB / 0.775 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.5359, allocations: 451.4 kB / 0.7755 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.5362, allocations: 165.6 kB / 0.7756 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.5363, allocations: 16.28 kB / 0.7757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.5367, allocations: 31.91 kB / 0.7757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.5368, allocations: 10.28 kB / 0.7757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.5368, allocations: 43.8 kB / 0.7757 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002636/0.5371, allocations: 210.3 kB / 0.7759 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5371, allocations: 0 / 0.7759 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004199/0.5375, allocations: 46.47 kB / 0.776 GB, free: 14.29 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.000186/0.5377, allocations: 124.8 kB / 0.7761 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.5389, allocations: 375.3 kB / 0.7765 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5389, allocations: 0 / 0.7765 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007275/0.5396, allocations: 118.3 kB / 0.7766 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.54, allocations: 21.78 kB / 0.7766 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.5413, allocations: 432.7 kB / 0.777 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002542/0.5416, allocations: 0.7388 MB / 0.7777 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 8.139e-05/0.5417, allocations: 15.45 kB / 0.7777 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.932e-05/0.5417, allocations: 19.39 kB / 0.7778 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of SimCode: time 3.51e-07/0.5417, allocations: 0 / 0.7778 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of Templates: time 0.007572/0.5493, allocations: 3.65 MB / 0.7813 GB, free: 12.93 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)