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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsMinus",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.304/2.304, 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.001561/0.001561, allocations: 174.9 kB / 325.5 MB, free: 2.91 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.444/2.444, allocations: 205.4 MB / 0.5764 GB, free: 21.12 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.00108/0.00108, allocations: 95.55 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004886, allocations: 14 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2584, allocations: 106.3 MB / 0.8988 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2832/0.5417, allocations: 133.7 MB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.542, allocations: 75.95 kB / 1.03 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02503/0.5671, allocations: 5.216 MB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5671, allocations: 0 / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.5671, allocations: 8 kB / 1.035 GB, free: 6.703 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.001357/0.5685, allocations: 0.6496 MB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5686, allocations: 8.031 kB / 1.035 GB, free: 5.973 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.652e-05/0.5687, allocations: 42.55 kB / 1.035 GB, free: 5.922 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.5688, allocations: 39.58 kB / 1.035 GB, free: 5.883 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000482/0.5693, allocations: 275.1 kB / 1.036 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.072e-05/0.5694, allocations: 16 kB / 1.036 GB, free: 5.559 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.5695, allocations: 20 kB / 1.036 GB, free: 5.539 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.57, allocations: 166.3 kB / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.57, allocations: 0 / 1.036 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.5701, allocations: 8 kB / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5701, allocations: 0 / 1.036 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.5704, allocations: 59.91 kB / 1.036 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.5721, allocations: 0.5901 MB / 1.036 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.5726, allocations: 142.6 kB / 1.037 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5727, allocations: 0 / 1.037 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006454/0.5733, allocations: 224.1 kB / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.435e-06/0.5734, allocations: 0 / 1.037 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.00111/0.5745, allocations: 286.7 kB / 1.037 GB, free: 4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.5746, allocations: 63.53 kB / 1.037 GB, free: 3.926 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.575, allocations: 283.6 kB / 1.037 GB, free: 3.645 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.5752, allocations: 45.69 kB / 1.037 GB, free: 3.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.5753, allocations: 93.05 kB / 1.038 GB, free: 3.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-05/0.5754, allocations: 43.53 kB / 1.038 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.545e-05/0.5754, allocations: 8 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.5756, allocations: 330.8 kB / 1.038 GB, free: 3.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.5761, allocations: 120.2 kB / 1.038 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005252/0.5766, allocations: 174.9 kB / 1.038 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004723/0.5771, allocations: 164.1 kB / 1.038 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5771, allocations: 0 / 1.038 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001539/0.5787, allocations: 455.8 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.5788, allocations: 79.39 kB / 1.039 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5788, allocations: 0 / 1.039 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.5789, allocations: 4 kB / 1.039 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.5791, allocations: 27.91 kB / 1.039 GB, free: 2.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.259e-05/0.5792, allocations: 4 kB / 1.039 GB, free: 2.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.5798, allocations: 52.02 kB / 1.039 GB, free: 1.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.58, allocations: 59.98 kB / 1.039 GB, free: 1.934 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.0003623/0.5803, allocations: 189.7 kB / 1.039 GB, free: 1.738 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.5804, allocations: 27.62 kB / 1.039 GB, free: 1.711 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.853e-05/0.5805, allocations: 30.36 kB / 1.039 GB, free: 1.676 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.5805, allocations: 4 kB / 1.039 GB, free: 1.672 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.5805, allocations: 4 kB / 1.039 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.5806, allocations: 3.938 kB / 1.039 GB, free: 1.664 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00131/0.5819, allocations: 0.5939 MB / 1.04 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5819, allocations: 0 / 1.04 GB, free: 1.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.521e-05/0.582, allocations: 8 kB / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.582, allocations: 0 / 1.04 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/0.5821, allocations: 15.98 kB / 1.04 GB, free: 0.9922 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.5821, allocations: 3.938 kB / 1.04 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5821, allocations: 3.953 kB / 1.04 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007636/0.5829, allocations: 331 kB / 1.04 GB, free: 0.6445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003379/0.5832, allocations: 180.7 kB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.5833, allocations: 16 kB / 1.04 GB, free: 444 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.5836, allocations: 7.984 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.5837, allocations: 23.92 kB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.5838, allocations: 27.98 kB / 1.04 GB, free: 384 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003523/0.5841, allocations: 231 kB / 1.041 GB, free: 152 kB / 0.6823 GB Notification: Performance of sort global known variables: time 6.92e-07/0.5842, allocations: 3.938 kB / 1.041 GB, free: 148 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005616/0.5847, allocations: 67.83 kB / 1.041 GB, free: 80 kB / 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.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.001183/0.5859, allocations: 0.8796 MB / 1.042 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001097/0.587, allocations: 387.9 kB / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.5871, allocations: 0 / 1.042 GB, free: 14.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002501/0.5873, allocations: 75.89 kB / 1.042 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004048/0.5877, allocations: 32.56 kB / 1.042 GB, free: 14.67 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001952/0.5897, allocations: 1.66 MB / 1.044 GB, free: 12.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004225/0.5902, allocations: 0.7594 MB / 1.044 GB, free: 12.15 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002734/0.5905, allocations: 37.42 kB / 1.044 GB, free: 12.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/0.5907, allocations: 55.41 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/0.5907, allocations: 0 / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.6208, allocations: 5.966 MB / 1.05 GB, free: 6.293 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003312/0.6212, allocations: 214.9 kB / 1.05 GB, free: 6.055 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.614/3.236, allocations: 3.266 kB / 1.05 GB, free: 6.055 MB / 0.698 GB