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.0007868/0.0007868, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004864/0.004864, allocations: 170.6 kB / 16.27 MB, free: 6.66 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.332/1.332, allocations: 205.4 MB / 222.5 MB, free: 5.793 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.64/1.64, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005078/0.0005079, allocations: 20.83 kB / 0.6743 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1949/0.1955, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001588/0.1971, allocations: 1.21 MB / 0.7891 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008771/0.198, allocations: 448.4 kB / 0.7895 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.198, allocations: 3.938 kB / 0.7895 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.147e-05/0.1981, allocations: 3.938 kB / 0.7895 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.844e-05/0.1982, allocations: 24.22 kB / 0.7895 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000565/0.1988, allocations: 231.3 kB / 0.7897 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.1991, allocations: 303.8 kB / 0.79 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.23e-05/0.1991, allocations: 4 kB / 0.79 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002846/0.1994, allocations: 210.3 kB / 0.7902 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.1996, allocations: 127.6 kB / 0.7903 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.1997, allocations: 8 kB / 0.7904 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.668e-05/0.1997, allocations: 12 kB / 0.7904 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.1998, allocations: 71.78 kB / 0.7904 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.2, allocations: 153 kB / 0.7906 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.2003, allocations: 291.2 kB / 0.7909 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2003, allocations: 0 / 0.7909 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2003, allocations: 0 / 0.7909 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.2003, allocations: 0 / 0.7909 GB, free: 8.527 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.0008539/0.2012, allocations: 0.6642 MB / 0.7915 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.2012, allocations: 8.031 kB / 0.7915 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.335e-05/0.2013, allocations: 31.72 kB / 0.7915 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002623/0.2016, allocations: 266.2 kB / 0.7918 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.2016, allocations: 16 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.443e-05/0.2017, allocations: 23.98 kB / 0.7918 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/0.2026, allocations: 205.5 kB / 0.792 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2027, allocations: 7.938 kB / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.2027, allocations: 0 / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2027, allocations: 0 / 0.792 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007408/0.2034, allocations: 111.8 kB / 0.7921 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003426/0.2038, allocations: 321.4 kB / 0.7925 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001002/0.2048, allocations: 190.5 kB / 0.7926 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.2056, allocations: 113.2 kB / 0.7927 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.2056, allocations: 8 kB / 0.7927 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008677/0.2065, allocations: 223.1 kB / 0.793 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.815e-06/0.2065, allocations: 4 kB / 0.793 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002499/0.209, allocations: 488.1 kB / 0.7934 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.209, allocations: 59.41 kB / 0.7935 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.2093, allocations: 291 kB / 0.7938 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/0.2094, allocations: 41.7 kB / 0.7938 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.333e-05/0.2094, allocations: 89.14 kB / 0.7939 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.2095, allocations: 39.45 kB / 0.7939 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.882e-05/0.2096, allocations: 33.7 kB / 0.794 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2097, allocations: 326.8 kB / 0.7943 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.2099, allocations: 83.88 kB / 0.7944 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2101, allocations: 150.5 kB / 0.7945 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.2104, allocations: 235.9 kB / 0.7947 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2104, allocations: 0 / 0.7947 GB, free: 4.258 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006278/0.2111, allocations: 396.6 kB / 0.7951 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.84e-05/0.2112, allocations: 75.33 kB / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.2112, allocations: 0 / 0.7952 GB, free: 3.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.2112, allocations: 8.172 kB / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.2114, allocations: 23.98 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.2115, allocations: 7.938 kB / 0.7952 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.212, allocations: 59.8 kB / 0.7953 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.568e-05/0.212, allocations: 43.98 kB / 0.7953 GB, free: 3.625 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.0002375/0.2123, allocations: 168 kB / 0.7955 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.2123, allocations: 31.64 kB / 0.7955 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.083e-05/0.2124, allocations: 26.31 kB / 0.7955 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.2124, allocations: 3.984 kB / 0.7955 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2124, allocations: 7.922 kB / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2124, allocations: 0 / 0.7955 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002182/0.2146, allocations: 0.709 MB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.2146, allocations: 0 / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.2147, allocations: 19.86 kB / 0.7962 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2147, allocations: 4 kB / 0.7963 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.2147, allocations: 11.98 kB / 0.7963 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.2147, allocations: 3.984 kB / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2147, allocations: 0 / 0.7963 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.2165, allocations: 477.8 kB / 0.7967 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001568/0.2167, allocations: 164.7 kB / 0.7969 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.2168, allocations: 8 kB / 0.7969 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004631/0.2172, allocations: 31.97 kB / 0.7969 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.2173, allocations: 15.98 kB / 0.7969 GB, free: 1.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.2173, allocations: 43.97 kB / 0.797 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2175, allocations: 205.9 kB / 0.7972 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2175, allocations: 0 / 0.7972 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003129/0.2179, allocations: 51.98 kB / 0.7972 GB, free: 1.57 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.0001502/0.218, allocations: 115.2 kB / 0.7973 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.2192, allocations: 386.6 kB / 0.7977 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2192, allocations: 0 / 0.7977 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.22, allocations: 132.2 kB / 0.7978 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.2203, allocations: 28.58 kB / 0.7979 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.2217, allocations: 0.5106 MB / 0.7983 GB, free: 356 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005083/0.2222, allocations: 0.7399 MB / 0.7991 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.56e-05/0.2222, allocations: 13.02 kB / 0.7991 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.2223, allocations: 23.36 kB / 0.7991 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of SimCode: time 4.7e-07/0.2223, allocations: 4 kB / 0.7991 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.006582/0.2289, allocations: 3.567 MB / 0.8026 GB, free: 12 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: