Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 251.9 MB / 266.9 MB, free: 11 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.001162/0.001162, allocations: 189.1 kB / 326.5 MB, free: 2.223 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.265/2.265, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.001062/0.001062, allocations: 93.98 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003443, allocations: 9.562 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2495, allocations: 106.3 MB / 0.9001 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.4333, allocations: 133.6 MB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.4337, allocations: 71.97 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01431/0.448, allocations: 4.464 MB / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/0.448, allocations: 0 / 1.035 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.4481, allocations: 8 kB / 1.035 GB, free: 5.52 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.00127/0.4494, allocations: 0.622 MB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/0.4494, allocations: 8.031 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.227e-05/0.4495, allocations: 42.55 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.4497, allocations: 31.62 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.4502, allocations: 258.5 kB / 1.036 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.4503, allocations: 15.98 kB / 1.036 GB, free: 4.426 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.4503, allocations: 16 kB / 1.036 GB, free: 4.41 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003582/0.4507, allocations: 149.5 kB / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4507, allocations: 0 / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.4508, allocations: 0 / 1.036 GB, free: 4.258 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4508, allocations: 4 kB / 1.036 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001329/0.4509, allocations: 47.97 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.4514, allocations: 325.3 kB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.4516, allocations: 146.6 kB / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.4517, allocations: 0 / 1.037 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000426/0.4521, allocations: 207.6 kB / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.4521, allocations: 0 / 1.037 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005981/0.4527, allocations: 280 kB / 1.037 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.4528, allocations: 59.41 kB / 1.037 GB, free: 3.125 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.4531, allocations: 254.1 kB / 1.037 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/0.4531, allocations: 37.7 kB / 1.037 GB, free: 2.828 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.43e-05/0.4532, allocations: 89.08 kB / 1.038 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.37e-05/0.4533, allocations: 51.44 kB / 1.038 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.4533, allocations: 7.984 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4535, allocations: 330.8 kB / 1.038 GB, free: 2.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002878/0.4538, allocations: 100.2 kB / 1.038 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.4541, allocations: 150.4 kB / 1.038 GB, free: 2.078 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002976/0.4544, allocations: 160 kB / 1.038 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4544, allocations: 0 / 1.038 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008661/0.4553, allocations: 426.2 kB / 1.039 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.4554, allocations: 71.39 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.4554, allocations: 4 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4554, allocations: 0 / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.4556, allocations: 40.09 kB / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4556, allocations: 0 / 1.039 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004126/0.456, allocations: 55.75 kB / 1.039 GB, free: 1.297 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.246e-05/0.4561, allocations: 51.98 kB / 1.039 GB, free: 1.246 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.0002531/0.4564, allocations: 179.9 kB / 1.039 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.461e-05/0.4565, allocations: 23.72 kB / 1.039 GB, free: 1.039 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.157e-05/0.4565, allocations: 30.25 kB / 1.039 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4566, allocations: 4 kB / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4566, allocations: 0 / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.4566, allocations: 0 / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008604/0.4574, allocations: 0.5606 MB / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.4575, allocations: 0 / 1.04 GB, free: 396 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.662e-05/0.4575, allocations: 11.98 kB / 1.04 GB, free: 384 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.4575, allocations: 4 kB / 1.04 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.4576, allocations: 11.98 kB / 1.04 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4576, allocations: 0 / 1.04 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.4576, allocations: 0 / 1.04 GB, free: 368 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004283/0.458, allocations: 321.5 kB / 1.04 GB, free: 32 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.4583, allocations: 156.7 kB / 1.04 GB, free: 15.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.657e-05/0.4583, allocations: 15.92 kB / 1.04 GB, free: 15.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.4585, allocations: 12 kB / 1.04 GB, free: 15.83 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.799e-05/0.4586, allocations: 19.97 kB / 1.04 GB, free: 15.81 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.124e-05/0.4587, allocations: 23.98 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001991/0.4589, allocations: 209.9 kB / 1.04 GB, free: 15.58 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4589, allocations: 0 / 1.04 GB, free: 15.58 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003778/0.4593, allocations: 52 kB / 1.04 GB, free: 15.53 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.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.0009384/0.4602, allocations: 0.8759 MB / 1.041 GB, free: 14.63 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007273/0.461, allocations: 355.7 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.461, allocations: 3.938 kB / 1.042 GB, free: 14.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.4611, allocations: 63.97 kB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.4614, allocations: 20.88 kB / 1.042 GB, free: 14.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.4634, allocations: 1.616 MB / 1.043 GB, free: 12.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.4637, allocations: 0.7477 MB / 1.044 GB, free: 11.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.4639, allocations: 37.08 kB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.4641, allocations: 43.42 kB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of SimCode: time 1.623e-06/0.4641, allocations: 0 / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01781/0.4819, allocations: 5.358 MB / 1.049 GB, free: 6.422 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.4821, allocations: 208.6 kB / 1.05 GB, free: 6.172 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.78/2.262, allocations: 3.938 kB / 1.05 GB, free: 6.168 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)