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.001001/0.001001, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.000981/0.0009809, allocations: 184 kB / 17.22 MB, free: 5.934 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.174/1.174, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.615/1.615, allocations: 292.3 MB / 0.5495 GB, free: 17.59 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.001264/0.001264, allocations: 71.89 kB / 0.6722 GB, free: 6.508 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1744, allocations: 114.6 MB / 0.7841 GB, free: 3.84 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002243/0.1766, allocations: 1.492 MB / 0.7855 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.1776, allocations: 421.9 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.063e-05/0.1777, allocations: 3.938 kB / 0.7859 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.1778, allocations: 7.875 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.944e-05/0.1779, allocations: 28.22 kB / 0.786 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006375/0.1785, allocations: 250.4 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003381/0.1789, allocations: 323.5 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.1789, allocations: 7.938 kB / 0.7865 GB, free: 1.312 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002361/0.1792, allocations: 191.8 kB / 0.7867 GB, free: 1.125 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.1794, allocations: 124 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.1795, allocations: 20 kB / 0.7868 GB, free: 0.9844 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.318e-05/0.1795, allocations: 16 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-05/0.1796, allocations: 83.77 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1798, allocations: 123.4 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002571/0.18, allocations: 299.2 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.18, allocations: 0 / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1801, allocations: 0 / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.1801, allocations: 0 / 0.7873 GB, free: 484 kB / 0.6544 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.2975/0.4776, allocations: 0.7396 MB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.4776, allocations: 7.875 kB / 0.7881 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.074e-05/0.4777, allocations: 35.2 kB / 0.7881 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4779, allocations: 259.2 kB / 0.7883 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.478, allocations: 18.94 kB / 0.7884 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.478, allocations: 18.3 kB / 0.7884 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000747/0.4788, allocations: 197.1 kB / 0.7886 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4788, allocations: 0 / 0.7886 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.4788, allocations: 13.44 kB / 0.7886 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4788, allocations: 0 / 0.7886 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005671/0.4794, allocations: 98.59 kB / 0.7887 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.4797, allocations: 315.6 kB / 0.789 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/0.4804, allocations: 178.5 kB / 0.7891 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.481, allocations: 102.9 kB / 0.7892 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.481, allocations: 9.734 kB / 0.7893 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007184/0.4818, allocations: 212.2 kB / 0.7895 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.4818, allocations: 0 / 0.7895 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.001829/0.4836, allocations: 452.9 kB / 0.7899 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.4836, allocations: 59.78 kB / 0.7899 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/0.4838, allocations: 291.8 kB / 0.7902 GB, free: 48.06 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.4839, allocations: 42.83 kB / 0.7903 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.4839, allocations: 89.14 kB / 0.7904 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.484, allocations: 37.12 kB / 0.7904 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.4841, allocations: 99.75 kB / 0.7905 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.4841, allocations: 321 kB / 0.7908 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.4843, allocations: 82.47 kB / 0.7909 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.4844, allocations: 135.6 kB / 0.791 GB, free: 47.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.4847, allocations: 241.7 kB / 0.7912 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4847, allocations: 0.5 kB / 0.7912 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004719/0.4852, allocations: 393.9 kB / 0.7916 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.262e-05/0.4852, allocations: 74.53 kB / 0.7917 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4852, allocations: 0.6562 kB / 0.7917 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4852, allocations: 3.781 kB / 0.7917 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.4854, allocations: 28.33 kB / 0.7917 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.4854, allocations: 7.125 kB / 0.7917 GB, free: 47.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/0.4858, allocations: 59.33 kB / 0.7918 GB, free: 47.24 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.804e-05/0.4858, allocations: 37.17 kB / 0.7918 GB, free: 47.24 MB / 0.6544 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.0001177/0.4859, allocations: 168 kB / 0.792 GB, free: 47.12 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.413e-05/0.486, allocations: 27.38 kB / 0.792 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.486, allocations: 31.09 kB / 0.792 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.486, allocations: 3.469 kB / 0.792 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.486, allocations: 0.5 kB / 0.792 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.4861, allocations: 3.906 kB / 0.792 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.4876, allocations: 0.6927 MB / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4876, allocations: 0 / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.4876, allocations: 13.31 kB / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4877, allocations: 0 / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.908e-05/0.4877, allocations: 11.42 kB / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.4877, allocations: 3.375 kB / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4877, allocations: 0 / 0.7927 GB, free: 46.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.4889, allocations: 458 kB / 0.7932 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.4891, allocations: 158.9 kB / 0.7933 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.384e-05/0.4891, allocations: 16.83 kB / 0.7933 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.4895, allocations: 33.95 kB / 0.7934 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.4895, allocations: 12.95 kB / 0.7934 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.4896, allocations: 43.84 kB / 0.7934 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001218/0.4897, allocations: 207.7 kB / 0.7936 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4897, allocations: 0 / 0.7936 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002682/0.49, allocations: 52.31 kB / 0.7937 GB, free: 46.46 MB / 0.6544 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 9.689e-05/0.4901, allocations: 113.6 kB / 0.7938 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0008467/0.4909, allocations: 381.1 kB / 0.7941 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.491, allocations: 0 / 0.7941 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.4915, allocations: 122.6 kB / 0.7943 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4918, allocations: 36.08 kB / 0.7943 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009445/0.4928, allocations: 417.9 kB / 0.7947 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4929, allocations: 0.7454 MB / 0.7954 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.768e-05/0.493, allocations: 10.98 kB / 0.7954 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.493, allocations: 14.34 kB / 0.7954 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of SimCode: time 3e-07/0.493, allocations: 4 kB / 0.7954 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.005736/0.4988, allocations: 3.622 MB / 0.799 GB, free: 45.1 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)