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.001022/0.001022, allocations: 106.7 kB / 16.35 MB, free: 5.824 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.001007/0.001007, allocations: 192.7 kB / 17.29 MB, free: 5.48 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.252/1.252, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 300 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8886/0.8886, allocations: 169.3 MB / 0.4989 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 90.28 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1576, allocations: 86.97 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002679/0.1603, allocations: 1.489 MB / 0.683 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.1613, allocations: 427.3 kB / 0.6835 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.754e-05/0.1613, allocations: 4 kB / 0.6835 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.55e-05/0.1615, allocations: 7.875 kB / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.1616, allocations: 24.22 kB / 0.6835 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000736/0.1623, allocations: 242.6 kB / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004043/0.1628, allocations: 331.5 kB / 0.684 GB, free: 4.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.1628, allocations: 11.98 kB / 0.684 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003026/0.1631, allocations: 195.7 kB / 0.6842 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.1634, allocations: 116 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.1634, allocations: 20 kB / 0.6844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.1635, allocations: 20 kB / 0.6844 GB, free: 4.57 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001082/0.1636, allocations: 91.75 kB / 0.6845 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1637, allocations: 127.4 kB / 0.6846 GB, free: 4.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.164, allocations: 287.1 kB / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1641, allocations: 0 / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1641, allocations: 0 / 0.6849 GB, free: 4.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.1641, allocations: 0 / 0.6849 GB, free: 4.074 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.0009809/0.1651, allocations: 0.7385 MB / 0.6856 GB, free: 3.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.1651, allocations: 8.031 kB / 0.6856 GB, free: 3.242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.234e-05/0.1652, allocations: 32.66 kB / 0.6856 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1655, allocations: 267.4 kB / 0.6859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.1656, allocations: 12.38 kB / 0.6859 GB, free: 2.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.566e-05/0.1656, allocations: 23.94 kB / 0.6859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008226/0.1664, allocations: 205.4 kB / 0.6861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.1665, allocations: 0 / 0.6861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.346e-05/0.1665, allocations: 0 / 0.6861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1665, allocations: 0 / 0.6861 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006477/0.1672, allocations: 103.8 kB / 0.6862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1675, allocations: 321.3 kB / 0.6865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008821/0.1684, allocations: 174.4 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000647/0.169, allocations: 104.8 kB / 0.6868 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1691, allocations: 3.938 kB / 0.6868 GB, free: 1.918 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007875/0.1699, allocations: 218.3 kB / 0.687 GB, free: 1.695 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.1699, allocations: 0 / 0.687 GB, free: 1.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002114/0.172, allocations: 452.9 kB / 0.6874 GB, free: 1.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.1721, allocations: 59.39 kB / 0.6875 GB, free: 1.176 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1723, allocations: 287 kB / 0.6878 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.1724, allocations: 41.7 kB / 0.6878 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.1724, allocations: 89.12 kB / 0.6879 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.401e-05/0.1725, allocations: 47.44 kB / 0.6879 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001548/0.1727, allocations: 97.48 kB / 0.688 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1728, allocations: 322.8 kB / 0.6883 GB, free: 288 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.1729, allocations: 79.89 kB / 0.6884 GB, free: 208 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.1731, allocations: 130 kB / 0.6885 GB, free: 56 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2764/0.4495, allocations: 238.6 kB / 0.6888 GB, free: 17.96 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.4496, allocations: 3.688 kB / 0.6888 GB, free: 17.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007049/0.4503, allocations: 387.6 kB / 0.6891 GB, free: 17.86 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-05/0.4503, allocations: 75.45 kB / 0.6892 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.4504, allocations: 3.375 kB / 0.6892 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/0.4504, allocations: 6.625 kB / 0.6892 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001769/0.4506, allocations: 22.33 kB / 0.6892 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.4506, allocations: 7.656 kB / 0.6892 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004414/0.451, allocations: 61.95 kB / 0.6893 GB, free: 17.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-05/0.4511, allocations: 42.11 kB / 0.6893 GB, free: 17.8 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.0002044/0.4513, allocations: 168.9 kB / 0.6895 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.903e-05/0.4514, allocations: 30.22 kB / 0.6895 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.931e-05/0.4514, allocations: 27.34 kB / 0.6896 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4515, allocations: 1.938 kB / 0.6896 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4515, allocations: 0.8438 kB / 0.6896 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4515, allocations: 1.266 kB / 0.6896 GB, free: 17.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.4534, allocations: 0.6912 MB / 0.6902 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.4534, allocations: 2.156 kB / 0.6902 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.4535, allocations: 5.781 kB / 0.6902 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4535, allocations: 1.281 kB / 0.6902 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.4535, allocations: 15.69 kB / 0.6903 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4535, allocations: 3.938 kB / 0.6903 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4535, allocations: 2.672 kB / 0.6903 GB, free: 17.37 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.4551, allocations: 452.2 kB / 0.6907 GB, free: 17.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002004/0.4553, allocations: 160.2 kB / 0.6908 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.4553, allocations: 19.89 kB / 0.6909 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.4557, allocations: 33.88 kB / 0.6909 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/0.4558, allocations: 12.17 kB / 0.6909 GB, free: 17.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.4e-05/0.4559, allocations: 40.45 kB / 0.6909 GB, free: 17.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.4561, allocations: 212.8 kB / 0.6911 GB, free: 17.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4561, allocations: 0 / 0.6911 GB, free: 17.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003129/0.4564, allocations: 50.34 kB / 0.6912 GB, free: 17.05 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.0001414/0.4565, allocations: 114.3 kB / 0.6913 GB, free: 16.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.4576, allocations: 382.7 kB / 0.6917 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4576, allocations: 1.938 kB / 0.6917 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006582/0.4582, allocations: 112.5 kB / 0.6918 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.4586, allocations: 31.14 kB / 0.6918 GB, free: 16.83 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4597, allocations: 424.3 kB / 0.6922 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.4599, allocations: 0.7401 MB / 0.6929 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.357e-05/0.46, allocations: 20.25 kB / 0.693 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.865e-05/0.46, allocations: 16.03 kB / 0.693 GB, free: 15.92 MB / 494.1 MB Notification: Performance of SimCode: time 4.91e-07/0.46, allocations: 0 / 0.693 GB, free: 15.92 MB / 494.1 MB Notification: Performance of Templates: time 0.007093/0.4671, allocations: 3.63 MB / 0.6965 GB, free: 15.64 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)