Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.CalendarTimeMonths,fileNamePrefix="Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Validation.CalendarTimeMonths,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.769/1.769, allocations: 292.6 MB / 307.5 MB, free: 5.156 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.001543/0.001543, allocations: 189.1 kB / 377.1 MB, free: 1.508 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.817/1.817, allocations: 205.4 MB / 0.6366 GB, free: 8.516 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.001153/0.001153, allocations: 101.9 kB / 0.7509 GB, free: 62.95 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.000356, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3172/0.3176, allocations: 116.3 MB / 0.9884 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8713/1.189, allocations: 141.6 MB / 1.127 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.189, allocations: 70.5 kB / 1.127 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01391/1.203, allocations: 4.565 MB / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.102e-06/1.203, allocations: 0 / 1.131 GB, free: 30.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.203, allocations: 0 / 1.131 GB, free: 30.29 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.0007066/1.204, allocations: 0.6693 MB / 1.132 GB, free: 29.56 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/1.204, allocations: 16.02 kB / 1.132 GB, free: 29.55 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.745e-05/1.204, allocations: 34.56 kB / 1.132 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.803e-05/1.204, allocations: 33.25 kB / 1.132 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/1.204, allocations: 252.5 kB / 1.132 GB, free: 29.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/1.205, allocations: 15.98 kB / 1.132 GB, free: 29.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.446e-05/1.205, allocations: 23.44 kB / 1.132 GB, free: 29.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008544/1.205, allocations: 211.4 kB / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.205, allocations: 0 / 1.132 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/1.206, allocations: 4 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/1.206, allocations: 0.8906 kB / 1.132 GB, free: 29.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006888/1.206, allocations: 113.4 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/1.207, allocations: 320.3 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009509/1.208, allocations: 189.9 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/1.208, allocations: 0.6094 kB / 1.133 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/1.208, allocations: 222.5 kB / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.575e-06/1.208, allocations: 0 / 1.133 GB, free: 28.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002298/1.211, allocations: 484.2 kB / 1.134 GB, free: 27.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/1.211, allocations: 65.89 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002308/1.211, allocations: 252.6 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.711e-05/1.211, allocations: 38.83 kB / 1.134 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/1.211, allocations: 95.06 kB / 1.134 GB, free: 27.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/1.211, allocations: 39.02 kB / 1.134 GB, free: 27.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/1.211, allocations: 8 kB / 1.134 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.838e-05/1.211, allocations: 327.6 kB / 1.135 GB, free: 27.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002242/1.212, allocations: 91.03 kB / 1.135 GB, free: 27.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002411/1.212, allocations: 143.3 kB / 1.135 GB, free: 26.9 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/1.212, allocations: 157.8 kB / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/1.212, allocations: 0 / 1.135 GB, free: 26.74 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006622/1.213, allocations: 399.8 kB / 1.135 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.074e-05/1.213, allocations: 77.08 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.213, allocations: 9.312 kB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/1.213, allocations: 4 kB / 1.135 GB, free: 26.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/1.213, allocations: 17.42 kB / 1.135 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/1.213, allocations: 8.594 kB / 1.135 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/1.213, allocations: 46.88 kB / 1.135 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/1.213, allocations: 36.22 kB / 1.135 GB, free: 26.19 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.0001653/1.214, allocations: 172.9 kB / 1.136 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/1.214, allocations: 28.38 kB / 1.136 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.366e-05/1.214, allocations: 27.94 kB / 1.136 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/1.214, allocations: 11.89 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/1.214, allocations: 0 / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.214, allocations: 1.219 kB / 1.136 GB, free: 25.97 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001939/1.216, allocations: 0.7041 MB / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.216, allocations: 0 / 1.136 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/1.216, allocations: 13.83 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.216, allocations: 5.172 kB / 1.136 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/1.216, allocations: 14.38 kB / 1.136 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.216, allocations: 0 / 1.136 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.216, allocations: 1.422 kB / 1.136 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/1.217, allocations: 468.9 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/1.218, allocations: 161.7 kB / 1.137 GB, free: 24.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.079e-05/1.218, allocations: 18.72 kB / 1.137 GB, free: 24.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/1.218, allocations: 31.41 kB / 1.137 GB, free: 24.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/1.218, allocations: 7.516 kB / 1.137 GB, free: 24.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.282e-05/1.218, allocations: 51.05 kB / 1.137 GB, free: 24.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001638/1.218, allocations: 205 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.218, allocations: 4 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003232/1.219, allocations: 53.88 kB / 1.137 GB, free: 24.41 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.001776/1.22, allocations: 1.016 MB / 1.138 GB, free: 23.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001075/1.222, allocations: 403.1 kB / 1.139 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/1.222, allocations: 0.9375 kB / 1.139 GB, free: 23.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006923/1.222, allocations: 129.2 kB / 1.139 GB, free: 22.96 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/1.222, allocations: 17.66 kB / 1.139 GB, free: 22.95 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/1.224, allocations: 1.654 MB / 1.14 GB, free: 21.28 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000198/1.224, allocations: 0.7494 MB / 1.141 GB, free: 20.53 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.967e-05/1.224, allocations: 11.56 kB / 1.141 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/1.224, allocations: 27.05 kB / 1.141 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/1.224, allocations: 0 / 1.141 GB, free: 20.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01896/1.243, allocations: 4.917 MB / 1.146 GB, free: 17.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/1.244, allocations: 187.5 kB / 1.146 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.806/3.05, allocations: 0 / 1.146 GB, free: 17.47 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths_fmu --startTime=172800 --stopTime=345600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Time_Validation_CalendarTimeMonths.fmu > Buildings_8_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)