Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 195.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 67.02 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.2079, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002545/0.2105, allocations: 1.494 MB / 0.7848 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009144/0.2115, allocations: 423.3 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.227e-05/0.2115, allocations: 4 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.375e-05/0.2116, allocations: 7.875 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.2117, allocations: 24.22 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006426/0.2124, allocations: 254.2 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.2127, allocations: 323.5 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.2128, allocations: 8 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000241/0.213, allocations: 195.8 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001863/0.2132, allocations: 108 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.2133, allocations: 20 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.703e-05/0.2134, allocations: 20 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2135, allocations: 83.77 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.2136, allocations: 119.4 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002799/0.2139, allocations: 299.3 kB / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2139, allocations: 0 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.322e-06/0.2139, allocations: 0 / 0.7866 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2139, allocations: 8 kB / 0.7866 GB, free: 10.14 MB / 0.6075 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.001003/0.2149, allocations: 0.7422 MB / 0.7873 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/0.215, allocations: 8.031 kB / 0.7874 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.907e-05/0.2151, allocations: 40.58 kB / 0.7874 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.2154, allocations: 259.6 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/0.2154, allocations: 12.38 kB / 0.7877 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.2155, allocations: 23.92 kB / 0.7877 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009664/0.2165, allocations: 205.4 kB / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.2165, allocations: 0 / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.2165, allocations: 0 / 0.7879 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.2165, allocations: 4 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000771/0.2173, allocations: 99.86 kB / 0.788 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.2176, allocations: 329.2 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.2187, allocations: 166.4 kB / 0.7884 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007594/0.2194, allocations: 112.8 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.2195, allocations: 4 kB / 0.7886 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000936/0.2204, allocations: 203.2 kB / 0.7888 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.406e-06/0.2204, allocations: 8 kB / 0.7888 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002491/0.2229, allocations: 449 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.223, allocations: 59.41 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.2232, allocations: 290.9 kB / 0.7895 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.853e-05/0.2233, allocations: 41.69 kB / 0.7896 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.455e-05/0.2234, allocations: 89.12 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.403e-05/0.2234, allocations: 39.55 kB / 0.7897 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.2236, allocations: 93.48 kB / 0.7898 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.2237, allocations: 326.8 kB / 0.7901 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2239, allocations: 83.94 kB / 0.7902 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002138/0.2241, allocations: 139 kB / 0.7903 GB, free: 6.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.2244, allocations: 244.1 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.2244, allocations: 3.938 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006285/0.2251, allocations: 396.5 kB / 0.7909 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.2251, allocations: 75.33 kB / 0.791 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2251, allocations: 4.188 kB / 0.791 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2252, allocations: 4 kB / 0.791 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2253, allocations: 27.97 kB / 0.791 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2253, allocations: 7.938 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.2258, allocations: 51.86 kB / 0.7911 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.48e-05/0.2259, allocations: 39.98 kB / 0.7911 GB, free: 5.191 MB / 0.6075 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.0001641/0.2261, allocations: 171.9 kB / 0.7913 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2261, allocations: 23.72 kB / 0.7913 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.038e-05/0.2262, allocations: 30.3 kB / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2262, allocations: 0 / 0.7913 GB, free: 4.965 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2262, allocations: 7.922 kB / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2262, allocations: 0 / 0.7913 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.2283, allocations: 0.7006 MB / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2283, allocations: 0 / 0.792 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.2284, allocations: 11.92 kB / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2284, allocations: 4 kB / 0.792 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.2284, allocations: 11.98 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.2284, allocations: 0 / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2284, allocations: 4 kB / 0.7921 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.2301, allocations: 442.9 kB / 0.7925 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/0.2303, allocations: 168.6 kB / 0.7926 GB, free: 3.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.2304, allocations: 15.98 kB / 0.7926 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.2309, allocations: 31.97 kB / 0.7927 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.2309, allocations: 7.984 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.231, allocations: 43.91 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001715/0.2311, allocations: 209.9 kB / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2312, allocations: 0 / 0.7929 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003382/0.2315, allocations: 51.98 kB / 0.793 GB, free: 3.188 MB / 0.6075 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.0001461/0.2316, allocations: 121.6 kB / 0.7931 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.2328, allocations: 378.5 kB / 0.7935 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2328, allocations: 4 kB / 0.7935 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007657/0.2336, allocations: 120.2 kB / 0.7936 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.234, allocations: 20.64 kB / 0.7936 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.2353, allocations: 445 kB / 0.794 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.2355, allocations: 0.7357 MB / 0.7947 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.996e-05/0.2356, allocations: 17.08 kB / 0.7948 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.2356, allocations: 15.44 kB / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.2356, allocations: 0 / 0.7948 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of Templates: time 0.006393/0.242, allocations: 3.652 MB / 0.7983 GB, free: 13.64 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)