Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.597/1.597, allocations: 285.6 MB / 293.1 MB, free: 10.21 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 172.4 kB / 361.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.3 MB / 0.62 GB, free: 11.65 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008152, allocations: 92.75 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.966e-05, allocations: 4 kB / 0.8518 GB, free: 2.668 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5943/0.5943, allocations: 115.3 MB / 0.9644 GB, free: 78.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.7781, allocations: 139.1 MB / 1.1 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.7784, allocations: 68.47 kB / 1.1 GB, free: 0.5898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.7921, allocations: 4.421 MB / 1.105 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.172e-06/0.7922, allocations: 4 kB / 1.105 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.7922, allocations: 0 / 1.105 GB, free: 12.25 MB / 0.7136 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.0007707/0.793, allocations: 0.5865 MB / 1.105 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.793, allocations: 8.031 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.468e-05/0.7932, allocations: 38.25 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.7935, allocations: 254.6 kB / 1.106 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.7935, allocations: 0 / 1.106 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.7936, allocations: 16 kB / 1.106 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001075/0.7937, allocations: 43.64 kB / 1.106 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.7939, allocations: 142.4 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.7939, allocations: 3.938 kB / 1.106 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.794, allocations: 4 kB / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.794, allocations: 0 / 1.106 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000346/0.7943, allocations: 305.8 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.7945, allocations: 118.7 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.33e-05/0.7946, allocations: 52.84 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.7947, allocations: 4 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003697/0.795, allocations: 212.6 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.795, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0004151/0.7955, allocations: 210 kB / 1.107 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.7955, allocations: 63.38 kB / 1.107 GB, free: 10.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.7957, allocations: 238.3 kB / 1.107 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.7958, allocations: 37.7 kB / 1.107 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.309e-05/0.7959, allocations: 93.44 kB / 1.107 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.7959, allocations: 35.52 kB / 1.107 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.281e-05/0.796, allocations: 4 kB / 1.107 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.7961, allocations: 322.8 kB / 1.107 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.7963, allocations: 84.22 kB / 1.107 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.7965, allocations: 146.1 kB / 1.108 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.7966, allocations: 71.14 kB / 1.108 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.7966, allocations: 0 / 1.108 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005491/0.7972, allocations: 327.6 kB / 1.108 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.7973, allocations: 72.48 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.7973, allocations: 1.625 kB / 1.108 GB, free: 8.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.7973, allocations: 4 kB / 1.108 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.7975, allocations: 31.91 kB / 1.108 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.7975, allocations: 4 kB / 1.108 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/0.7979, allocations: 44 kB / 1.108 GB, free: 8.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-05/0.798, allocations: 55.98 kB / 1.108 GB, free: 8.426 MB / 0.7136 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.0001249/0.7981, allocations: 128.6 kB / 1.108 GB, free: 8.297 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000287/0.7984, allocations: 209.2 kB / 1.108 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.7985, allocations: 23.72 kB / 1.108 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.557e-05/0.7985, allocations: 30.03 kB / 1.109 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.7985, allocations: 0 / 1.109 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.7985, allocations: 0 / 1.109 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.7985, allocations: 4 kB / 1.109 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006641/0.7992, allocations: 0.5249 MB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7992, allocations: 3.875 kB / 1.109 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-05/0.7993, allocations: 8 kB / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.7993, allocations: 0 / 1.109 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.7993, allocations: 19.97 kB / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.7993, allocations: 0 / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7993, allocations: 0 / 1.109 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.7997, allocations: 313 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.7999, allocations: 156.7 kB / 1.11 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.7999, allocations: 4 kB / 1.11 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.8001, allocations: 15.98 kB / 1.11 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.613e-05/0.8002, allocations: 15.89 kB / 1.11 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.8002, allocations: 31.97 kB / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001794/0.8004, allocations: 195.8 kB / 1.11 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8004, allocations: 0 / 1.11 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003506/0.8008, allocations: 48 kB / 1.11 GB, free: 6.633 MB / 0.7136 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.0006834/0.8015, allocations: 0.856 MB / 1.111 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.8019, allocations: 333.2 kB / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.802, allocations: 384 / 1.111 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.8021, allocations: 67.91 kB / 1.111 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002521/0.8023, allocations: 22.59 kB / 1.111 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.803, allocations: 326.3 kB / 1.111 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.8033, allocations: 0.7513 MB / 1.112 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001386/0.8035, allocations: 41.19 kB / 1.112 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.8036, allocations: 51.36 kB / 1.112 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.8036, allocations: 0 / 1.112 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.8254, allocations: 4.915 MB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/0.8256, allocations: 163.3 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.396, allocations: 0 / 1.117 GB, free: 15.07 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)