Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.496/2.496, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001545/0.001545, allocations: 183.8 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.404/2.404, allocations: 205.4 MB / 0.5764 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 91.53 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001132, allocations: 14.88 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.238, allocations: 106.3 MB / 0.8988 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.4701, allocations: 133.3 MB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.4704, allocations: 71.95 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02299/0.4934, allocations: 4.453 MB / 1.033 GB, free: 7.477 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.545e-06/0.4935, allocations: 4 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.946e-05/0.4935, allocations: 4 kB / 1.033 GB, free: 7.469 MB / 0.6823 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.001379/0.4949, allocations: 0.622 MB / 1.034 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.495, allocations: 12.03 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.21e-05/0.4951, allocations: 38.55 kB / 1.034 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.4952, allocations: 35.62 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/0.4957, allocations: 258.5 kB / 1.034 GB, free: 6.391 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.4957, allocations: 4 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.4958, allocations: 23.98 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004392/0.4963, allocations: 141.5 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4963, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.4964, allocations: 3.984 kB / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.4964, allocations: 0 / 1.035 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002178/0.4966, allocations: 47.97 kB / 1.035 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005711/0.4972, allocations: 333.2 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004514/0.4977, allocations: 132.9 kB / 1.035 GB, free: 5.656 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.4977, allocations: 11.97 kB / 1.035 GB, free: 5.645 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006412/0.4984, allocations: 215.6 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.735e-06/0.4984, allocations: 0 / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001014/0.4994, allocations: 270.7 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.991e-05/0.4995, allocations: 63.39 kB / 1.036 GB, free: 5.078 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004292/0.4999, allocations: 246.2 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.5001, allocations: 41.7 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.5002, allocations: 93.12 kB / 1.036 GB, free: 4.688 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.5003, allocations: 55.38 kB / 1.036 GB, free: 4.633 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.936e-05/0.5004, allocations: 8 kB / 1.036 GB, free: 4.625 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5005, allocations: 326.8 kB / 1.036 GB, free: 4.297 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005143/0.5011, allocations: 100.1 kB / 1.036 GB, free: 4.195 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/0.5016, allocations: 154.4 kB / 1.037 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.502, allocations: 154 kB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5021, allocations: 0 / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001353/0.5034, allocations: 427 kB / 1.037 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.5036, allocations: 75.38 kB / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.5036, allocations: 192 / 1.037 GB, free: 3.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.5036, allocations: 8 kB / 1.037 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.5039, allocations: 19.98 kB / 1.037 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/0.5039, allocations: 11.92 kB / 1.037 GB, free: 3.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/0.5046, allocations: 47.83 kB / 1.037 GB, free: 3.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.5047, allocations: 55.97 kB / 1.037 GB, free: 3.199 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003519/0.5051, allocations: 175.9 kB / 1.037 GB, free: 3.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.833e-05/0.5052, allocations: 23.72 kB / 1.038 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.113e-05/0.5053, allocations: 34.25 kB / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5053, allocations: 0 / 1.038 GB, free: 2.961 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.5053, allocations: 4 kB / 1.038 GB, free: 2.957 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.5053, allocations: 3.984 kB / 1.038 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.5066, allocations: 0.5549 MB / 1.038 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.5066, allocations: 4 kB / 1.038 GB, free: 2.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.649e-05/0.5067, allocations: 11.94 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.848e-06/0.5068, allocations: 4 kB / 1.038 GB, free: 2.324 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.5068, allocations: 11.97 kB / 1.038 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.5068, allocations: 3.984 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.5068, allocations: 4 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006925/0.5075, allocations: 315 kB / 1.038 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.5079, allocations: 156.7 kB / 1.039 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.508, allocations: 12 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.5083, allocations: 7.984 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.614e-05/0.5083, allocations: 15.98 kB / 1.039 GB, free: 1.773 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.994e-05/0.5084, allocations: 31.97 kB / 1.039 GB, free: 1.742 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003276/0.5088, allocations: 209.9 kB / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.246e-06/0.5088, allocations: 0 / 1.039 GB, free: 1.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005462/0.5093, allocations: 59.92 kB / 1.039 GB, free: 1.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.5105, allocations: 0.8706 MB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001065/0.5116, allocations: 356.2 kB / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.5116, allocations: 0 / 1.04 GB, free: 220 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.5118, allocations: 71.84 kB / 1.04 GB, free: 148 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.5122, allocations: 18.19 kB / 1.04 GB, free: 128 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.5142, allocations: 1.612 MB / 1.042 GB, free: 14.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.5147, allocations: 0.7476 MB / 1.042 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002601/0.515, allocations: 41.06 kB / 1.043 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.5152, allocations: 51.41 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/0.5152, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03826/0.5535, allocations: 5.339 MB / 1.048 GB, free: 8.359 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000355/0.5539, allocations: 194.2 kB / 1.048 GB, free: 8.113 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.128, allocations: 0 / 1.048 GB, free: 8.113 MB / 0.698 GB