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.001499/0.001498, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00136/0.00136, allocations: 189.7 kB / 16.25 MB, free: 6.629 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.346/1.346, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.612/1.612, allocations: 292.3 MB / 0.5485 GB, free: 13.64 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.001538/0.001538, allocations: 65.58 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2296, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003492/0.2332, allocations: 1.545 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.2344, allocations: 432.3 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.2346, allocations: 3.938 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001372/0.2347, allocations: 7.938 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.2349, allocations: 16.28 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008766/0.2358, allocations: 239.3 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.2363, allocations: 327.9 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.714e-05/0.2363, allocations: 8 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.2367, allocations: 234.3 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.237, allocations: 135.6 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.657e-05/0.2371, allocations: 20 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.992e-05/0.2371, allocations: 16 kB / 0.7857 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.2372, allocations: 87.75 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.2374, allocations: 131.3 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.2378, allocations: 307.3 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2378, allocations: 0 / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2378, allocations: 0 / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.036e-05/0.2378, allocations: 4 kB / 0.7862 GB, free: 10.43 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.001188/0.239, allocations: 0.7421 MB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.239, allocations: 12.03 kB / 0.787 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.2392, allocations: 27.72 kB / 0.787 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003164/0.2395, allocations: 262.2 kB / 0.7872 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.078e-05/0.2395, allocations: 12 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-05/0.2396, allocations: 23.98 kB / 0.7873 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009403/0.2405, allocations: 201.5 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2406, allocations: 3.938 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.2406, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.2406, allocations: 3.984 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007348/0.2414, allocations: 91.92 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.2417, allocations: 325.3 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.2427, allocations: 174.4 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.2434, allocations: 108.8 kB / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.2435, allocations: 0 / 0.7881 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009489/0.2444, allocations: 215.5 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.944e-06/0.2444, allocations: 4 kB / 0.7884 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002405/0.2468, allocations: 448.4 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.2469, allocations: 67.39 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.2473, allocations: 290.9 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.875e-05/0.2473, allocations: 37.7 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.764e-05/0.2474, allocations: 85.14 kB / 0.7892 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.2475, allocations: 39.53 kB / 0.7893 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001945/0.2477, allocations: 105.5 kB / 0.7894 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2479, allocations: 330.8 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/0.2481, allocations: 79.95 kB / 0.7898 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.2483, allocations: 138.5 kB / 0.7899 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003491/0.2487, allocations: 239.8 kB / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2487, allocations: 0 / 0.7901 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006448/0.2493, allocations: 392.6 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.121e-05/0.2494, allocations: 79.31 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.2495, allocations: 0 / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2495, allocations: 12.19 kB / 0.7906 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.2497, allocations: 27.92 kB / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.2497, allocations: 0 / 0.7906 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004773/0.2502, allocations: 55.86 kB / 0.7907 GB, free: 5.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.2502, allocations: 35.98 kB / 0.7907 GB, free: 5.504 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.0001897/0.2504, allocations: 179.9 kB / 0.7909 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.2505, allocations: 27.66 kB / 0.7909 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.2506, allocations: 30.28 kB / 0.7909 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.2506, allocations: 4 kB / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.2506, allocations: 0 / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.2506, allocations: 0 / 0.7909 GB, free: 5.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002065/0.2527, allocations: 0.6972 MB / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2527, allocations: 3.938 kB / 0.7916 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.573e-05/0.2527, allocations: 4 kB / 0.7916 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2527, allocations: 0 / 0.7916 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.2528, allocations: 15.97 kB / 0.7916 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2528, allocations: 4 kB / 0.7916 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.2528, allocations: 0 / 0.7916 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.2544, allocations: 450.8 kB / 0.7921 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.2547, allocations: 160.6 kB / 0.7922 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.2547, allocations: 16 kB / 0.7922 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.2552, allocations: 35.95 kB / 0.7923 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.239e-05/0.2553, allocations: 4 kB / 0.7923 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.285e-05/0.2553, allocations: 39.97 kB / 0.7923 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002022/0.2555, allocations: 209.9 kB / 0.7925 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2555, allocations: 0 / 0.7925 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003698/0.2559, allocations: 52 kB / 0.7926 GB, free: 3.496 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.0001769/0.2561, allocations: 115.2 kB / 0.7927 GB, free: 3.371 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001224/0.2573, allocations: 385.5 kB / 0.793 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2573, allocations: 0 / 0.793 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.2581, allocations: 128.2 kB / 0.7932 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.2585, allocations: 25.33 kB / 0.7932 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.2599, allocations: 0.5035 MB / 0.7937 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003074/0.2602, allocations: 0.7318 MB / 0.7944 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.942e-05/0.2602, allocations: 17.08 kB / 0.7944 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.434e-05/0.2603, allocations: 23.42 kB / 0.7944 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of SimCode: time 4.41e-07/0.2603, allocations: 0 / 0.7944 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.007281/0.2676, allocations: 3.727 MB / 0.7981 GB, free: 13.8 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)