Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 105 kB / 15.98 MB, free: 6.355 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.00131/0.00131, allocations: 195.7 kB / 16.91 MB, free: 6.188 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.247/1.247, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001987/0.001987, allocations: 287.8 kB / 291 MB, free: 14.72 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8854/0.8854, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 89.52 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1727, allocations: 86.98 MB / 0.6803 GB, free: 8.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002504/0.1753, allocations: 1.554 MB / 0.6818 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.1762, allocations: 412.2 kB / 0.6822 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.704e-05/0.1762, allocations: 0 / 0.6822 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.942e-05/0.1763, allocations: 11.92 kB / 0.6822 GB, free: 6.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.961e-05/0.1765, allocations: 24.22 kB / 0.6822 GB, free: 6.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.1771, allocations: 230.4 kB / 0.6824 GB, free: 6.348 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.1775, allocations: 335.8 kB / 0.6827 GB, free: 6.02 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.608e-05/0.1775, allocations: 7.984 kB / 0.6828 GB, free: 6.012 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002918/0.1778, allocations: 242.3 kB / 0.683 GB, free: 5.777 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.178, allocations: 131.6 kB / 0.6831 GB, free: 5.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.1781, allocations: 20 kB / 0.6831 GB, free: 5.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.787e-05/0.1781, allocations: 16 kB / 0.6831 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.1782, allocations: 87.7 kB / 0.6832 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1784, allocations: 127.4 kB / 0.6833 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.1786, allocations: 219.8 kB / 0.6836 GB, free: 5.188 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1786, allocations: 4 kB / 0.6836 GB, free: 5.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1786, allocations: 0 / 0.6836 GB, free: 5.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1786, allocations: 0 / 0.6836 GB, free: 5.184 MB / 494.1 MB 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.0009849/0.1796, allocations: 0.7344 MB / 0.6843 GB, free: 4.363 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1796, allocations: 8.031 kB / 0.6843 GB, free: 4.355 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.258e-05/0.1797, allocations: 39.59 kB / 0.6843 GB, free: 4.316 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.18, allocations: 262.2 kB / 0.6846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.406e-05/0.1801, allocations: 19.98 kB / 0.6846 GB, free: 4.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.872e-05/0.1801, allocations: 23.98 kB / 0.6846 GB, free: 3.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009212/0.1811, allocations: 204.6 kB / 0.6848 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1811, allocations: 3.938 kB / 0.6848 GB, free: 3.773 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.808e-05/0.1811, allocations: 3.984 kB / 0.6848 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1811, allocations: 0 / 0.6848 GB, free: 3.77 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.1818, allocations: 107.9 kB / 0.6849 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.1822, allocations: 309.3 kB / 0.6852 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009423/0.1831, allocations: 174.4 kB / 0.6854 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007006/0.1839, allocations: 108.8 kB / 0.6855 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1839, allocations: 4 kB / 0.6855 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009298/0.1848, allocations: 214 kB / 0.6857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.806e-06/0.1848, allocations: 0 / 0.6857 GB, free: 2.801 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002381/0.1872, allocations: 452.9 kB / 0.6861 GB, free: 2.352 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.1873, allocations: 63.39 kB / 0.6862 GB, free: 2.277 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002747/0.1876, allocations: 290.9 kB / 0.6865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.1876, allocations: 37.7 kB / 0.6865 GB, free: 1.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.483e-05/0.1877, allocations: 93.12 kB / 0.6866 GB, free: 1.852 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.199e-05/0.1878, allocations: 39.45 kB / 0.6866 GB, free: 1.812 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.1879, allocations: 97.47 kB / 0.6867 GB, free: 1.711 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.188, allocations: 330.8 kB / 0.687 GB, free: 1.379 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.1882, allocations: 79.89 kB / 0.6871 GB, free: 1.301 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002086/0.1884, allocations: 134.4 kB / 0.6872 GB, free: 1.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.1887, allocations: 246.8 kB / 0.6875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1887, allocations: 0 / 0.6875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000621/0.1894, allocations: 387 kB / 0.6878 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.279e-05/0.1894, allocations: 79.52 kB / 0.6879 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.1895, allocations: 4 kB / 0.6879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.1895, allocations: 0 / 0.6879 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1897, allocations: 23.98 kB / 0.6879 GB, free: 372 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.1897, allocations: 11.92 kB / 0.688 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.1901, allocations: 59.69 kB / 0.688 GB, free: 300 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/0.1902, allocations: 43.98 kB / 0.6881 GB, free: 256 kB / 494.1 MB 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.000176/0.1904, allocations: 168 kB / 0.6882 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.1904, allocations: 27.62 kB / 0.6882 GB, free: 52 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1905, allocations: 26.3 kB / 0.6883 GB, free: 20 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1905, allocations: 4 kB / 0.6883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1905, allocations: 0 / 0.6883 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1905, allocations: 3.938 kB / 0.6883 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2733/0.4638, allocations: 0.6876 MB / 0.6889 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4638, allocations: 0 / 0.6889 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.4639, allocations: 5.406 kB / 0.689 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.4639, allocations: 5.844 kB / 0.689 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.704e-05/0.4639, allocations: 21.67 kB / 0.689 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4639, allocations: 4.5 kB / 0.689 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4639, allocations: 2.766 kB / 0.689 GB, free: 18.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00161/0.4656, allocations: 444.8 kB / 0.6894 GB, free: 18 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.4657, allocations: 160.6 kB / 0.6896 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/0.4658, allocations: 13.97 kB / 0.6896 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/0.4663, allocations: 30.33 kB / 0.6896 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.4663, allocations: 10.72 kB / 0.6896 GB, free: 17.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.504e-05/0.4664, allocations: 40.78 kB / 0.6897 GB, free: 17.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000196/0.4666, allocations: 215.4 kB / 0.6899 GB, free: 17.83 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4666, allocations: 0 / 0.6899 GB, free: 17.83 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.467, allocations: 52.81 kB / 0.6899 GB, free: 17.83 MB / 494.1 MB 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.0001379/0.4671, allocations: 116.9 kB / 0.69 GB, free: 17.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.4683, allocations: 390.7 kB / 0.6904 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4683, allocations: 0 / 0.6904 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007451/0.469, allocations: 114.8 kB / 0.6905 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000351/0.4694, allocations: 25.48 kB / 0.6905 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4707, allocations: 0.5368 MB / 0.6911 GB, free: 17.32 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.4709, allocations: 0.7383 MB / 0.6918 GB, free: 16.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.471, allocations: 20.12 kB / 0.6918 GB, free: 16.61 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.471, allocations: 4.812 kB / 0.6918 GB, free: 16.61 MB / 494.1 MB Notification: Performance of Templates: time 0.005341/0.4763, allocations: 2.833 MB / 0.6946 GB, free: 16.44 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)