Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",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.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 10.99 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.001251/0.001252, allocations: 178.8 kB / 326.5 MB, free: 2.191 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.199/2.199, allocations: 205.4 MB / 0.5775 GB, free: 20.21 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.0009545/0.0009541, allocations: 89.67 kB / 0.6821 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 10.34 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2643, allocations: 106.3 MB / 0.9001 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/0.447, allocations: 133.6 MB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.4474, allocations: 71.95 kB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.4622, allocations: 4.472 MB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4622, allocations: 0 / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.451e-05/0.4623, allocations: 4 kB / 1.035 GB, free: 5.469 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.001182/0.4634, allocations: 0.622 MB / 1.036 GB, free: 4.773 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.4635, allocations: 8.031 kB / 1.036 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.124e-05/0.4636, allocations: 38.56 kB / 1.036 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001338/0.4638, allocations: 39.61 kB / 1.036 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.4642, allocations: 254.5 kB / 1.036 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.241e-05/0.4643, allocations: 8 kB / 1.036 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.4644, allocations: 20 kB / 1.036 GB, free: 4.363 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.4647, allocations: 147.2 kB / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.4648, allocations: 0 / 1.036 GB, free: 4.215 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.7e-05/0.4648, allocations: 4 kB / 1.036 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.4648, allocations: 3.984 kB / 1.036 GB, free: 4.207 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.465, allocations: 47.97 kB / 1.036 GB, free: 4.16 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000547/0.4655, allocations: 337.2 kB / 1.037 GB, free: 3.781 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002888/0.4658, allocations: 126.7 kB / 1.037 GB, free: 3.648 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.356e-05/0.4659, allocations: 7.984 kB / 1.037 GB, free: 3.641 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/0.4663, allocations: 215.6 kB / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 1.893e-06/0.4663, allocations: 0 / 1.037 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0006421/0.467, allocations: 272 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.467, allocations: 63.41 kB / 1.037 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.4673, allocations: 250.1 kB / 1.037 GB, free: 2.824 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.465e-05/0.4674, allocations: 41.7 kB / 1.037 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.354e-05/0.4675, allocations: 97.12 kB / 1.038 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.567e-05/0.4676, allocations: 47.44 kB / 1.038 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.4676, allocations: 8 kB / 1.038 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4677, allocations: 318.8 kB / 1.038 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.468, allocations: 100.2 kB / 1.038 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.4683, allocations: 154.4 kB / 1.038 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.4686, allocations: 160 kB / 1.038 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4687, allocations: 0 / 1.038 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008909/0.4696, allocations: 427 kB / 1.039 GB, free: 1.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/0.4697, allocations: 75.38 kB / 1.039 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4697, allocations: 4.188 kB / 1.039 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.885e-05/0.4697, allocations: 7.938 kB / 1.039 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.4699, allocations: 27.92 kB / 1.039 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.4699, allocations: 4 kB / 1.039 GB, free: 1.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004133/0.4703, allocations: 47.75 kB / 1.039 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.456e-05/0.4704, allocations: 59.97 kB / 1.039 GB, free: 1.195 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.0002353/0.4707, allocations: 172 kB / 1.039 GB, free: 1.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.324e-05/0.4707, allocations: 23.72 kB / 1.039 GB, free: 0.9961 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.584e-05/0.4708, allocations: 34.25 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4708, allocations: 0 / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4708, allocations: 0 / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.4708, allocations: 3.984 kB / 1.039 GB, free: 0.957 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009493/0.4718, allocations: 0.5606 MB / 1.04 GB, free: 348 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.4718, allocations: 4 kB / 1.04 GB, free: 344 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.4719, allocations: 4 kB / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.139e-06/0.4719, allocations: 0 / 1.04 GB, free: 340 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.4719, allocations: 11.98 kB / 1.04 GB, free: 328 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.4719, allocations: 0 / 1.04 GB, free: 328 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4719, allocations: 3.984 kB / 1.04 GB, free: 324 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005055/0.4725, allocations: 325.5 kB / 1.04 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002109/0.4727, allocations: 152.7 kB / 1.04 GB, free: 15.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.891e-05/0.4728, allocations: 12 kB / 1.04 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001924/0.473, allocations: 15.97 kB / 1.04 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.473, allocations: 15.98 kB / 1.04 GB, free: 15.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.967e-05/0.4731, allocations: 35.91 kB / 1.04 GB, free: 15.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002315/0.4734, allocations: 201.9 kB / 1.04 GB, free: 15.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4734, allocations: 0 / 1.04 GB, free: 15.54 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003817/0.4737, allocations: 59.98 kB / 1.04 GB, free: 15.48 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.0009051/0.4747, allocations: 0.8681 MB / 1.041 GB, free: 14.59 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007005/0.4754, allocations: 355.8 kB / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4754, allocations: 0 / 1.042 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.4756, allocations: 67.97 kB / 1.042 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.4759, allocations: 25.19 kB / 1.042 GB, free: 14.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.4773, allocations: 1.61 MB / 1.043 GB, free: 12.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.4777, allocations: 0.7438 MB / 1.044 GB, free: 11.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.4779, allocations: 41.08 kB / 1.044 GB, free: 11.62 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.478, allocations: 47.41 kB / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.478, allocations: 0 / 1.044 GB, free: 11.57 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01733/0.4954, allocations: 5.369 MB / 1.049 GB, free: 6.375 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.4956, allocations: 197.8 kB / 1.05 GB, free: 6.133 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.794/2.29, allocations: 0 / 1.05 GB, free: 6.133 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)