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.004934/0.004934, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.001142/0.001142, allocations: 184.9 kB / 16.67 MB, free: 5.918 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002159/0.002159, allocations: 286.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9681/0.9681, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 91.86 kB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1726, allocations: 86.98 MB / 0.7664 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002398/0.175, allocations: 1.482 MB / 0.7678 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000869/0.1759, allocations: 423.3 kB / 0.7682 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.69e-05/0.176, allocations: 3.938 kB / 0.7682 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.429e-05/0.1761, allocations: 7.875 kB / 0.7682 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.371e-05/0.1762, allocations: 24.22 kB / 0.7682 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006287/0.1768, allocations: 254.2 kB / 0.7685 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003336/0.1771, allocations: 323.5 kB / 0.7688 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.1772, allocations: 15.97 kB / 0.7688 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002456/0.1774, allocations: 195.7 kB / 0.769 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.1777, allocations: 116 kB / 0.7691 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.319e-05/0.1777, allocations: 20 kB / 0.7691 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.374e-05/0.1778, allocations: 20 kB / 0.7691 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1779, allocations: 83.7 kB / 0.7692 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1781, allocations: 127.4 kB / 0.7694 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002927/0.1784, allocations: 294.9 kB / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1784, allocations: 0 / 0.7696 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.052e-06/0.1784, allocations: 4 kB / 0.7696 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.1784, allocations: 0 / 0.7696 GB, free: 5.039 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.0009443/0.1793, allocations: 0.7423 MB / 0.7704 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.1794, allocations: 16.02 kB / 0.7704 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.878e-05/0.1795, allocations: 28.8 kB / 0.7704 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.1797, allocations: 263.8 kB / 0.7707 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.56e-05/0.1798, allocations: 16.36 kB / 0.7707 GB, free: 3.855 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.1798, allocations: 23.94 kB / 0.7707 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009611/0.1808, allocations: 208.1 kB / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1808, allocations: 0 / 0.7709 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.1808, allocations: 4 kB / 0.7709 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1808, allocations: 0 / 0.7709 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006935/0.1815, allocations: 95.91 kB / 0.771 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.1819, allocations: 325.4 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1829, allocations: 170.4 kB / 0.7715 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006955/0.1836, allocations: 108.7 kB / 0.7716 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.1836, allocations: 4 kB / 0.7716 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008341/0.1845, allocations: 221.1 kB / 0.7718 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.1845, allocations: 0 / 0.7718 GB, free: 2.645 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002332/0.1868, allocations: 445.1 kB / 0.7722 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.1869, allocations: 63.33 kB / 0.7723 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002563/0.1871, allocations: 291 kB / 0.7725 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.1872, allocations: 41.64 kB / 0.7726 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.456e-05/0.1872, allocations: 89.64 kB / 0.7727 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.1873, allocations: 43.73 kB / 0.7727 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1874, allocations: 93.58 kB / 0.7728 GB, free: 1.559 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.1875, allocations: 326.8 kB / 0.7731 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1877, allocations: 83.95 kB / 0.7732 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.1879, allocations: 141.9 kB / 0.7733 GB, free: 0.9883 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.1882, allocations: 243.4 kB / 0.7736 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1882, allocations: 3.938 kB / 0.7736 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005897/0.1888, allocations: 384.7 kB / 0.7739 GB, free: 328 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.1889, allocations: 79.38 kB / 0.774 GB, free: 236 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1889, allocations: 8.188 kB / 0.774 GB, free: 228 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.1889, allocations: 4 kB / 0.774 GB, free: 224 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.1891, allocations: 19.92 kB / 0.774 GB, free: 204 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1891, allocations: 4 kB / 0.774 GB, free: 200 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.1895, allocations: 55.84 kB / 0.7741 GB, free: 144 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.818e-05/0.1896, allocations: 43.98 kB / 0.7741 GB, free: 100 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.3908/0.5803, allocations: 169.6 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/0.5804, allocations: 27.81 kB / 0.7743 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.5805, allocations: 30.14 kB / 0.7743 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.5806, allocations: 5.281 kB / 0.7744 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5806, allocations: 0.6875 kB / 0.7744 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.5806, allocations: 2.484 kB / 0.7744 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.5828, allocations: 0.6895 MB / 0.775 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5829, allocations: 0 / 0.775 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.5829, allocations: 7.703 kB / 0.775 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-06/0.5829, allocations: 5.812 kB / 0.775 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.492e-05/0.583, allocations: 15.75 kB / 0.7751 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.583, allocations: 4 kB / 0.7751 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.583, allocations: 0.5625 kB / 0.7751 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00164/0.5846, allocations: 443 kB / 0.7755 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.5848, allocations: 172.6 kB / 0.7756 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.195e-05/0.5849, allocations: 9.406 kB / 0.7757 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.5854, allocations: 33.73 kB / 0.7757 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.082e-05/0.5854, allocations: 11.44 kB / 0.7757 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.769e-05/0.5855, allocations: 46.03 kB / 0.7757 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002215/0.5857, allocations: 210.6 kB / 0.7759 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5857, allocations: 0 / 0.7759 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003674/0.5861, allocations: 47.09 kB / 0.776 GB, free: 14.25 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.0001364/0.5862, allocations: 116 kB / 0.7761 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.5873, allocations: 376.6 kB / 0.7765 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5873, allocations: 1.969 kB / 0.7765 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006992/0.588, allocations: 115.6 kB / 0.7766 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.5884, allocations: 30.89 kB / 0.7766 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.5897, allocations: 431.8 kB / 0.777 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/0.5899, allocations: 0.7395 MB / 0.7777 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.203e-05/0.59, allocations: 12.27 kB / 0.7777 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.59, allocations: 22.81 kB / 0.7778 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.59, allocations: 0 / 0.7778 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of Templates: time 0.00786/0.5979, allocations: 3.65 MB / 0.7813 GB, free: 12.87 MB / 0.5606 GB 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)