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.001466/0.001466, allocations: 104.2 kB / 15.99 MB, free: 5.891 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.001563/0.001563, allocations: 192.5 kB / 16.91 MB, free: 5.746 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.323/1.323, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002401/0.002401, allocations: 271 kB / 291 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.003/1.003, allocations: 178.6 MB / 0.5076 GB, free: 4.691 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002596/0.002596, allocations: 101.8 kB / 0.6066 GB, free: 24.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1455, allocations: 89.15 MB / 0.6936 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002754/0.1483, allocations: 1.576 MB / 0.6952 GB, free: 3.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.1495, allocations: 0.5404 MB / 0.6957 GB, free: 2.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.1496, allocations: 3.938 kB / 0.6957 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.174e-05/0.1497, allocations: 0.7188 kB / 0.6957 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.842e-05/0.1498, allocations: 27.84 kB / 0.6957 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006771/0.1505, allocations: 290.7 kB / 0.696 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005282/0.151, allocations: 0.5041 MB / 0.6965 GB, free: 1.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.948e-05/0.151, allocations: 9.578 kB / 0.6965 GB, free: 1.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004429/0.1515, allocations: 343 kB / 0.6968 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002587/0.1518, allocations: 171.2 kB / 0.697 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.1518, allocations: 28 kB / 0.697 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.856e-05/0.1519, allocations: 28 kB / 0.697 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1521, allocations: 119.6 kB / 0.6971 GB, free: 1.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002384/0.1523, allocations: 194.8 kB / 0.6973 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003117/0.1526, allocations: 315.7 kB / 0.6976 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1526, allocations: 0 / 0.6976 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1526, allocations: 0 / 0.6976 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1527, allocations: 0 / 0.6976 GB, free: 0.5664 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.001229/0.1539, allocations: 0.8742 MB / 0.6985 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1539, allocations: 12.03 kB / 0.6985 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.1541, allocations: 48.47 kB / 0.6985 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.1544, allocations: 310.2 kB / 0.6988 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.1545, allocations: 20.36 kB / 0.6989 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.1546, allocations: 28.36 kB / 0.6989 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000989/0.1556, allocations: 212.4 kB / 0.6991 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.1556, allocations: 4.188 kB / 0.6991 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1556, allocations: 7.922 kB / 0.6991 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.1556, allocations: 4 kB / 0.6991 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/0.1564, allocations: 95.92 kB / 0.6992 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.1569, allocations: 389.2 kB / 0.6996 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.1579, allocations: 178.5 kB / 0.6997 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.1587, allocations: 116.7 kB / 0.6999 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1587, allocations: 4 kB / 0.6999 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009637/0.1597, allocations: 225.1 kB / 0.7001 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.1597, allocations: 0 / 0.7001 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002506/0.1622, allocations: 484.8 kB / 0.7005 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.1623, allocations: 63.34 kB / 0.7006 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.1627, allocations: 409.9 kB / 0.701 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.74e-05/0.1628, allocations: 41.7 kB / 0.701 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001359/0.1629, allocations: 101.3 kB / 0.7011 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.163, allocations: 39.53 kB / 0.7012 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.1632, allocations: 129.3 kB / 0.7013 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1633, allocations: 322.8 kB / 0.7016 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.1636, allocations: 115.9 kB / 0.7017 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.1639, allocations: 170.6 kB / 0.7019 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.1643, allocations: 283 kB / 0.7021 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.1643, allocations: 0 / 0.7021 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008157/0.1651, allocations: 498.6 kB / 0.7026 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.443e-05/0.1652, allocations: 87.31 kB / 0.7027 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.1652, allocations: 4 kB / 0.7027 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1652, allocations: 4 kB / 0.7027 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.1654, allocations: 23.92 kB / 0.7027 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1654, allocations: 8.172 kB / 0.7027 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004929/0.1659, allocations: 59.86 kB / 0.7028 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.649e-05/0.166, allocations: 59.97 kB / 0.7028 GB, free: 10.9 MB / 0.4981 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.0002215/0.1662, allocations: 196 kB / 0.703 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.935e-05/0.1663, allocations: 39.47 kB / 0.7031 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.799e-05/0.1664, allocations: 47.73 kB / 0.7031 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1664, allocations: 0 / 0.7031 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1664, allocations: 0 / 0.7031 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.1664, allocations: 0 / 0.7031 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.1686, allocations: 0.7574 MB / 0.7039 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1686, allocations: 4 kB / 0.7039 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.1686, allocations: 7.984 kB / 0.7039 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1686, allocations: 0 / 0.7039 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.1687, allocations: 19.98 kB / 0.7039 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.1687, allocations: 3.984 kB / 0.7039 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1687, allocations: 0 / 0.7039 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.1705, allocations: 474.7 kB / 0.7043 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002316/0.1707, allocations: 200.4 kB / 0.7045 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.316e-05/0.1708, allocations: 15.98 kB / 0.7045 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.1713, allocations: 31.97 kB / 0.7046 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.031e-05/0.1713, allocations: 11.92 kB / 0.7046 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.117e-05/0.1714, allocations: 59.97 kB / 0.7046 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003066/0.1717, allocations: 295.1 kB / 0.7049 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1717, allocations: 0 / 0.7049 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000329/0.172, allocations: 64 kB / 0.705 GB, free: 8.602 MB / 0.4981 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.0001418/0.1722, allocations: 120.1 kB / 0.7051 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.1734, allocations: 448.5 kB / 0.7055 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1735, allocations: 0 / 0.7055 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007614/0.1742, allocations: 119.9 kB / 0.7056 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.1746, allocations: 35.27 kB / 0.7057 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.1761, allocations: 0.7054 MB / 0.7064 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.1765, allocations: 0.7747 MB / 0.7071 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.178e-05/0.1766, allocations: 15.44 kB / 0.7071 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1766, allocations: 0 / 0.7071 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of Templates: time 0.00566/0.1822, allocations: 3.693 MB / 0.7107 GB, free: 2.582 MB / 0.4981 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)