Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.773/1.773, allocations: 292.6 MB / 307.5 MB, free: 5.207 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.001187/0.001187, allocations: 186.9 kB / 377.1 MB, free: 1.512 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.944/1.944, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.000882/0.0008818, allocations: 86.69 kB / 0.7509 GB, free: 63.14 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003673, allocations: 8 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2936, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9045/1.198, allocations: 141.7 MB / 1.127 GB, free: 33.61 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.199, allocations: 70.27 kB / 1.127 GB, free: 33.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01412/1.213, allocations: 4.564 MB / 1.131 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.024e-06/1.213, allocations: 4 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.61e-05/1.213, allocations: 4 kB / 1.131 GB, free: 30.31 MB / 0.7292 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.0008487/1.214, allocations: 0.6703 MB / 1.132 GB, free: 29.58 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.214, allocations: 12.58 kB / 1.132 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.58e-05/1.214, allocations: 34.56 kB / 1.132 GB, free: 29.53 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/1.214, allocations: 37.94 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/1.214, allocations: 248.7 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.381e-05/1.214, allocations: 16.08 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/1.214, allocations: 19.44 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/1.215, allocations: 216.5 kB / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/1.215, allocations: 0 / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/1.215, allocations: 0 / 1.133 GB, free: 29.05 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/1.215, allocations: 8.562 kB / 1.133 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007399/1.216, allocations: 99.88 kB / 1.133 GB, free: 28.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/1.217, allocations: 324.5 kB / 1.133 GB, free: 28.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009892/1.218, allocations: 194.9 kB / 1.133 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/1.218, allocations: 4 kB / 1.133 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009147/1.219, allocations: 229.6 kB / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/1.219, allocations: 0 / 1.133 GB, free: 28.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002422/1.221, allocations: 480.6 kB / 1.134 GB, free: 27.93 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/1.221, allocations: 57.14 kB / 1.134 GB, free: 27.86 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/1.221, allocations: 261.4 kB / 1.134 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/1.221, allocations: 34.92 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/1.222, allocations: 90.55 kB / 1.134 GB, free: 27.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/1.222, allocations: 43.27 kB / 1.134 GB, free: 27.47 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/1.222, allocations: 8 kB / 1.134 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001058/1.222, allocations: 322.8 kB / 1.135 GB, free: 27.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/1.222, allocations: 99.41 kB / 1.135 GB, free: 27.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/1.222, allocations: 140.9 kB / 1.135 GB, free: 26.92 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/1.223, allocations: 157.2 kB / 1.135 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/1.223, allocations: 4 kB / 1.135 GB, free: 26.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007608/1.223, allocations: 400.2 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.332e-05/1.223, allocations: 73.03 kB / 1.135 GB, free: 26.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/1.223, allocations: 7.953 kB / 1.135 GB, free: 26.31 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/1.223, allocations: 4 kB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/1.224, allocations: 18.38 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/1.224, allocations: 8.5 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/1.224, allocations: 46.83 kB / 1.135 GB, free: 26.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.088e-05/1.224, allocations: 44.86 kB / 1.136 GB, free: 26.21 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0002053/1.224, allocations: 161.6 kB / 1.136 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/1.224, allocations: 25.12 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/1.224, allocations: 29.92 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/1.224, allocations: 7.953 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.224, allocations: 3.938 kB / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.224, allocations: 1.078 kB / 1.136 GB, free: 25.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/1.227, allocations: 0.7052 MB / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/1.227, allocations: 0 / 1.136 GB, free: 25.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/1.227, allocations: 13.06 kB / 1.136 GB, free: 25.33 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/1.227, allocations: 0.5 kB / 1.136 GB, free: 25.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.331e-05/1.227, allocations: 22.7 kB / 1.136 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.227, allocations: 4.75 kB / 1.136 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/1.227, allocations: 2.031 kB / 1.136 GB, free: 25.31 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001644/1.228, allocations: 461.8 kB / 1.137 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002268/1.229, allocations: 166.3 kB / 1.137 GB, free: 24.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.414e-05/1.229, allocations: 13.22 kB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/1.229, allocations: 36.02 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/1.229, allocations: 11.09 kB / 1.137 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/1.229, allocations: 43.28 kB / 1.137 GB, free: 24.66 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002171/1.23, allocations: 204.8 kB / 1.137 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/1.23, allocations: 0.6562 kB / 1.137 GB, free: 24.49 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003675/1.23, allocations: 54.25 kB / 1.137 GB, free: 24.44 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * 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.001971/1.232, allocations: 1.015 MB / 1.138 GB, free: 23.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.233, allocations: 410.5 kB / 1.139 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/1.233, allocations: 0 / 1.139 GB, free: 23.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007425/1.234, allocations: 126.8 kB / 1.139 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/1.234, allocations: 19.98 kB / 1.139 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/1.236, allocations: 1.653 MB / 1.141 GB, free: 21.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/1.237, allocations: 0.7457 MB / 1.141 GB, free: 20.55 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.124e-05/1.237, allocations: 16.36 kB / 1.141 GB, free: 20.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.218e-05/1.237, allocations: 22.86 kB / 1.141 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/1.237, allocations: 0 / 1.141 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/1.257, allocations: 4.921 MB / 1.146 GB, free: 17.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001631/1.257, allocations: 191.2 kB / 1.146 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/3.413, allocations: 0 / 1.146 GB, free: 17.49 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus_fmu --startTime=172799 --stopTime=345599 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)