Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 109.2 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.001058/0.001059, allocations: 194.6 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 4.52 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.705/1.705, allocations: 292.3 MB / 0.5496 GB, free: 12.74 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.00137/0.00137, allocations: 71.28 kB / 0.6729 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1933, allocations: 114.5 MB / 0.7848 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002606/0.196, allocations: 1.505 MB / 0.7862 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008846/0.1969, allocations: 427.3 kB / 0.7866 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.299e-05/0.1969, allocations: 0 / 0.7866 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.627e-05/0.197, allocations: 3.938 kB / 0.7866 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.509e-05/0.1971, allocations: 28.16 kB / 0.7867 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.1978, allocations: 250.6 kB / 0.7869 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003494/0.1981, allocations: 327.5 kB / 0.7872 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1982, allocations: 4 kB / 0.7872 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1985, allocations: 199.7 kB / 0.7874 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1987, allocations: 116 kB / 0.7875 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.228e-05/0.1988, allocations: 20 kB / 0.7875 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.103e-05/0.1988, allocations: 20 kB / 0.7876 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1989, allocations: 79.77 kB / 0.7876 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1991, allocations: 123.4 kB / 0.7877 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1994, allocations: 295 kB / 0.788 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1994, allocations: 0 / 0.788 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1994, allocations: 0 / 0.788 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1994, allocations: 4 kB / 0.788 GB, free: 9.379 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.001021/0.2004, allocations: 0.7446 MB / 0.7888 GB, free: 8.551 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.2005, allocations: 8.031 kB / 0.7888 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.2006, allocations: 36.64 kB / 0.7888 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/0.2009, allocations: 259.6 kB / 0.7891 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/0.2009, allocations: 16.36 kB / 0.7891 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001491/0.2011, allocations: 19.94 kB / 0.7891 GB, free: 8.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009274/0.202, allocations: 205.4 kB / 0.7893 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.202, allocations: 0 / 0.7893 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.71e-05/0.2021, allocations: 3.984 kB / 0.7893 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.2021, allocations: 4 kB / 0.7893 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007374/0.2028, allocations: 91.92 kB / 0.7894 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.2031, allocations: 321.3 kB / 0.7897 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000988/0.2041, allocations: 182.2 kB / 0.7899 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.2049, allocations: 108.8 kB / 0.79 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2049, allocations: 7.984 kB / 0.79 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008834/0.2058, allocations: 207.2 kB / 0.7902 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.2058, allocations: 4 kB / 0.7902 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002351/0.2082, allocations: 452.2 kB / 0.7906 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.2082, allocations: 59.39 kB / 0.7907 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002616/0.2085, allocations: 294.9 kB / 0.7909 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.62e-05/0.2086, allocations: 33.7 kB / 0.791 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.952e-05/0.2086, allocations: 93.12 kB / 0.7911 GB, free: 6.035 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.2087, allocations: 35.56 kB / 0.7911 GB, free: 6 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.2088, allocations: 93.48 kB / 0.7912 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.2089, allocations: 322.8 kB / 0.7915 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.2091, allocations: 87.94 kB / 0.7916 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.2093, allocations: 138.6 kB / 0.7917 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003048/0.2097, allocations: 237.2 kB / 0.7919 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.2097, allocations: 7.938 kB / 0.7919 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006179/0.2103, allocations: 391.5 kB / 0.7923 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.57e-05/0.2104, allocations: 79.38 kB / 0.7924 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2104, allocations: 4.188 kB / 0.7924 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2104, allocations: 4 kB / 0.7924 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.2106, allocations: 23.92 kB / 0.7924 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.2106, allocations: 4 kB / 0.7924 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.211, allocations: 51.86 kB / 0.7925 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.2111, allocations: 35.98 kB / 0.7925 GB, free: 4.453 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.000169/0.2113, allocations: 179.9 kB / 0.7927 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.668e-05/0.2113, allocations: 27.7 kB / 0.7927 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.951e-05/0.2114, allocations: 30.3 kB / 0.7927 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2114, allocations: 4 kB / 0.7927 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2114, allocations: 0 / 0.7927 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2114, allocations: 0 / 0.7927 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001997/0.2134, allocations: 0.6896 MB / 0.7934 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2134, allocations: 0 / 0.7934 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.2135, allocations: 7.984 kB / 0.7934 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2135, allocations: 0 / 0.7934 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.2135, allocations: 11.98 kB / 0.7934 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.2135, allocations: 7.984 kB / 0.7934 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2135, allocations: 3.938 kB / 0.7934 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/0.2151, allocations: 443.4 kB / 0.7939 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.2154, allocations: 168.6 kB / 0.794 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.2e-05/0.2154, allocations: 12 kB / 0.794 GB, free: 2.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004525/0.2159, allocations: 35.97 kB / 0.7941 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.512e-05/0.2159, allocations: 11.92 kB / 0.7941 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.216, allocations: 47.91 kB / 0.7941 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001778/0.2162, allocations: 209.9 kB / 0.7943 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2162, allocations: 0 / 0.7943 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003229/0.2165, allocations: 48 kB / 0.7944 GB, free: 2.441 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.0001548/0.2167, allocations: 119.2 kB / 0.7945 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.2178, allocations: 381.2 kB / 0.7949 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2178, allocations: 0 / 0.7949 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000729/0.2185, allocations: 116.2 kB / 0.795 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.2189, allocations: 23.3 kB / 0.795 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2201, allocations: 437 kB / 0.7954 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002728/0.2204, allocations: 0.7396 MB / 0.7961 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.861e-05/0.2205, allocations: 17.08 kB / 0.7961 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2205, allocations: 11.44 kB / 0.7962 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.2205, allocations: 4 kB / 0.7962 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of Templates: time 0.006487/0.227, allocations: 3.62 MB / 0.7997 GB, free: 12.94 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)