Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.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.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_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.247/2.247, allocations: 251 MB / 265.9 MB, free: 11.69 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.002359/0.002358, allocations: 177.1 kB / 325.5 MB, free: 2.898 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.332/2.332, allocations: 205.4 MB / 0.5764 GB, free: 20.75 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.001156/0.001156, allocations: 100.5 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004843, allocations: 14.22 kB / 0.7951 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2219, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.4494, allocations: 133.7 MB / 1.029 GB, free: 11.58 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/0.4498, allocations: 75.95 kB / 1.029 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02601/0.4758, allocations: 5.199 MB / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.635e-06/0.4759, allocations: 0 / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.856e-05/0.4759, allocations: 4 kB / 1.035 GB, free: 6.297 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001432/0.4774, allocations: 0.6496 MB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4774, allocations: 16.03 kB / 1.035 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.234e-05/0.4775, allocations: 38.55 kB / 1.035 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.4777, allocations: 39.58 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005217/0.4782, allocations: 271.1 kB / 1.036 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.365e-05/0.4783, allocations: 15.98 kB / 1.036 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.4784, allocations: 20 kB / 1.036 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.4789, allocations: 165.5 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.479, allocations: 0 / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.457e-05/0.479, allocations: 7.984 kB / 1.036 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.372e-05/0.4791, allocations: 4 kB / 1.036 GB, free: 4.953 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002572/0.4793, allocations: 63.91 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.4812, allocations: 0.5862 MB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.4817, allocations: 138.7 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.21e-05/0.4817, allocations: 7.938 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006482/0.4824, allocations: 224.9 kB / 1.037 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.825e-06/0.4824, allocations: 0 / 1.037 GB, free: 3.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001002/0.4834, allocations: 278.7 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.4835, allocations: 71.5 kB / 1.037 GB, free: 3.512 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.484, allocations: 283.6 kB / 1.037 GB, free: 3.23 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.4841, allocations: 33.7 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4842, allocations: 105 kB / 1.037 GB, free: 3.086 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.828e-05/0.4843, allocations: 39.55 kB / 1.037 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.4844, allocations: 11.94 kB / 1.038 GB, free: 3.035 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.4845, allocations: 322.8 kB / 1.038 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005055/0.485, allocations: 124.2 kB / 1.038 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005271/0.4856, allocations: 170.3 kB / 1.038 GB, free: 2.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004719/0.4861, allocations: 169.8 kB / 1.038 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4861, allocations: 0 / 1.038 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001429/0.4875, allocations: 455 kB / 1.039 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.4877, allocations: 75.39 kB / 1.039 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.4877, allocations: 4 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.4877, allocations: 4 kB / 1.039 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.488, allocations: 32.11 kB / 1.039 GB, free: 1.633 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.488, allocations: 3.984 kB / 1.039 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.4887, allocations: 47.84 kB / 1.039 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/0.4888, allocations: 51.97 kB / 1.039 GB, free: 1.531 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0003707/0.4892, allocations: 193.7 kB / 1.039 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/0.4893, allocations: 27.62 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.64e-05/0.4894, allocations: 30.36 kB / 1.039 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4894, allocations: 3.984 kB / 1.039 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.4894, allocations: 7.938 kB / 1.039 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.4894, allocations: 4 kB / 1.039 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.4907, allocations: 0.5939 MB / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.4907, allocations: 0 / 1.04 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.259e-05/0.4908, allocations: 11.98 kB / 1.04 GB, free: 0.5938 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.4908, allocations: 7.938 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.4909, allocations: 11.98 kB / 1.04 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.4909, allocations: 4 kB / 1.04 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.4909, allocations: 3.953 kB / 1.04 GB, free: 0.5664 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007239/0.4916, allocations: 323 kB / 1.04 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.492, allocations: 184.6 kB / 1.04 GB, free: 36 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.4921, allocations: 8 kB / 1.04 GB, free: 28 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000306/0.4924, allocations: 19.98 kB / 1.04 GB, free: 8 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/0.4925, allocations: 15.98 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.781e-05/0.4926, allocations: 35.92 kB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003508/0.493, allocations: 227 kB / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.493, allocations: 0 / 1.041 GB, free: 15.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005888/0.4936, allocations: 63.84 kB / 1.041 GB, free: 15.67 MB / 0.698 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.001287/0.4949, allocations: 0.8913 MB / 1.041 GB, free: 14.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.4961, allocations: 379.9 kB / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.4961, allocations: 0 / 1.042 GB, free: 14.36 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.4964, allocations: 79.89 kB / 1.042 GB, free: 14.29 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004267/0.4968, allocations: 25.39 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002044/0.4989, allocations: 1.661 MB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/0.4995, allocations: 0.7565 MB / 1.044 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002817/0.4998, allocations: 41.42 kB / 1.044 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5, allocations: 51.41 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of SimCode: time 1.202e-06/0.5, allocations: 4 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.5434, allocations: 5.942 MB / 1.05 GB, free: 5.879 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003416/0.5438, allocations: 216.8 kB / 1.05 GB, free: 5.633 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.092, allocations: 0 / 1.05 GB, free: 5.633 MB / 0.698 GB