Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.651/1.651, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001057/0.001057, allocations: 168.9 kB / 361.4 MB, free: 6.863 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.436/1.436, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0009576/0.0009577, allocations: 100.3 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.608e-05/2.612e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6539/0.654, allocations: 115.3 MB / 0.9644 GB, free: 78.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.8471, allocations: 139.1 MB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.8473, allocations: 75.73 kB / 1.1 GB, free: 0.5273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01342/0.8608, allocations: 4.427 MB / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8608, allocations: 0 / 1.105 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.291e-05/0.8608, allocations: 4 kB / 1.105 GB, free: 12.18 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.0007803/0.8616, allocations: 0.5753 MB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.8617, allocations: 12.03 kB / 1.105 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.8618, allocations: 32.75 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.8621, allocations: 254.6 kB / 1.106 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.8621, allocations: 11.98 kB / 1.106 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.8622, allocations: 12 kB / 1.106 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001084/0.8623, allocations: 39.98 kB / 1.106 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.8625, allocations: 145.5 kB / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.8626, allocations: 0 / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.8626, allocations: 0 / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.8626, allocations: 0 / 1.106 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.8629, allocations: 309.8 kB / 1.106 GB, free: 10.65 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.8631, allocations: 118.7 kB / 1.106 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.301e-05/0.8632, allocations: 52.84 kB / 1.106 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.8633, allocations: 4 kB / 1.106 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003585/0.8636, allocations: 212.9 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.8636, allocations: 0 / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0003914/0.864, allocations: 206.2 kB / 1.107 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.8641, allocations: 63.39 kB / 1.107 GB, free: 9.965 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.8643, allocations: 238.3 kB / 1.107 GB, free: 9.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.8644, allocations: 33.7 kB / 1.107 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.253e-05/0.8645, allocations: 97.44 kB / 1.107 GB, free: 9.586 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.911e-05/0.8645, allocations: 43.5 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.8645, allocations: 4 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8647, allocations: 318.8 kB / 1.107 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.8648, allocations: 92.14 kB / 1.107 GB, free: 9.125 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.865, allocations: 134.2 kB / 1.108 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.8652, allocations: 69.83 kB / 1.108 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.8652, allocations: 4 kB / 1.108 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000542/0.8658, allocations: 322 kB / 1.108 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/0.8658, allocations: 82.23 kB / 1.108 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.8658, allocations: 6.938 kB / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.8659, allocations: 0 / 1.108 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.8661, allocations: 31.91 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.8661, allocations: 1.719 kB / 1.108 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000361/0.8665, allocations: 43.88 kB / 1.108 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.638e-05/0.8665, allocations: 51.98 kB / 1.108 GB, free: 8.363 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.0001175/0.8667, allocations: 135.1 kB / 1.108 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000291/0.867, allocations: 201.2 kB / 1.109 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.867, allocations: 23.72 kB / 1.109 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.8671, allocations: 31.16 kB / 1.109 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.8671, allocations: 0 / 1.109 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8671, allocations: 4 kB / 1.109 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.8671, allocations: 3.984 kB / 1.109 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006416/0.8677, allocations: 0.5318 MB / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8678, allocations: 0 / 1.109 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.8678, allocations: 4 kB / 1.109 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.8678, allocations: 4 kB / 1.109 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.8678, allocations: 11.97 kB / 1.109 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8678, allocations: 3.938 kB / 1.109 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.8679, allocations: 4 kB / 1.109 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.8682, allocations: 311 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.8684, allocations: 151.7 kB / 1.11 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.441e-05/0.8684, allocations: 8 kB / 1.11 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001744/0.8686, allocations: 13.86 kB / 1.11 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.8687, allocations: 19.89 kB / 1.11 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.87e-05/0.8687, allocations: 31.97 kB / 1.11 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001699/0.8689, allocations: 190 kB / 1.11 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8689, allocations: 0 / 1.11 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003382/0.8692, allocations: 44 kB / 1.11 GB, free: 6.57 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.0006754/0.8699, allocations: 0.8638 MB / 1.111 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0004495/0.8704, allocations: 330.8 kB / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.8704, allocations: 0 / 1.111 GB, free: 5.336 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.872e-05/0.8705, allocations: 64.36 kB / 1.111 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.8708, allocations: 18.25 kB / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/0.8715, allocations: 330.3 kB / 1.111 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.8718, allocations: 0.759 MB / 1.112 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001317/0.872, allocations: 33.2 kB / 1.112 GB, free: 4.086 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.8721, allocations: 48.3 kB / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.8721, allocations: 0 / 1.112 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02342/0.8955, allocations: 4.935 MB / 1.117 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.8958, allocations: 160.6 kB / 1.117 GB, free: 15 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.476, allocations: 0 / 1.117 GB, free: 15 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus_fmu --startTime=172801 --stopTime=345601 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)