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.001278/0.001278, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001344/0.001344, allocations: 189 kB / 17.2 MB, free: 5.609 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.273/1.273, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 290.3 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.911/0.911, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00208/0.00208, allocations: 100.5 kB / 0.5959 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.169, allocations: 86.97 MB / 0.6808 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002869/0.1719, allocations: 1.478 MB / 0.6823 GB, free: 6.695 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009792/0.1729, allocations: 423.3 kB / 0.6827 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.173, allocations: 0 / 0.6827 GB, free: 6.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.48e-05/0.1731, allocations: 15.86 kB / 0.6827 GB, free: 6.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1732, allocations: 16.23 kB / 0.6827 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007284/0.174, allocations: 254.4 kB / 0.6829 GB, free: 6 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003911/0.1744, allocations: 323.5 kB / 0.6833 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.1744, allocations: 11.97 kB / 0.6833 GB, free: 5.672 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.1748, allocations: 195.7 kB / 0.6835 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.1751, allocations: 116 kB / 0.6836 GB, free: 5.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.1752, allocations: 20 kB / 0.6836 GB, free: 5.348 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.618e-05/0.1753, allocations: 20 kB / 0.6836 GB, free: 5.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001361/0.1755, allocations: 75.78 kB / 0.6837 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002029/0.1757, allocations: 131.3 kB / 0.6838 GB, free: 5.125 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1761, allocations: 287.4 kB / 0.6841 GB, free: 4.844 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1761, allocations: 3.938 kB / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1761, allocations: 0 / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1762, allocations: 0 / 0.6841 GB, free: 4.84 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.00153/0.1777, allocations: 0.7502 MB / 0.6848 GB, free: 4.004 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1778, allocations: 8.031 kB / 0.6848 GB, free: 3.996 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.1779, allocations: 32.66 kB / 0.6849 GB, free: 3.965 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004091/0.1783, allocations: 263.4 kB / 0.6851 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.863e-05/0.1784, allocations: 16.38 kB / 0.6851 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.909e-05/0.1785, allocations: 23.92 kB / 0.6851 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1798, allocations: 204.6 kB / 0.6853 GB, free: 3.43 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1798, allocations: 3.938 kB / 0.6853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.1798, allocations: 0 / 0.6853 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1798, allocations: 4 kB / 0.6853 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.1809, allocations: 95.91 kB / 0.6854 GB, free: 3.328 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.1813, allocations: 321.4 kB / 0.6857 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.1827, allocations: 178.3 kB / 0.6859 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009689/0.1836, allocations: 108.8 kB / 0.686 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.74e-05/0.1837, allocations: 4 kB / 0.686 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.1849, allocations: 210.1 kB / 0.6862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 4.098e-06/0.1849, allocations: 4 kB / 0.6862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.003235/0.1882, allocations: 448.9 kB / 0.6867 GB, free: 2.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.543e-05/0.1882, allocations: 59.41 kB / 0.6867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004501/0.1887, allocations: 291 kB / 0.687 GB, free: 1.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 8.831e-05/0.1888, allocations: 45.64 kB / 0.687 GB, free: 1.594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.1889, allocations: 85.14 kB / 0.6871 GB, free: 1.508 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.189, allocations: 47.44 kB / 0.6872 GB, free: 1.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.1893, allocations: 97.47 kB / 0.6872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.1895, allocations: 322.8 kB / 0.6876 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.1898, allocations: 83.88 kB / 0.6876 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003795/0.1901, allocations: 137.9 kB / 0.6878 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.1906, allocations: 244.3 kB / 0.688 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.1907, allocations: 3.938 kB / 0.688 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009565/0.1916, allocations: 384.7 kB / 0.6884 GB, free: 132 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.1917, allocations: 77.56 kB / 0.6884 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.1918, allocations: 4 kB / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.1918, allocations: 4.188 kB / 0.6885 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.192, allocations: 27.92 kB / 0.6885 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.192, allocations: 4 kB / 0.6885 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2659/0.458, allocations: 48.78 kB / 0.6885 GB, free: 18.11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/0.4581, allocations: 47.67 kB / 0.6886 GB, free: 18.11 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.0002138/0.4583, allocations: 170.1 kB / 0.6887 GB, free: 18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.127e-05/0.4584, allocations: 27.59 kB / 0.6888 GB, free: 18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.966e-05/0.4584, allocations: 35.61 kB / 0.6888 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.4585, allocations: 2.094 kB / 0.6888 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4585, allocations: 0 / 0.6888 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.4585, allocations: 3 kB / 0.6888 GB, free: 17.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4606, allocations: 0.6918 MB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.4606, allocations: 1.469 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.4606, allocations: 5.984 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.4606, allocations: 1 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/0.4607, allocations: 18.72 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4607, allocations: 4.219 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.4607, allocations: 3.438 kB / 0.6895 GB, free: 17.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.4624, allocations: 449.1 kB / 0.6899 GB, free: 17.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.4626, allocations: 164.6 kB / 0.6901 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.39e-05/0.4626, allocations: 10.52 kB / 0.6901 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.4631, allocations: 32.91 kB / 0.6901 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.4631, allocations: 8.203 kB / 0.6901 GB, free: 17.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.589e-05/0.4632, allocations: 48.16 kB / 0.6902 GB, free: 17.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.4634, allocations: 213.5 kB / 0.6904 GB, free: 17.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4634, allocations: 0 / 0.6904 GB, free: 17.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.4638, allocations: 46.03 kB / 0.6904 GB, free: 17.39 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.0001285/0.4639, allocations: 112.6 kB / 0.6905 GB, free: 17.31 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.465, allocations: 388.1 kB / 0.6909 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4651, allocations: 0.9688 kB / 0.6909 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.4658, allocations: 111.8 kB / 0.691 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.4662, allocations: 38.38 kB / 0.6911 GB, free: 17.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.4675, allocations: 474.3 kB / 0.6915 GB, free: 16.95 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.4677, allocations: 0.7413 MB / 0.6922 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.4678, allocations: 16.53 kB / 0.6923 GB, free: 16.25 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4678, allocations: 0.9688 kB / 0.6923 GB, free: 16.25 MB / 494.1 MB Notification: Performance of Templates: time 0.005657/0.4734, allocations: 2.845 MB / 0.695 GB, free: 16.05 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)