Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.00133/0.00133, allocations: 197 kB / 326.5 MB, free: 2.227 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.228/2.228, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.001014/0.001014, allocations: 97.78 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004438, allocations: 9.531 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.2679, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.4552, allocations: 133.5 MB / 1.031 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.4555, allocations: 79.94 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.4699, allocations: 4.447 MB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.104e-06/0.47, allocations: 4 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.47, allocations: 4 kB / 1.035 GB, free: 5.594 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.001157/0.4712, allocations: 0.6281 MB / 1.036 GB, free: 4.895 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.4712, allocations: 8.031 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.066e-05/0.4713, allocations: 46.48 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.4714, allocations: 31.62 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004047/0.4718, allocations: 258.5 kB / 1.036 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.4719, allocations: 15.98 kB / 1.036 GB, free: 4.492 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.87e-05/0.472, allocations: 12 kB / 1.036 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003416/0.4723, allocations: 151.8 kB / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4723, allocations: 0 / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.539e-05/0.4724, allocations: 0 / 1.036 GB, free: 4.328 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4724, allocations: 7.984 kB / 1.036 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.4725, allocations: 47.97 kB / 1.036 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.4729, allocations: 333.2 kB / 1.036 GB, free: 3.898 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.4732, allocations: 138.6 kB / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.4732, allocations: 0 / 1.037 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004211/0.4737, allocations: 207.6 kB / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 2.464e-06/0.4737, allocations: 0 / 1.037 GB, free: 3.539 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.0005913/0.4743, allocations: 275.5 kB / 1.037 GB, free: 3.266 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.304e-05/0.4743, allocations: 63.39 kB / 1.037 GB, free: 3.191 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.4746, allocations: 254.2 kB / 1.037 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.924e-05/0.4747, allocations: 37.69 kB / 1.037 GB, free: 2.895 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.561e-05/0.4748, allocations: 89.14 kB / 1.037 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.4748, allocations: 51.44 kB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.4749, allocations: 8 kB / 1.038 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.475, allocations: 322.8 kB / 1.038 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002802/0.4753, allocations: 104.2 kB / 1.038 GB, free: 2.316 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002963/0.4756, allocations: 146.4 kB / 1.038 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.4759, allocations: 171.4 kB / 1.038 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4759, allocations: 0 / 1.038 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008673/0.4768, allocations: 419.1 kB / 1.039 GB, free: 1.547 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.758e-05/0.4769, allocations: 71.39 kB / 1.039 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.4769, allocations: 4.188 kB / 1.039 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.4769, allocations: 4 kB / 1.039 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.4771, allocations: 35.91 kB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.4771, allocations: 0 / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/0.4776, allocations: 55.75 kB / 1.039 GB, free: 1.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.4777, allocations: 47.98 kB / 1.039 GB, free: 1.32 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.0002907/0.478, allocations: 183.9 kB / 1.039 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.478, allocations: 23.72 kB / 1.039 GB, free: 1.109 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.844e-05/0.4781, allocations: 26.25 kB / 1.039 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4781, allocations: 4 kB / 1.039 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.4781, allocations: 0 / 1.039 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4781, allocations: 0 / 1.039 GB, free: 1.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.4791, allocations: 0.5606 MB / 1.04 GB, free: 472 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4791, allocations: 4 kB / 1.04 GB, free: 468 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.4792, allocations: 11.98 kB / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.4792, allocations: 0 / 1.04 GB, free: 456 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.4792, allocations: 15.98 kB / 1.04 GB, free: 440 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.4792, allocations: 3.984 kB / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4792, allocations: 0 / 1.04 GB, free: 436 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.4797, allocations: 321.3 kB / 1.04 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002224/0.4799, allocations: 156.7 kB / 1.04 GB, free: 15.93 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.584e-05/0.48, allocations: 8 kB / 1.04 GB, free: 15.92 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001909/0.4802, allocations: 23.92 kB / 1.04 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4803, allocations: 15.97 kB / 1.04 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.4803, allocations: 31.98 kB / 1.04 GB, free: 15.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001966/0.4805, allocations: 205.9 kB / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.81e-07/0.4805, allocations: 0 / 1.04 GB, free: 15.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003474/0.4809, allocations: 48 kB / 1.04 GB, free: 15.6 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.0008367/0.4817, allocations: 0.8782 MB / 1.041 GB, free: 14.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006412/0.4824, allocations: 346.8 kB / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4824, allocations: 0 / 1.042 GB, free: 14.33 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4826, allocations: 75.94 kB / 1.042 GB, free: 14.26 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.4828, allocations: 17.25 kB / 1.042 GB, free: 14.24 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.4843, allocations: 1.616 MB / 1.043 GB, free: 12.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.4846, allocations: 0.7508 MB / 1.044 GB, free: 11.77 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001521/0.4848, allocations: 37.08 kB / 1.044 GB, free: 11.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.4849, allocations: 43.42 kB / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.4849, allocations: 0 / 1.044 GB, free: 11.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.5052, allocations: 5.348 MB / 1.049 GB, free: 6.488 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003912/0.5057, allocations: 198.4 kB / 1.049 GB, free: 6.246 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.171, allocations: 3.938 kB / 1.05 GB, free: 6.242 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)