Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 106.5 kB / 16.27 MB, free: 6.41 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.001524/0.001525, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.314/1.314, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002433/0.002433, allocations: 294.5 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.148/1.148, allocations: 178.6 MB / 0.5079 GB, free: 12.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 95.84 kB / 0.6071 GB, free: 9.266 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1718, allocations: 89.14 MB / 0.6941 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002651/0.1745, allocations: 1.518 MB / 0.6956 GB, free: 14.51 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1757, allocations: 0.5363 MB / 0.6962 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.1758, allocations: 4 kB / 0.6962 GB, free: 13.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.1759, allocations: 11.86 kB / 0.6962 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.176, allocations: 27.86 kB / 0.6962 GB, free: 13.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007499/0.1768, allocations: 314.6 kB / 0.6965 GB, free: 13.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005215/0.1773, allocations: 0.5071 MB / 0.697 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.1773, allocations: 8 kB / 0.697 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003549/0.1777, allocations: 267.7 kB / 0.6973 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.178, allocations: 135.6 kB / 0.6974 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.88e-05/0.1781, allocations: 28 kB / 0.6974 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.743e-05/0.1782, allocations: 28 kB / 0.6974 GB, free: 12.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.1783, allocations: 119.6 kB / 0.6976 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.1785, allocations: 187 kB / 0.6977 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004351/0.179, allocations: 422.9 kB / 0.6981 GB, free: 11.95 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.179, allocations: 8 kB / 0.6981 GB, free: 11.94 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.179, allocations: 0 / 0.6981 GB, free: 11.94 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.179, allocations: 0 / 0.6981 GB, free: 11.94 MB / 0.545 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.001241/0.1803, allocations: 0.8664 MB / 0.699 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1803, allocations: 8.031 kB / 0.699 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.1804, allocations: 52.47 kB / 0.699 GB, free: 10.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1808, allocations: 306.3 kB / 0.6993 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.699e-05/0.1809, allocations: 16.36 kB / 0.6994 GB, free: 10.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.581e-05/0.1809, allocations: 32.38 kB / 0.6994 GB, free: 10.54 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000983/0.1819, allocations: 210 kB / 0.6996 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.182, allocations: 4.125 kB / 0.6996 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.182, allocations: 3.938 kB / 0.6996 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.182, allocations: 4 kB / 0.6996 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.1828, allocations: 99.92 kB / 0.6997 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.1832, allocations: 385.2 kB / 0.7001 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1843, allocations: 178.5 kB / 0.7002 GB, free: 9.609 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007423/0.1851, allocations: 113.2 kB / 0.7003 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.1851, allocations: 0 / 0.7003 GB, free: 9.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009544/0.186, allocations: 231 kB / 0.7006 GB, free: 9.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 3.116e-06/0.1861, allocations: 4 kB / 0.7006 GB, free: 9.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002561/0.1886, allocations: 484.8 kB / 0.701 GB, free: 8.773 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.1887, allocations: 71.31 kB / 0.7011 GB, free: 8.691 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.1891, allocations: 409.9 kB / 0.7015 GB, free: 8.273 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.975e-05/0.1892, allocations: 41.69 kB / 0.7015 GB, free: 8.227 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.1893, allocations: 89.44 kB / 0.7016 GB, free: 8.137 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.373e-05/0.1893, allocations: 35.53 kB / 0.7016 GB, free: 8.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000205/0.1895, allocations: 133.3 kB / 0.7018 GB, free: 7.965 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1897, allocations: 322.8 kB / 0.7021 GB, free: 7.641 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.1899, allocations: 119.9 kB / 0.7022 GB, free: 7.523 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002942/0.1902, allocations: 181.1 kB / 0.7024 GB, free: 7.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.1906, allocations: 275.5 kB / 0.7026 GB, free: 7.027 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1906, allocations: 0 / 0.7026 GB, free: 7.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008214/0.1914, allocations: 0.4906 MB / 0.7031 GB, free: 6.52 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.259e-05/0.1915, allocations: 99.28 kB / 0.7032 GB, free: 6.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1916, allocations: 4 kB / 0.7032 GB, free: 6.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1916, allocations: 3.984 kB / 0.7032 GB, free: 6.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.1917, allocations: 23.92 kB / 0.7032 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.1918, allocations: 7.984 kB / 0.7032 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004762/0.1922, allocations: 59.73 kB / 0.7033 GB, free: 6.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.443e-05/0.1923, allocations: 63.98 kB / 0.7034 GB, free: 6.25 MB / 0.545 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.0002207/0.1926, allocations: 192 kB / 0.7035 GB, free: 6.055 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.1926, allocations: 43.45 kB / 0.7036 GB, free: 6.012 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.611e-05/0.1927, allocations: 39.75 kB / 0.7036 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.1927, allocations: 4 kB / 0.7036 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1927, allocations: 0 / 0.7036 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.1927, allocations: 0 / 0.7036 GB, free: 5.973 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.1948, allocations: 0.7508 MB / 0.7044 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1949, allocations: 0 / 0.7044 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.1949, allocations: 11.94 kB / 0.7044 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1949, allocations: 0 / 0.7044 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.195, allocations: 23.97 kB / 0.7044 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.195, allocations: 4 kB / 0.7044 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.195, allocations: 0 / 0.7044 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.1968, allocations: 478.8 kB / 0.7048 GB, free: 4.645 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.197, allocations: 200.4 kB / 0.705 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.951e-05/0.1971, allocations: 12 kB / 0.7051 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004672/0.1976, allocations: 31.95 kB / 0.7051 GB, free: 4.387 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/0.1976, allocations: 8 kB / 0.7051 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.641e-05/0.1977, allocations: 55.97 kB / 0.7051 GB, free: 4.324 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003108/0.198, allocations: 295.1 kB / 0.7054 GB, free: 4.039 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.893e-06/0.198, allocations: 0 / 0.7054 GB, free: 4.039 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003481/0.1984, allocations: 71.92 kB / 0.7055 GB, free: 3.969 MB / 0.545 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.0001493/0.1985, allocations: 116.3 kB / 0.7056 GB, free: 3.844 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.1998, allocations: 438.5 kB / 0.706 GB, free: 3.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1998, allocations: 4.312 kB / 0.706 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007736/0.2006, allocations: 134.5 kB / 0.7062 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.2009, allocations: 30.17 kB / 0.7062 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.2024, allocations: 0.5998 MB / 0.7068 GB, free: 2.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.2028, allocations: 0.7747 MB / 0.7075 GB, free: 1.801 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.2029, allocations: 15.42 kB / 0.7075 GB, free: 1.785 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.2029, allocations: 0 / 0.7075 GB, free: 1.785 MB / 0.545 GB Notification: Performance of Templates: time 0.2388/0.4417, allocations: 3.678 MB / 0.7111 GB, free: 48.82 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)