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.001433/0.001433, allocations: 104 kB / 16.36 MB, free: 6.301 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.001648/0.001648, allocations: 192.1 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.525/1.525, 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.758/1.758, allocations: 292.3 MB / 0.5496 GB, free: 17.44 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.001462/0.001462, allocations: 63.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2217, allocations: 114.6 MB / 0.7848 GB, free: 3.148 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002929/0.2247, allocations: 1.487 MB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009573/0.2257, allocations: 427.3 kB / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.2257, allocations: 0 / 0.7866 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2259, allocations: 7.875 kB / 0.7866 GB, free: 1.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.226, allocations: 32.22 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007155/0.2267, allocations: 245.7 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003838/0.2271, allocations: 327.5 kB / 0.7872 GB, free: 0.6289 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.2272, allocations: 15.92 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002652/0.2274, allocations: 187.8 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002306/0.2277, allocations: 120 kB / 0.7875 GB, free: 320 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.111e-05/0.2277, allocations: 16 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.2278, allocations: 20 kB / 0.7876 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2279, allocations: 87.77 kB / 0.7876 GB, free: 196 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001327/0.228, allocations: 119.4 kB / 0.7878 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3707/0.5988, allocations: 296.8 kB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.5989, allocations: 0.5625 kB / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5989, allocations: 0 / 0.788 GB, free: 47.09 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.416e-05/0.5989, allocations: 0 / 0.788 GB, free: 47.09 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.001395/0.6003, allocations: 0.7411 MB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.6004, allocations: 11.25 kB / 0.7888 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001409/0.6005, allocations: 32.84 kB / 0.7888 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.6008, allocations: 260.9 kB / 0.7891 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.6009, allocations: 13.66 kB / 0.7891 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.32e-05/0.601, allocations: 19.78 kB / 0.7891 GB, free: 46.24 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008894/0.6019, allocations: 203.1 kB / 0.7893 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.6019, allocations: 1.031 kB / 0.7893 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.812e-05/0.6019, allocations: 7.422 kB / 0.7893 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.6019, allocations: 3.719 kB / 0.7893 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006639/0.6026, allocations: 96.36 kB / 0.7894 GB, free: 46.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003833/0.603, allocations: 319.5 kB / 0.7897 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.604, allocations: 173.1 kB / 0.7899 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006719/0.6046, allocations: 104.1 kB / 0.79 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.6047, allocations: 10.12 kB / 0.79 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009321/0.6056, allocations: 212.7 kB / 0.7902 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 3.226e-06/0.6056, allocations: 0 / 0.7902 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002319/0.608, allocations: 449.5 kB / 0.7906 GB, free: 45.88 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.608, allocations: 58.38 kB / 0.7907 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.6083, allocations: 291.7 kB / 0.7909 GB, free: 45.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5e-05/0.6084, allocations: 40.8 kB / 0.791 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.6085, allocations: 90.09 kB / 0.7911 GB, free: 45.6 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.908e-05/0.6085, allocations: 41.95 kB / 0.7911 GB, free: 45.58 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.6087, allocations: 99.98 kB / 0.7912 GB, free: 45.55 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.6088, allocations: 324.2 kB / 0.7915 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/0.6089, allocations: 82.17 kB / 0.7916 GB, free: 45.24 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001832/0.6091, allocations: 133.5 kB / 0.7917 GB, free: 45.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.6094, allocations: 243.3 kB / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.6094, allocations: 0 / 0.7919 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005468/0.61, allocations: 391.9 kB / 0.7923 GB, free: 44.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/0.61, allocations: 79.91 kB / 0.7924 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6101, allocations: 0 / 0.7924 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.6101, allocations: 3.969 kB / 0.7924 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.6103, allocations: 22.44 kB / 0.7924 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6103, allocations: 7.094 kB / 0.7924 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.6107, allocations: 55.5 kB / 0.7925 GB, free: 44.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.6108, allocations: 43.23 kB / 0.7925 GB, free: 44.89 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.0001725/0.6109, allocations: 166.4 kB / 0.7927 GB, free: 44.78 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.611, allocations: 34.03 kB / 0.7927 GB, free: 44.76 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.6111, allocations: 31.09 kB / 0.7927 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6111, allocations: 0 / 0.7927 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6111, allocations: 0.5625 kB / 0.7927 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.6111, allocations: 0 / 0.7927 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001819/0.6129, allocations: 0.6972 MB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6129, allocations: 0 / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.613, allocations: 5.781 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.613, allocations: 0 / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.613, allocations: 21.06 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.613, allocations: 0 / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.613, allocations: 2.625 kB / 0.7934 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.6145, allocations: 454.6 kB / 0.7939 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001663/0.6146, allocations: 158.2 kB / 0.794 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.6147, allocations: 12.36 kB / 0.794 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004105/0.6151, allocations: 33.67 kB / 0.7941 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.6152, allocations: 8.703 kB / 0.7941 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.767e-05/0.6152, allocations: 41.36 kB / 0.7941 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001843/0.6154, allocations: 213.2 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6154, allocations: 3.562 kB / 0.7943 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003434/0.6158, allocations: 51.81 kB / 0.7944 GB, free: 44.11 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.0001379/0.6159, allocations: 119.9 kB / 0.7945 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.617, allocations: 380.2 kB / 0.7949 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.617, allocations: 3 kB / 0.7949 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006619/0.6177, allocations: 113.4 kB / 0.795 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.6181, allocations: 22.75 kB / 0.795 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.6194, allocations: 467.4 kB / 0.7954 GB, free: 43.67 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002319/0.6197, allocations: 0.7385 MB / 0.7962 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.6197, allocations: 17.78 kB / 0.7962 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of SimCode: time 9.22e-07/0.6197, allocations: 0 / 0.7962 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of Templates: time 0.006272/0.626, allocations: 2.826 MB / 0.7989 GB, free: 42.78 MB / 0.6544 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)