Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Time_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.347/2.347, allocations: 251 MB / 265.9 MB, free: 11.67 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.001658/0.001658, allocations: 178.9 kB / 325.5 MB, free: 2.902 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.494/2.494, allocations: 205.4 MB / 0.5764 GB, free: 21.18 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.001178/0.001178, allocations: 98.5 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006944/0.0006946, allocations: 11.75 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.218, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/0.4929, allocations: 133.4 MB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.4933, allocations: 75.95 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02461/0.5179, allocations: 4.463 MB / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.43e-06/0.5179, allocations: 0 / 1.034 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.529e-05/0.518, allocations: 7.938 kB / 1.034 GB, free: 7.84 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.001352/0.5193, allocations: 0.6259 MB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5194, allocations: 8.031 kB / 1.034 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.442e-05/0.5195, allocations: 42.55 kB / 1.034 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.5196, allocations: 35.62 kB / 1.034 GB, free: 7.047 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.5201, allocations: 254.5 kB / 1.034 GB, free: 6.762 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.5202, allocations: 15.94 kB / 1.034 GB, free: 6.746 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.756e-05/0.5203, allocations: 15.98 kB / 1.034 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.5207, allocations: 141.5 kB / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5207, allocations: 0 / 1.035 GB, free: 6.586 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.701e-05/0.5208, allocations: 3.984 kB / 1.035 GB, free: 6.582 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.579e-06/0.5208, allocations: 4 kB / 1.035 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002086/0.521, allocations: 39.98 kB / 1.035 GB, free: 6.539 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005612/0.5216, allocations: 349.2 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004603/0.5221, allocations: 126.7 kB / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.459e-05/0.5221, allocations: 0 / 1.035 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000674/0.5228, allocations: 223.6 kB / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.424e-06/0.5228, allocations: 0 / 1.035 GB, free: 5.785 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001073/0.5239, allocations: 266.7 kB / 1.036 GB, free: 5.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.682e-05/0.524, allocations: 59.41 kB / 1.036 GB, free: 5.449 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004333/0.5244, allocations: 258.1 kB / 1.036 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001059/0.5246, allocations: 33.7 kB / 1.036 GB, free: 5.148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.5247, allocations: 101.1 kB / 1.036 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.13e-05/0.5248, allocations: 43.44 kB / 1.036 GB, free: 5.004 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.966e-05/0.5249, allocations: 8 kB / 1.036 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.525, allocations: 326.8 kB / 1.036 GB, free: 4.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005612/0.5256, allocations: 104.2 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005158/0.5261, allocations: 151.5 kB / 1.037 GB, free: 4.395 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004563/0.5266, allocations: 158.2 kB / 1.037 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.5266, allocations: 0 / 1.037 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001333/0.528, allocations: 419.1 kB / 1.037 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/0.5281, allocations: 81.53 kB / 1.037 GB, free: 3.711 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5281, allocations: 8 kB / 1.037 GB, free: 3.703 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5282, allocations: 4 kB / 1.037 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000258/0.5284, allocations: 23.98 kB / 1.037 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.5285, allocations: 3.938 kB / 1.037 GB, free: 3.672 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.5291, allocations: 47.88 kB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.5293, allocations: 55.97 kB / 1.037 GB, free: 3.57 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.0003293/0.5296, allocations: 183.9 kB / 1.038 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.455e-05/0.5297, allocations: 23.72 kB / 1.038 GB, free: 3.359 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.5298, allocations: 30.19 kB / 1.038 GB, free: 3.328 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5298, allocations: 4 kB / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.5298, allocations: 0 / 1.038 GB, free: 3.324 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5299, allocations: 3.984 kB / 1.038 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.5312, allocations: 0.5568 MB / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.5312, allocations: 0 / 1.038 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.455e-05/0.5313, allocations: 11.94 kB / 1.038 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.932e-06/0.5314, allocations: 3.938 kB / 1.038 GB, free: 2.691 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.917e-05/0.5314, allocations: 19.97 kB / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.5314, allocations: 0 / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5314, allocations: 0 / 1.038 GB, free: 2.672 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007661/0.5322, allocations: 316.9 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.5325, allocations: 152.7 kB / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.344e-05/0.5326, allocations: 12 kB / 1.039 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.5329, allocations: 15.98 kB / 1.039 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.533, allocations: 11.98 kB / 1.039 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.5331, allocations: 35.97 kB / 1.039 GB, free: 2.105 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003094/0.5334, allocations: 201.9 kB / 1.039 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5334, allocations: 0 / 1.039 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0005875/0.534, allocations: 55.92 kB / 1.039 GB, free: 1.855 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.001196/0.5352, allocations: 0.8765 MB / 1.04 GB, free: 0.9531 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001069/0.5363, allocations: 352.9 kB / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5364, allocations: 0 / 1.04 GB, free: 0.5859 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.5366, allocations: 75.89 kB / 1.04 GB, free: 0.5117 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.537, allocations: 26.91 kB / 1.04 GB, free: 496 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.539, allocations: 1.603 MB / 1.042 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.5395, allocations: 0.7486 MB / 1.043 GB, free: 14.03 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002795/0.5398, allocations: 41.06 kB / 1.043 GB, free: 13.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002318/0.54, allocations: 43.41 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of SimCode: time 1.243e-06/0.54, allocations: 3.938 kB / 1.043 GB, free: 13.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.5768, allocations: 5.357 MB / 1.048 GB, free: 8.73 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.5772, allocations: 183.3 kB / 1.048 GB, free: 8.496 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.065, allocations: 0 / 1.048 GB, free: 8.496 MB / 0.698 GB