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.005293/0.005293, allocations: 106.2 kB / 15.74 MB, free: 6.039 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.001141/0.001141, allocations: 195.2 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002166/0.002166, allocations: 287 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9476/0.9476, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 95.84 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1558, allocations: 86.98 MB / 0.7664 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002405/0.1582, allocations: 1.486 MB / 0.7678 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.000888/0.1591, allocations: 419.3 kB / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.328e-05/0.1592, allocations: 0 / 0.7682 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.647e-05/0.1593, allocations: 7.875 kB / 0.7682 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.111e-05/0.1594, allocations: 28.22 kB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006974/0.1601, allocations: 251.2 kB / 0.7685 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.1605, allocations: 327.5 kB / 0.7688 GB, free: 5.977 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.1605, allocations: 11.98 kB / 0.7688 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003015/0.1609, allocations: 203.6 kB / 0.769 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.1611, allocations: 112 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.752e-05/0.1612, allocations: 20 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.093e-05/0.1613, allocations: 20 kB / 0.7691 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.1614, allocations: 83.7 kB / 0.7692 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1615, allocations: 127.4 kB / 0.7693 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.1618, allocations: 299 kB / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1618, allocations: 0 / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1618, allocations: 0 / 0.7696 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.1619, allocations: 0 / 0.7696 GB, free: 5.117 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.001041/0.1629, allocations: 0.7384 MB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.1629, allocations: 12.03 kB / 0.7704 GB, free: 4.281 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.828e-05/0.163, allocations: 28.66 kB / 0.7704 GB, free: 4.254 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.1633, allocations: 263.5 kB / 0.7706 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.117e-05/0.1634, allocations: 16.36 kB / 0.7707 GB, free: 3.941 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.1634, allocations: 27.94 kB / 0.7707 GB, free: 3.914 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009991/0.1644, allocations: 193.5 kB / 0.7709 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.1645, allocations: 0 / 0.7709 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.1645, allocations: 7.984 kB / 0.7709 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1645, allocations: 0 / 0.7709 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007935/0.1653, allocations: 99.92 kB / 0.771 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003255/0.1656, allocations: 313.3 kB / 0.7713 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.1667, allocations: 178.3 kB / 0.7714 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.1675, allocations: 104.8 kB / 0.7715 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.1676, allocations: 7.984 kB / 0.7715 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009758/0.1685, allocations: 216.4 kB / 0.7718 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 3.516e-06/0.1686, allocations: 0 / 0.7718 GB, free: 2.738 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002542/0.1711, allocations: 451.2 kB / 0.7722 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.1711, allocations: 63.39 kB / 0.7722 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1714, allocations: 290.9 kB / 0.7725 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.24e-05/0.1715, allocations: 37.7 kB / 0.7726 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.969e-05/0.1716, allocations: 85.14 kB / 0.7726 GB, free: 1.797 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.23e-05/0.1716, allocations: 39.55 kB / 0.7727 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.1718, allocations: 101.4 kB / 0.7728 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1719, allocations: 330.8 kB / 0.7731 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.1721, allocations: 79.94 kB / 0.7732 GB, free: 1.242 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002059/0.1723, allocations: 134 kB / 0.7733 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002964/0.1726, allocations: 247.5 kB / 0.7735 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.1726, allocations: 3.938 kB / 0.7735 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006069/0.1732, allocations: 376.9 kB / 0.7739 GB, free: 436 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.949e-05/0.1733, allocations: 86.38 kB / 0.774 GB, free: 340 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.1733, allocations: 4 kB / 0.774 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1733, allocations: 4 kB / 0.774 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.1735, allocations: 23.86 kB / 0.774 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.1735, allocations: 4 kB / 0.774 GB, free: 304 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004604/0.174, allocations: 59.73 kB / 0.7741 GB, free: 244 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/0.1741, allocations: 43.98 kB / 0.7741 GB, free: 200 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.0001663/0.1742, allocations: 179.9 kB / 0.7743 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.339/0.5132, allocations: 22.8 kB / 0.7743 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.051e-05/0.5134, allocations: 27.27 kB / 0.7743 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5134, allocations: 2.547 kB / 0.7743 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.5134, allocations: 0 / 0.7743 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5134, allocations: 1.562 kB / 0.7743 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002375/0.5158, allocations: 0.6931 MB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5158, allocations: 0.6562 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.5158, allocations: 4.703 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5158, allocations: 1.219 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.245e-05/0.5159, allocations: 19.41 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.5159, allocations: 4.188 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5159, allocations: 0.8125 kB / 0.775 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5177, allocations: 453.5 kB / 0.7755 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001508/0.5179, allocations: 158.3 kB / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.5179, allocations: 13.19 kB / 0.7756 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004541/0.5184, allocations: 31.25 kB / 0.7757 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.188e-05/0.5184, allocations: 15.64 kB / 0.7757 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.5185, allocations: 40.92 kB / 0.7757 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001902/0.5187, allocations: 210.3 kB / 0.7759 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5187, allocations: 0.5625 kB / 0.7759 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003607/0.5191, allocations: 50.97 kB / 0.776 GB, free: 14.56 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.0001336/0.5192, allocations: 119.7 kB / 0.7761 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001138/0.5203, allocations: 379.9 kB / 0.7764 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5204, allocations: 1.875 kB / 0.7764 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007658/0.5211, allocations: 114 kB / 0.7766 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5215, allocations: 23.48 kB / 0.7766 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5228, allocations: 423.3 kB / 0.777 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.5231, allocations: 0.7391 MB / 0.7777 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.024e-05/0.5231, allocations: 12.67 kB / 0.7777 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.5232, allocations: 17.12 kB / 0.7777 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of SimCode: time 8.32e-07/0.5232, allocations: 1.094 kB / 0.7777 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.007503/0.5307, allocations: 3.654 MB / 0.7813 GB, free: 13.2 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)