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.28/2.28, allocations: 248.7 MB / 256.2 MB, free: 7.031 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.001534/0.001535, allocations: 186.2 kB / 315.4 MB, free: 4 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.117/2.117, allocations: 205.3 MB / 0.5662 GB, free: 0.5625 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.001149/0.001149, allocations: 88.33 kB / 0.6704 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.91e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2148, allocations: 106.3 MB / 0.8841 GB, free: 13.01 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9484/1.163, allocations: 133.6 MB / 1.015 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.164, allocations: 68.28 kB / 1.015 GB, free: 5.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02286/1.186, allocations: 4.435 MB / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/1.187, allocations: 0 / 1.019 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.684e-05/1.187, allocations: 8 kB / 1.019 GB, free: 1.371 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.001248/1.188, allocations: 0.5777 MB / 1.02 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.188, allocations: 12.03 kB / 1.02 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001519/1.188, allocations: 31.59 kB / 1.02 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005084/1.189, allocations: 258.3 kB / 1.02 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/1.189, allocations: 11.8 kB / 1.02 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/1.189, allocations: 16 kB / 1.02 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001659/1.189, allocations: 39.67 kB / 1.02 GB, free: 376 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003299/1.189, allocations: 133.5 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/1.189, allocations: 0 / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.78e-05/1.189, allocations: 7.797 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.189, allocations: 0 / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/1.19, allocations: 308 kB / 1.02 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/1.19, allocations: 116.7 kB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/1.19, allocations: 52.78 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/1.19, allocations: 7.938 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/1.191, allocations: 206.9 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 2.655e-06/1.191, allocations: 0 / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.000668/1.192, allocations: 214.2 kB / 1.021 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/1.192, allocations: 59.34 kB / 1.021 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003818/1.192, allocations: 248.2 kB / 1.021 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/1.192, allocations: 33.64 kB / 1.021 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.284e-05/1.192, allocations: 89.08 kB / 1.021 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.192, allocations: 43.38 kB / 1.021 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/1.193, allocations: 11.98 kB / 1.021 GB, free: 15 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.193, allocations: 318.8 kB / 1.022 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/1.193, allocations: 86.78 kB / 1.022 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/1.193, allocations: 132.9 kB / 1.022 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/1.194, allocations: 78.81 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/1.194, allocations: 7.953 kB / 1.022 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009636/1.195, allocations: 309.4 kB / 1.022 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.195, allocations: 79.25 kB / 1.022 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.195, allocations: 4 kB / 1.022 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.195, allocations: 8.125 kB / 1.022 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00027/1.195, allocations: 23.98 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/1.195, allocations: 7.922 kB / 1.022 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006516/1.196, allocations: 39.89 kB / 1.022 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/1.196, allocations: 55.53 kB / 1.022 GB, free: 13.97 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.0002242/1.196, allocations: 135 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000556/1.197, allocations: 204.4 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/1.197, allocations: 27.62 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/1.197, allocations: 33.22 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.197, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/1.197, allocations: 4 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/1.197, allocations: 0 / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/1.198, allocations: 0.5135 MB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.198, allocations: 7.984 kB / 1.023 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.948e-05/1.198, allocations: 4 kB / 1.023 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.198, allocations: 7.938 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/1.198, allocations: 11.92 kB / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/1.198, allocations: 0 / 1.023 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.198, allocations: 4 kB / 1.023 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000552/1.199, allocations: 305.4 kB / 1.024 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002942/1.199, allocations: 152.3 kB / 1.024 GB, free: 12.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/1.199, allocations: 15.8 kB / 1.024 GB, free: 12.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/1.2, allocations: 11.94 kB / 1.024 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.978e-05/1.2, allocations: 15.97 kB / 1.024 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/1.2, allocations: 31.61 kB / 1.024 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002627/1.2, allocations: 192.7 kB / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.2, allocations: 0 / 1.024 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005846/1.201, allocations: 44 kB / 1.024 GB, free: 12.38 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.001007/1.202, allocations: 0.8714 MB / 1.025 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008206/1.202, allocations: 327.3 kB / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.203, allocations: 0 / 1.025 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001777/1.203, allocations: 67.3 kB / 1.025 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/1.203, allocations: 17.11 kB / 1.025 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/1.204, allocations: 333.4 kB / 1.026 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/1.205, allocations: 0.7505 MB / 1.026 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002414/1.205, allocations: 37.2 kB / 1.026 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/1.205, allocations: 45.16 kB / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.205, allocations: 4 kB / 1.026 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0448/1.25, allocations: 4.946 MB / 1.031 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000311/1.25, allocations: 157.5 kB / 1.031 GB, free: 4.859 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.586, allocations: 0 / 1.031 GB, free: 4.859 MB / 0.6511 GB