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.001224/0.001224, allocations: 117.2 kB / 16.37 MB, free: 6.004 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.001248/0.001248, allocations: 193.2 kB / 17.31 MB, free: 5.613 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 291.5 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9201/0.9201, allocations: 169.3 MB / 0.4989 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 97.09 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.164, allocations: 86.98 MB / 0.6816 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002336/0.1664, allocations: 1.482 MB / 0.683 GB, free: 5.965 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.1672, allocations: 435.2 kB / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.114e-05/0.1673, allocations: 0 / 0.6835 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.56e-05/0.1674, allocations: 7.875 kB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.312e-05/0.1674, allocations: 24.22 kB / 0.6835 GB, free: 5.504 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.168, allocations: 246.5 kB / 0.6837 GB, free: 5.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003187/0.1684, allocations: 327.5 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1684, allocations: 15.95 kB / 0.6841 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002343/0.1686, allocations: 191.7 kB / 0.6842 GB, free: 4.742 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002014/0.1689, allocations: 121.3 kB / 0.6844 GB, free: 4.625 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.1689, allocations: 20 kB / 0.6844 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.603e-05/0.169, allocations: 20 kB / 0.6844 GB, free: 4.586 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.804e-05/0.1691, allocations: 83.77 kB / 0.6845 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1692, allocations: 123.4 kB / 0.6846 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.1695, allocations: 299 kB / 0.6849 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1695, allocations: 0 / 0.6849 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1695, allocations: 0 / 0.6849 GB, free: 4.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1695, allocations: 0 / 0.6849 GB, free: 4.09 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.0009078/0.1704, allocations: 0.7306 MB / 0.6856 GB, free: 3.273 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.784e-05/0.1705, allocations: 8.031 kB / 0.6856 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.106e-05/0.1706, allocations: 40.64 kB / 0.6856 GB, free: 3.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003017/0.1709, allocations: 259.5 kB / 0.6859 GB, free: 2.938 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.925e-05/0.1709, allocations: 16.36 kB / 0.6859 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.459e-05/0.171, allocations: 19.94 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.1718, allocations: 213.4 kB / 0.6861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.1718, allocations: 0 / 0.6861 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/0.1718, allocations: 3.938 kB / 0.6861 GB, free: 2.684 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1718, allocations: 8 kB / 0.6861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006379/0.1725, allocations: 91.92 kB / 0.6862 GB, free: 2.586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.1728, allocations: 321.3 kB / 0.6865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008656/0.1737, allocations: 174.3 kB / 0.6867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006178/0.1743, allocations: 104.8 kB / 0.6868 GB, free: 1.938 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1743, allocations: 4 kB / 0.6868 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007584/0.1751, allocations: 217.7 kB / 0.687 GB, free: 1.711 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/0.1751, allocations: 0 / 0.687 GB, free: 1.711 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002061/0.1772, allocations: 448.9 kB / 0.6874 GB, free: 1.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1772, allocations: 59.39 kB / 0.6875 GB, free: 1.195 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002394/0.1775, allocations: 287 kB / 0.6878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.307e-05/0.1775, allocations: 41.7 kB / 0.6878 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1776, allocations: 89.12 kB / 0.6879 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1776, allocations: 51.44 kB / 0.6879 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.1778, allocations: 93.48 kB / 0.688 GB, free: 0.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.1779, allocations: 322.8 kB / 0.6883 GB, free: 308 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.178, allocations: 83.88 kB / 0.6884 GB, free: 224 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001954/0.1782, allocations: 130 kB / 0.6885 GB, free: 72 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2567/0.435, allocations: 240.4 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.435, allocations: 3.844 kB / 0.6888 GB, free: 18.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007169/0.4357, allocations: 384.7 kB / 0.6891 GB, free: 17.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.127e-05/0.4358, allocations: 75.42 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.4358, allocations: 1.875 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4358, allocations: 4.406 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.436, allocations: 24.31 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.436, allocations: 2.531 kB / 0.6892 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.4365, allocations: 58.42 kB / 0.6893 GB, free: 17.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.4365, allocations: 42.66 kB / 0.6893 GB, free: 17.86 MB / 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.0001978/0.4367, allocations: 173.4 kB / 0.6895 GB, free: 17.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.469e-05/0.4368, allocations: 26.72 kB / 0.6895 GB, free: 17.74 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.1e-05/0.4369, allocations: 26.72 kB / 0.6896 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.4369, allocations: 2.984 kB / 0.6896 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4369, allocations: 0 / 0.6896 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4369, allocations: 2.719 kB / 0.6896 GB, free: 17.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.4388, allocations: 0.6952 MB / 0.6902 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4388, allocations: 3.969 kB / 0.6902 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.4389, allocations: 4.266 kB / 0.6902 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4389, allocations: 1.422 kB / 0.6902 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.4389, allocations: 16.23 kB / 0.6903 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.4389, allocations: 8.984 kB / 0.6903 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.439, allocations: 5.109 kB / 0.6903 GB, free: 17.43 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.4404, allocations: 450.1 kB / 0.6907 GB, free: 17.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.4406, allocations: 165.1 kB / 0.6909 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.4407, allocations: 9.969 kB / 0.6909 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.4411, allocations: 39.3 kB / 0.6909 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.4411, allocations: 8.609 kB / 0.6909 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.779e-05/0.4412, allocations: 42.75 kB / 0.691 GB, free: 17.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.4414, allocations: 211.1 kB / 0.6912 GB, free: 17.11 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4414, allocations: 0.7188 kB / 0.6912 GB, free: 17.11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003335/0.4417, allocations: 46.53 kB / 0.6912 GB, free: 17.11 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.0001157/0.4419, allocations: 118.5 kB / 0.6913 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.4429, allocations: 380.7 kB / 0.6917 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4429, allocations: 0 / 0.6917 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006923/0.4436, allocations: 120.1 kB / 0.6918 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.444, allocations: 22.55 kB / 0.6918 GB, free: 16.89 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001167/0.4451, allocations: 427.7 kB / 0.6922 GB, free: 16.69 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001904/0.4453, allocations: 0.7366 MB / 0.6929 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.888e-05/0.4454, allocations: 13.94 kB / 0.693 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.4454, allocations: 20.17 kB / 0.693 GB, free: 15.98 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4455, allocations: 2.219 kB / 0.693 GB, free: 15.98 MB / 494.1 MB Notification: Performance of Templates: time 0.007321/0.4528, allocations: 3.632 MB / 0.6965 GB, free: 15.7 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)