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.00139/0.00139, allocations: 106.2 kB / 16.36 MB, free: 6.305 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.001539/0.001539, allocations: 189.2 kB / 17.29 MB, free: 5.875 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.39/1.39, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.847/1.847, allocations: 292.3 MB / 0.5496 GB, free: 17.38 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.001492/0.001493, allocations: 63.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2783, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002981/0.2814, allocations: 1.503 MB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009687/0.2824, allocations: 427.3 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.376e-05/0.2824, allocations: 0 / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2825, allocations: 7.875 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001039/0.2827, allocations: 24.23 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.2834, allocations: 250.6 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.2837, allocations: 323.5 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.028e-05/0.2838, allocations: 11.98 kB / 0.7872 GB, free: 0.6172 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002695/0.2841, allocations: 191.7 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002401/0.2843, allocations: 120 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.2844, allocations: 20 kB / 0.7876 GB, free: 300 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.961e-05/0.2844, allocations: 16 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.2846, allocations: 83.77 kB / 0.7876 GB, free: 200 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2847, allocations: 123.4 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.5168/0.8015, allocations: 295.4 kB / 0.788 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8015, allocations: 0 / 0.788 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8015, allocations: 0 / 0.788 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.8016, allocations: 0 / 0.788 GB, free: 46.93 MB / 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.001071/0.8027, allocations: 0.7426 MB / 0.7888 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.8027, allocations: 7.875 kB / 0.7888 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.8028, allocations: 34.11 kB / 0.7888 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.8031, allocations: 259.9 kB / 0.7891 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.175e-05/0.8032, allocations: 19.3 kB / 0.7891 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.8032, allocations: 15.09 kB / 0.7891 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009006/0.8041, allocations: 203.9 kB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.8042, allocations: 3.719 kB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.8042, allocations: 7.141 kB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.8042, allocations: 2.625 kB / 0.7893 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.8049, allocations: 94.41 kB / 0.7894 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003592/0.8053, allocations: 319.4 kB / 0.7897 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008973/0.8062, allocations: 172.7 kB / 0.7899 GB, free: 45.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006474/0.8068, allocations: 110.9 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.624e-05/0.8069, allocations: 6.562 kB / 0.79 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008751/0.8077, allocations: 209.7 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 3.196e-06/0.8078, allocations: 2.719 kB / 0.7902 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002225/0.81, allocations: 449.4 kB / 0.7906 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.81, allocations: 59.89 kB / 0.7907 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000291/0.8103, allocations: 292.5 kB / 0.7909 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.748e-05/0.8104, allocations: 41.45 kB / 0.791 GB, free: 45.52 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.8105, allocations: 87.31 kB / 0.7911 GB, free: 45.44 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.8105, allocations: 38.27 kB / 0.7911 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.8107, allocations: 100 kB / 0.7912 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.8109, allocations: 327.2 kB / 0.7915 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.8111, allocations: 81.03 kB / 0.7916 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.8113, allocations: 136.4 kB / 0.7917 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.8117, allocations: 240.6 kB / 0.7919 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.8117, allocations: 2.625 kB / 0.7919 GB, free: 44.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006192/0.8123, allocations: 390.2 kB / 0.7923 GB, free: 44.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.373e-05/0.8124, allocations: 76.23 kB / 0.7924 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.8124, allocations: 0 / 0.7924 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.45e-05/0.8124, allocations: 3.438 kB / 0.7924 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.8126, allocations: 27.7 kB / 0.7924 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.8126, allocations: 0.5938 kB / 0.7924 GB, free: 44.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.8131, allocations: 57.81 kB / 0.7925 GB, free: 44.73 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.8132, allocations: 43.78 kB / 0.7925 GB, free: 44.73 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.0001924/0.8134, allocations: 166.6 kB / 0.7927 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.8134, allocations: 31.16 kB / 0.7927 GB, free: 44.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.9e-05/0.8135, allocations: 27.2 kB / 0.7927 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.8135, allocations: 0.8438 kB / 0.7927 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.8135, allocations: 0 / 0.7927 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.8135, allocations: 5.141 kB / 0.7927 GB, free: 44.6 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.8155, allocations: 0.6923 MB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.8155, allocations: 2.094 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.8155, allocations: 6.656 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.8155, allocations: 7.125 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.8156, allocations: 23.36 kB / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.8156, allocations: 0 / 0.7934 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.8156, allocations: 3.688 kB / 0.7935 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001443/0.817, allocations: 457.1 kB / 0.7939 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.8172, allocations: 158.9 kB / 0.794 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.827e-05/0.8173, allocations: 10.59 kB / 0.794 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.8177, allocations: 35.05 kB / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.8177, allocations: 6.75 kB / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.8178, allocations: 41.81 kB / 0.7941 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001701/0.818, allocations: 206 kB / 0.7943 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.31e-07/0.818, allocations: 1.281 kB / 0.7943 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003134/0.8183, allocations: 56.28 kB / 0.7944 GB, free: 43.95 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 0.0001327/0.8184, allocations: 118.1 kB / 0.7945 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.8195, allocations: 378.2 kB / 0.7949 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.8195, allocations: 0 / 0.7949 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/0.8202, allocations: 128.3 kB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.8205, allocations: 19.38 kB / 0.795 GB, free: 43.73 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.8217, allocations: 458.2 kB / 0.7954 GB, free: 43.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.822, allocations: 0.7404 MB / 0.7962 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.694e-05/0.822, allocations: 18.12 kB / 0.7962 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.822, allocations: 4.094 kB / 0.7962 GB, free: 42.81 MB / 0.6544 GB Notification: Performance of Templates: time 0.005405/0.8274, allocations: 2.827 MB / 0.7989 GB, free: 42.62 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)