Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001494/0.001494, allocations: 105.4 kB / 15.7 MB, free: 24 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.001717/0.001717, allocations: 199.1 kB / 16.64 MB, free: 6.453 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.328/1.328, allocations: 205.1 MB / 222.5 MB, free: 4.559 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.678/1.678, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.00148/0.00148, allocations: 69.2 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.196, allocations: 114.5 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00258/0.1986, allocations: 1.494 MB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008794/0.1995, allocations: 419.3 kB / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.1995, allocations: 0 / 0.786 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.649e-05/0.1997, allocations: 11.86 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.288e-05/0.1998, allocations: 24.23 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006683/0.2004, allocations: 250.5 kB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000345/0.2008, allocations: 331.5 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.2008, allocations: 4 kB / 0.7866 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.2011, allocations: 203.6 kB / 0.7868 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002386/0.2014, allocations: 116 kB / 0.7869 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.2014, allocations: 20 kB / 0.7869 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.813e-05/0.2015, allocations: 19.94 kB / 0.7869 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.319e-05/0.2016, allocations: 87.72 kB / 0.787 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.2017, allocations: 123.4 kB / 0.7871 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.202, allocations: 295.1 kB / 0.7874 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.202, allocations: 0 / 0.7874 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.202, allocations: 0 / 0.7874 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.165e-05/0.2021, allocations: 0 / 0.7874 GB, free: 9.402 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.2031, allocations: 0.7422 MB / 0.7881 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2031, allocations: 8.031 kB / 0.7881 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.985e-05/0.2032, allocations: 32.66 kB / 0.7882 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002798/0.2035, allocations: 267.5 kB / 0.7884 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.778e-05/0.2035, allocations: 16.38 kB / 0.7884 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.181e-05/0.2036, allocations: 23.92 kB / 0.7884 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000861/0.2045, allocations: 197.5 kB / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.2045, allocations: 0 / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.2045, allocations: 0 / 0.7886 GB, free: 8 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.2045, allocations: 4 kB / 0.7886 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.2052, allocations: 99.92 kB / 0.7887 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003157/0.2055, allocations: 321.2 kB / 0.789 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009007/0.2064, allocations: 178.2 kB / 0.7892 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/0.2071, allocations: 108.8 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2071, allocations: 4 kB / 0.7893 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007938/0.2079, allocations: 207.2 kB / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.2079, allocations: 0 / 0.7895 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002169/0.2101, allocations: 453 kB / 0.7899 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.143e-05/0.2101, allocations: 59.41 kB / 0.79 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.2104, allocations: 290.9 kB / 0.7903 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/0.2105, allocations: 41.69 kB / 0.7903 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.2105, allocations: 89.12 kB / 0.7904 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.2106, allocations: 43.48 kB / 0.7904 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.2107, allocations: 97.48 kB / 0.7905 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.456e-05/0.2108, allocations: 326.8 kB / 0.7909 GB, free: 5.594 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/0.211, allocations: 75.95 kB / 0.7909 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.2112, allocations: 138.6 kB / 0.7911 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/0.2115, allocations: 240 kB / 0.7913 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2115, allocations: 3.938 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006154/0.2122, allocations: 392.7 kB / 0.7917 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.039e-05/0.2122, allocations: 75.39 kB / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2123, allocations: 0 / 0.7917 GB, free: 4.605 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2123, allocations: 4 kB / 0.7917 GB, free: 4.602 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.2124, allocations: 23.92 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.2125, allocations: 3.984 kB / 0.7918 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.2129, allocations: 55.81 kB / 0.7918 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.213, allocations: 44.05 kB / 0.7919 GB, free: 4.477 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.0001994/0.2132, allocations: 183.8 kB / 0.792 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.632e-05/0.2132, allocations: 23.72 kB / 0.7921 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.2133, allocations: 26.3 kB / 0.7921 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.2133, allocations: 4 kB / 0.7921 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.2133, allocations: 3.938 kB / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2133, allocations: 0 / 0.7921 GB, free: 4.234 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00194/0.2153, allocations: 0.6935 MB / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2153, allocations: 0 / 0.7928 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.2153, allocations: 4 kB / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2153, allocations: 0 / 0.7928 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.015e-05/0.2154, allocations: 19.97 kB / 0.7928 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2154, allocations: 4 kB / 0.7928 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.2154, allocations: 4 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.217, allocations: 450.2 kB / 0.7932 GB, free: 2.996 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/0.2171, allocations: 160.6 kB / 0.7934 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.204e-05/0.2172, allocations: 12 kB / 0.7934 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.2176, allocations: 31.95 kB / 0.7934 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.579e-05/0.2177, allocations: 8 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.2177, allocations: 51.91 kB / 0.7935 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001754/0.2179, allocations: 209.9 kB / 0.7937 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2179, allocations: 0 / 0.7937 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002994/0.2182, allocations: 52 kB / 0.7937 GB, free: 2.465 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.0001409/0.2184, allocations: 117.6 kB / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001019/0.2194, allocations: 375 kB / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2194, allocations: 384 / 0.7942 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006689/0.2201, allocations: 119.8 kB / 0.7943 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.2204, allocations: 30.91 kB / 0.7943 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2216, allocations: 436.6 kB / 0.7948 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.2218, allocations: 0.7396 MB / 0.7955 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.2219, allocations: 17.08 kB / 0.7955 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.572e-05/0.2219, allocations: 11.44 kB / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of SimCode: time 1.493e-06/0.2219, allocations: 0 / 0.7955 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of Templates: time 0.006488/0.2284, allocations: 3.628 MB / 0.7991 GB, free: 12.96 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)