Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.239/2.239, allocations: 251.1 MB / 266.7 MB, free: 11.56 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.001443/0.001443, allocations: 177.9 kB / 326.2 MB, free: 2.848 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.309/2.309, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.0009458/0.0009452, allocations: 100.4 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004986/0.0004989, allocations: 16.03 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 106.3 MB / 0.8995 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2228/0.4325, allocations: 133.7 MB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003166/0.4329, allocations: 75.95 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.458, allocations: 5.217 MB / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4581, allocations: 0 / 1.035 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.708e-05/0.4581, allocations: 8 kB / 1.035 GB, free: 6.316 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001399/0.4595, allocations: 0.6481 MB / 1.036 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4596, allocations: 12.03 kB / 1.036 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.4597, allocations: 36.56 kB / 1.036 GB, free: 5.547 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005114/0.4603, allocations: 276.4 kB / 1.036 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.573e-05/0.4603, allocations: 12.38 kB / 1.036 GB, free: 5.227 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4605, allocations: 28.36 kB / 1.036 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.461, allocations: 166 kB / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.461, allocations: 192 / 1.036 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.4611, allocations: 11.94 kB / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.4611, allocations: 0 / 1.036 GB, free: 5.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002552/0.4613, allocations: 55.97 kB / 1.036 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.4631, allocations: 0.5977 MB / 1.037 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004847/0.4636, allocations: 142.6 kB / 1.037 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.4639, allocations: 56.84 kB / 1.037 GB, free: 4.109 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.4639, allocations: 7.984 kB / 1.037 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006965/0.4646, allocations: 220.2 kB / 1.037 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.276e-06/0.4647, allocations: 0 / 1.037 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001093/0.4658, allocations: 286.8 kB / 1.038 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.4659, allocations: 63.41 kB / 1.038 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005326/0.4664, allocations: 316.4 kB / 1.038 GB, free: 3.195 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/0.4665, allocations: 41.7 kB / 1.038 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.4666, allocations: 93.12 kB / 1.038 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.4667, allocations: 51.38 kB / 1.038 GB, free: 3.004 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.4668, allocations: 8 kB / 1.038 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.467, allocations: 326.8 kB / 1.039 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.4675, allocations: 120.2 kB / 1.039 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.468, allocations: 170.4 kB / 1.039 GB, free: 2.359 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.4686, allocations: 169 kB / 1.039 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.4686, allocations: 4 kB / 1.039 GB, free: 2.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001397/0.47, allocations: 456.5 kB / 1.039 GB, free: 1.715 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.4701, allocations: 75.39 kB / 1.04 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.4702, allocations: 4 kB / 1.04 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.4702, allocations: 4 kB / 1.04 GB, free: 1.621 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002624/0.4705, allocations: 31.91 kB / 1.04 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4705, allocations: 0 / 1.04 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.4712, allocations: 56 kB / 1.04 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.4713, allocations: 47.98 kB / 1.04 GB, free: 1.488 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.calTim.firstDaySampling,calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.firstHourSampling,$whenCondition3,calTim.calTim.hourSampleTrigger,$whenCondition4,calTim.calTim.daySampleTrigger,$whenCondition2,$whenCondition1,$PRE.calTim.calTim.year,calTim.calTim.year,$PRE.calTim.calTim.month,calTim.calTim.month,$PRE.calTim.calTim.day,calTim.calTim.day,$PRE.calTim.calTim.hour,calTim.calTim.hour,$PRE.calTim.calTim.weekDay,calTim.calTim.weekDay,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.yearIndex,calTim.calTim.yearIndex,$PRE.calTim.calTim.epochLastMonth,calTim.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.0004043/0.4717, allocations: 189.7 kB / 1.04 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.4718, allocations: 31.61 kB / 1.04 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.37e-05/0.4719, allocations: 34.34 kB / 1.04 GB, free: 1.227 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4719, allocations: 4 kB / 1.04 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.472, allocations: 4 kB / 1.04 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.472, allocations: 0 / 1.04 GB, free: 1.219 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4733, allocations: 0.5939 MB / 1.04 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.4733, allocations: 7.938 kB / 1.041 GB, free: 0.5625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.222e-05/0.4734, allocations: 11.98 kB / 1.041 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4734, allocations: 0 / 1.041 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.089e-05/0.4735, allocations: 11.98 kB / 1.041 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.4735, allocations: 4 kB / 1.041 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4735, allocations: 4 kB / 1.041 GB, free: 0.5312 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007028/0.4742, allocations: 330.9 kB / 1.041 GB, free: 196 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003582/0.4746, allocations: 184.7 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.166e-05/0.4747, allocations: 8 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.475, allocations: 15.98 kB / 1.041 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.776e-05/0.4751, allocations: 15.92 kB / 1.041 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.825e-05/0.4752, allocations: 35.97 kB / 1.041 GB, free: 15.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003517/0.4755, allocations: 227 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4755, allocations: 3.938 kB / 1.041 GB, free: 15.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005831/0.4761, allocations: 56 kB / 1.041 GB, free: 15.63 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.yearIndex,calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.firstHourSampling,calTim.calTim.hour,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.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.0002552/0.4764, allocations: 129.2 kB / 1.041 GB, free: 15.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001116/0.4775, allocations: 372.4 kB / 1.042 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4776, allocations: 8.375 kB / 1.042 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002588/0.4778, allocations: 79.89 kB / 1.042 GB, free: 15.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.4784, allocations: 25.39 kB / 1.042 GB, free: 15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.4797, allocations: 500 kB / 1.042 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004398/0.4801, allocations: 0.7516 MB / 1.043 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002845/0.4804, allocations: 45.41 kB / 1.043 GB, free: 13.66 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.4807, allocations: 35.42 kB / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of SimCode: time 1.253e-06/0.4807, allocations: 0 / 1.043 GB, free: 13.63 MB / 0.698 GB Notification: Performance of Templates: time 0.01396/0.4946, allocations: 4.759 MB / 1.048 GB, free: 8.871 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.CalendarTimeMonths.pipe 2>&1)