Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00195/0.00195, allocations: 196.2 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.093/3.093, allocations: 472.6 MB / 0.7447 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 66.83 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4479/0.4492, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003488/0.4527, allocations: 1.795 MB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001765/0.4545, allocations: 0.6907 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4547, allocations: 4 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.4548, allocations: 3.938 kB / 1.07 GB, free: 8.328 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002805/0.4551, allocations: 31.86 kB / 1.07 GB, free: 8.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.4562, allocations: 335.5 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007687/0.457, allocations: 0.5306 MB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.4572, allocations: 41 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005038/0.4577, allocations: 322.9 kB / 1.071 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.458, allocations: 171.3 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.927e-05/0.4581, allocations: 12 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.765e-05/0.4582, allocations: 16 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.4584, allocations: 119.4 kB / 1.072 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.4587, allocations: 202.7 kB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008564/0.4596, allocations: 0.5844 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.4596, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4596, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.828e-06/0.4596, allocations: 0 / 1.072 GB, free: 5.984 MB / 0.8262 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.002044/0.4617, allocations: 0.9093 MB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 7.058e-05/0.4617, allocations: 12.03 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001732/0.4619, allocations: 48.47 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005957/0.4625, allocations: 330.2 kB / 1.074 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.511e-05/0.4626, allocations: 24.55 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.4627, allocations: 28.36 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.4639, allocations: 243.6 kB / 1.074 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.4639, allocations: 3.938 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.808e-05/0.4639, allocations: 4 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4639, allocations: 0 / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000944/0.4649, allocations: 115.9 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001521/0.4664, allocations: 0.6758 MB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.4676, allocations: 194.4 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008216/0.4684, allocations: 112.8 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.4685, allocations: 0 / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/0.4696, allocations: 231.3 kB / 1.075 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.305e-06/0.4696, allocations: 4 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002903/0.4725, allocations: 0.491 MB / 1.076 GB, free: 2.375 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.4726, allocations: 63.33 kB / 1.076 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.4732, allocations: 441.9 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.788e-05/0.4733, allocations: 37.7 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.4734, allocations: 105.3 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.4734, allocations: 35.53 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.4738, allocations: 149.2 kB / 1.076 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002275/0.474, allocations: 326.8 kB / 1.077 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003625/0.4744, allocations: 139.9 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003786/0.4747, allocations: 189.9 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.4752, allocations: 302.6 kB / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4752, allocations: 0 / 1.077 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001065/0.4763, allocations: 0.518 MB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.4764, allocations: 97.05 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.4765, allocations: 7.938 kB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.4765, allocations: 11.88 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001902/0.4767, allocations: 19.97 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4767, allocations: 4 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/0.4773, allocations: 59.98 kB / 1.078 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.49e-05/0.4775, allocations: 71.86 kB / 1.078 GB, free: 15.71 MB / 0.8419 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 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004237/0.4779, allocations: 208.4 kB / 1.078 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.478, allocations: 39.52 kB / 1.078 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.941e-05/0.478, allocations: 35.8 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.478, allocations: 8 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4781, allocations: 0 / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.4781, allocations: 3.984 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/0.4806, allocations: 0.7928 MB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.4807, allocations: 0 / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.996e-05/0.4807, allocations: 7.984 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.4807, allocations: 4 kB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.446e-05/0.4808, allocations: 27.91 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.4808, allocations: 7.938 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.4808, allocations: 3.984 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.4827, allocations: 474.8 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.483, allocations: 244.5 kB / 1.08 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.856e-05/0.4831, allocations: 23.88 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006613/0.4838, allocations: 27.95 kB / 1.08 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.4838, allocations: 12 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.4839, allocations: 55.97 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000524/0.4845, allocations: 323.1 kB / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4845, allocations: 0 / 1.08 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007137/0.4852, allocations: 71.89 kB / 1.08 GB, free: 13.27 MB / 0.8419 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$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.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003073/0.4855, allocations: 128.4 kB / 1.08 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001926/0.4875, allocations: 480.6 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4875, allocations: 0 / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4886, allocations: 123.9 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005927/0.4892, allocations: 34.09 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002362/0.4916, allocations: 0.7176 MB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005818/0.4922, allocations: 0.7866 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.4923, allocations: 17.42 kB / 1.083 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.4924, allocations: 15.44 kB / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of SimCode: time 1.152e-06/0.4924, allocations: 0 / 1.083 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of Templates: time 0.0154/0.5078, allocations: 5.454 MB / 1.088 GB, free: 5.348 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1)