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.001031/0.001031, allocations: 106.5 kB / 16.35 MB, free: 5.879 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.001049/0.001049, allocations: 193.2 kB / 17.29 MB, free: 5.516 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.314/1.314, allocations: 205.1 MB / 223.2 MB, free: 12.11 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.765/1.765, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001328/0.001328, allocations: 67.91 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2204, allocations: 114.5 MB / 0.7848 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002822/0.2233, allocations: 1.492 MB / 0.7862 GB, free: 1.707 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008921/0.2242, allocations: 434.2 kB / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.2243, allocations: 0 / 0.7866 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001008/0.2244, allocations: 3.938 kB / 0.7866 GB, free: 1.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.2245, allocations: 24.23 kB / 0.7867 GB, free: 1.254 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006687/0.2252, allocations: 251.2 kB / 0.7869 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003428/0.2255, allocations: 323.5 kB / 0.7872 GB, free: 0.6953 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.2256, allocations: 11.98 kB / 0.7872 GB, free: 0.6836 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002498/0.2258, allocations: 203.6 kB / 0.7874 GB, free: 496 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002172/0.2261, allocations: 116 kB / 0.7875 GB, free: 380 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.2262, allocations: 20 kB / 0.7875 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.313e-05/0.2262, allocations: 20 kB / 0.7876 GB, free: 340 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2264, allocations: 79.77 kB / 0.7876 GB, free: 260 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.2265, allocations: 131.3 kB / 0.7878 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3682/0.5947, allocations: 291.4 kB / 0.788 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5948, allocations: 0 / 0.788 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5948, allocations: 0 / 0.788 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.284e-05/0.5948, allocations: 0 / 0.788 GB, free: 47.26 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.0009843/0.5958, allocations: 0.7422 MB / 0.7888 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.5958, allocations: 8.656 kB / 0.7888 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.336e-05/0.5959, allocations: 30.25 kB / 0.7888 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.5962, allocations: 262.2 kB / 0.789 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.5963, allocations: 15.08 kB / 0.7891 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.5963, allocations: 20.34 kB / 0.7891 GB, free: 46.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.5972, allocations: 200.5 kB / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5973, allocations: 0 / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.5973, allocations: 9.453 kB / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5973, allocations: 0 / 0.7893 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006858/0.598, allocations: 95.73 kB / 0.7894 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002765/0.5983, allocations: 324 kB / 0.7897 GB, free: 46.19 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009494/0.5992, allocations: 169.6 kB / 0.7898 GB, free: 46.17 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.5999, allocations: 107.5 kB / 0.7899 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.814e-05/0.6, allocations: 3.75 kB / 0.79 GB, free: 46.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008969/0.6009, allocations: 215.2 kB / 0.7902 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.6009, allocations: 1.75 kB / 0.7902 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002325/0.6032, allocations: 453.8 kB / 0.7906 GB, free: 46.06 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.6032, allocations: 56.53 kB / 0.7906 GB, free: 46 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.6035, allocations: 295.7 kB / 0.7909 GB, free: 45.89 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.468e-05/0.6036, allocations: 37.2 kB / 0.791 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.6036, allocations: 93.08 kB / 0.7911 GB, free: 45.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.364e-05/0.6037, allocations: 36.14 kB / 0.7911 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.6038, allocations: 102.7 kB / 0.7912 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.668e-05/0.6039, allocations: 325.1 kB / 0.7915 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.6041, allocations: 79.41 kB / 0.7916 GB, free: 45.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001924/0.6043, allocations: 135 kB / 0.7917 GB, free: 45.36 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002801/0.6046, allocations: 239.2 kB / 0.7919 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.6046, allocations: 0 / 0.7919 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005717/0.6052, allocations: 389.1 kB / 0.7923 GB, free: 45.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.621e-05/0.6052, allocations: 79 kB / 0.7924 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6053, allocations: 0.6562 kB / 0.7924 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.6053, allocations: 6.531 kB / 0.7924 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.6055, allocations: 26.8 kB / 0.7924 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.6055, allocations: 3.969 kB / 0.7924 GB, free: 45.08 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004352/0.6059, allocations: 60.19 kB / 0.7925 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/0.606, allocations: 41.12 kB / 0.7925 GB, free: 45.07 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.0001638/0.6062, allocations: 165.4 kB / 0.7927 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.6062, allocations: 33 kB / 0.7927 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.6063, allocations: 28.95 kB / 0.7927 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.6063, allocations: 0.5 kB / 0.7927 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6063, allocations: 0.7188 kB / 0.7927 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.6063, allocations: 9.156 kB / 0.7927 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001953/0.6083, allocations: 0.6923 MB / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6083, allocations: 1.969 kB / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.6083, allocations: 6.812 kB / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.6083, allocations: 3.906 kB / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.6084, allocations: 15.17 kB / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.6084, allocations: 3.5 kB / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.6084, allocations: 0 / 0.7934 GB, free: 44.62 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/0.6099, allocations: 450.9 kB / 0.7939 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.6101, allocations: 162.7 kB / 0.794 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.6102, allocations: 7.312 kB / 0.794 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004289/0.6106, allocations: 34.36 kB / 0.7941 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.6106, allocations: 7.766 kB / 0.7941 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.406e-05/0.6107, allocations: 46.89 kB / 0.7941 GB, free: 44.37 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001478/0.6108, allocations: 208.8 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6108, allocations: 3.562 kB / 0.7943 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003482/0.6112, allocations: 48.44 kB / 0.7944 GB, free: 44.29 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.0001279/0.6113, allocations: 117.3 kB / 0.7945 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.6125, allocations: 389.8 kB / 0.7948 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.6125, allocations: 0 / 0.7948 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.6132, allocations: 115.2 kB / 0.795 GB, free: 44.07 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.6136, allocations: 28.47 kB / 0.795 GB, free: 44.06 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.6148, allocations: 426 kB / 0.7954 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.615, allocations: 0.7403 MB / 0.7961 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 6.239e-05/0.6151, allocations: 15.36 kB / 0.7961 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.255e-05/0.6152, allocations: 14.19 kB / 0.7961 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of SimCode: time 6.22e-07/0.6152, allocations: 0 / 0.7961 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of Templates: time 0.007584/0.6228, allocations: 3.635 MB / 0.7997 GB, free: 42.92 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 gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)