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.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_CalendarTimeMonthsPlus",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.281/2.281, 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.002695/0.002694, allocations: 177.1 kB / 325.5 MB, free: 2.918 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.5/2.5, allocations: 205.4 MB / 0.5764 GB, free: 20.82 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.001855/0.001854, allocations: 100.1 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006418/0.000642, allocations: 15.06 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2446, allocations: 106.3 MB / 0.8988 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.5402, allocations: 133.7 MB / 1.029 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/0.5406, allocations: 75.95 kB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.5675, allocations: 5.201 MB / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.598e-06/0.5676, allocations: 0 / 1.035 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.013e-05/0.5677, allocations: 8 kB / 1.035 GB, free: 6.254 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.002507/0.5702, allocations: 0.6573 MB / 1.035 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.706e-05/0.5703, allocations: 8.031 kB / 1.035 GB, free: 5.516 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/0.5704, allocations: 42.55 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003181/0.5708, allocations: 39.58 kB / 1.035 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.5717, allocations: 271.2 kB / 1.036 GB, free: 5.121 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.5719, allocations: 16 kB / 1.036 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002098/0.5721, allocations: 23.98 kB / 1.036 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008811/0.573, allocations: 166.3 kB / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.573, allocations: 0 / 1.036 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.5731, allocations: 4 kB / 1.036 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.5732, allocations: 3.938 kB / 1.036 GB, free: 4.906 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.5736, allocations: 59.97 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.5763, allocations: 0.5862 MB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.5771, allocations: 142.6 kB / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.992e-05/0.5772, allocations: 0 / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008242/0.578, allocations: 224.9 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/0.578, allocations: 0 / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001059/0.5791, allocations: 282.8 kB / 1.037 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.5792, allocations: 71.52 kB / 1.037 GB, free: 3.469 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004903/0.5797, allocations: 279.6 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.5798, allocations: 45.69 kB / 1.037 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.5799, allocations: 93.05 kB / 1.038 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.43e-05/0.58, allocations: 43.48 kB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.027e-05/0.5801, allocations: 11.98 kB / 1.038 GB, free: 2.992 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.5803, allocations: 330.8 kB / 1.038 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.5808, allocations: 116.2 kB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005892/0.5814, allocations: 178.4 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000489/0.5819, allocations: 166 kB / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.582, allocations: 0 / 1.038 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.00142/0.5834, allocations: 459 kB / 1.039 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.5835, allocations: 75.39 kB / 1.039 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5835, allocations: 3.984 kB / 1.039 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5836, allocations: 4 kB / 1.039 GB, free: 1.613 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.5838, allocations: 19.98 kB / 1.039 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.5839, allocations: 7.938 kB / 1.039 GB, free: 1.586 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.5845, allocations: 56 kB / 1.039 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.5847, allocations: 59.92 kB / 1.039 GB, free: 1.473 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.0003904/0.5851, allocations: 185.7 kB / 1.039 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.297e-05/0.5852, allocations: 27.62 kB / 1.039 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.089e-05/0.5853, allocations: 30.36 kB / 1.039 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.5853, allocations: 8 kB / 1.039 GB, free: 1.211 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5853, allocations: 4 kB / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.5853, allocations: 0 / 1.039 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001265/0.5866, allocations: 0.5938 MB / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5866, allocations: 0 / 1.04 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.698e-05/0.5867, allocations: 11.94 kB / 1.04 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.5867, allocations: 0 / 1.04 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.5868, allocations: 15.97 kB / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.5868, allocations: 0 / 1.04 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5868, allocations: 3.953 kB / 1.04 GB, free: 0.5273 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.5875, allocations: 328.9 kB / 1.04 GB, free: 196 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000361/0.5879, allocations: 184.7 kB / 1.04 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.599e-05/0.588, allocations: 19.92 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.5883, allocations: 4 kB / 1.04 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.5884, allocations: 27.92 kB / 1.04 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.61e-05/0.5885, allocations: 23.98 kB / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003661/0.5889, allocations: 231 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.574e-06/0.5889, allocations: 7.938 kB / 1.041 GB, free: 15.68 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000581/0.5895, allocations: 63.83 kB / 1.041 GB, free: 15.62 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.001237/0.5907, allocations: 0.8778 MB / 1.042 GB, free: 14.72 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001093/0.5918, allocations: 387.8 kB / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.5919, allocations: 0 / 1.042 GB, free: 14.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.5921, allocations: 75.91 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.5926, allocations: 29.38 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.5947, allocations: 1.653 MB / 1.044 GB, free: 12.49 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004635/0.5952, allocations: 0.772 MB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002592/0.5954, allocations: 33.44 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.5957, allocations: 55.41 kB / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of SimCode: time 1.031e-06/0.5957, allocations: 0 / 1.044 GB, free: 11.61 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03122/0.6269, allocations: 5.959 MB / 1.05 GB, free: 5.824 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000356/0.6273, allocations: 221.3 kB / 1.05 GB, free: 5.578 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/3.323, allocations: 3.938 kB / 1.05 GB, free: 5.574 MB / 0.698 GB