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.319/2.319, allocations: 248.7 MB / 256.2 MB, free: 7.035 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001412/0.001412, allocations: 178.4 kB / 315.4 MB, free: 3.996 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.073/2.073, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 90.48 kB / 0.6704 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.018e-05/2.027e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.19, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8512/1.041, allocations: 133.5 MB / 1.015 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/1.042, allocations: 66.78 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02282/1.064, allocations: 4.436 MB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.235e-06/1.064, allocations: 0 / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.064, allocations: 7.984 kB / 1.019 GB, free: 1.461 MB / 0.6355 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.001326/1.066, allocations: 0.5776 MB / 1.019 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.066, allocations: 8.031 kB / 1.019 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002034/1.066, allocations: 31.72 kB / 1.02 GB, free: 0.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.067, allocations: 254.1 kB / 1.02 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.534e-05/1.067, allocations: 7.984 kB / 1.02 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-05/1.067, allocations: 23.88 kB / 1.02 GB, free: 500 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001696/1.067, allocations: 39.67 kB / 1.02 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/1.067, allocations: 129.5 kB / 1.02 GB, free: 356 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.067, allocations: 3.984 kB / 1.02 GB, free: 352 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/1.067, allocations: 7.938 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/1.067, allocations: 0 / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005213/1.068, allocations: 303.2 kB / 1.02 GB, free: 56 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/1.068, allocations: 121.5 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/1.068, allocations: 50.72 kB / 1.02 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.725e-05/1.068, allocations: 7.984 kB / 1.02 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005626/1.069, allocations: 203.7 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.675e-06/1.069, allocations: 3.938 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0006281/1.07, allocations: 213.3 kB / 1.021 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.07, allocations: 58.72 kB / 1.021 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003391/1.07, allocations: 243.6 kB / 1.021 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.802e-05/1.07, allocations: 37.2 kB / 1.021 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.497e-05/1.07, allocations: 90.2 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/1.07, allocations: 44 kB / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/1.07, allocations: 0 / 1.021 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.071, allocations: 326.1 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.071, allocations: 84.47 kB / 1.022 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/1.071, allocations: 134.2 kB / 1.022 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/1.071, allocations: 77.58 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/1.071, allocations: 3.953 kB / 1.022 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009335/1.072, allocations: 311.9 kB / 1.022 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.073, allocations: 76.83 kB / 1.022 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/1.073, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/1.073, allocations: 4 kB / 1.022 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/1.073, allocations: 23.92 kB / 1.022 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/1.073, allocations: 11.92 kB / 1.022 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/1.074, allocations: 35.89 kB / 1.022 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/1.074, allocations: 63.59 kB / 1.022 GB, free: 14.07 MB / 0.6511 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 () * 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.0002035/1.074, allocations: 126.5 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005581/1.074, allocations: 216.8 kB / 1.023 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/1.075, allocations: 31.61 kB / 1.023 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/1.075, allocations: 28.66 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.85e-06/1.075, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.075, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.075, allocations: 0 / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/1.076, allocations: 0.5245 MB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.076, allocations: 3.984 kB / 1.023 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/1.076, allocations: 4 kB / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/1.076, allocations: 0 / 1.023 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.466e-05/1.076, allocations: 15.55 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/1.076, allocations: 3.938 kB / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.076, allocations: 0 / 1.023 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005814/1.077, allocations: 313 kB / 1.024 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003097/1.077, allocations: 155.5 kB / 1.024 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.458e-05/1.077, allocations: 11.55 kB / 1.024 GB, free: 12.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003057/1.077, allocations: 8 kB / 1.024 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.729e-05/1.078, allocations: 15.97 kB / 1.024 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/1.078, allocations: 31.67 kB / 1.024 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002826/1.078, allocations: 198.2 kB / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.078, allocations: 0 / 1.024 GB, free: 12.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005754/1.079, allocations: 44 kB / 1.024 GB, free: 12.46 MB / 0.6511 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) * 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.0009844/1.08, allocations: 0.8624 MB / 1.025 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008359/1.08, allocations: 327.4 kB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.08, allocations: 4 kB / 1.025 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/1.081, allocations: 65.55 kB / 1.025 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/1.081, allocations: 23.38 kB / 1.025 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/1.082, allocations: 324.8 kB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/1.083, allocations: 0.7499 MB / 1.026 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002544/1.083, allocations: 41.14 kB / 1.026 GB, free: 10.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/1.083, allocations: 46.16 kB / 1.026 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of SimCode: time 1.203e-06/1.083, allocations: 3.938 kB / 1.026 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04337/1.126, allocations: 4.932 MB / 1.031 GB, free: 5.164 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/1.127, allocations: 147.4 kB / 1.031 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/3.421, allocations: 4.031 kB / 1.031 GB, free: 4.965 MB / 0.6511 GB