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.00137/0.00137, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001954/0.001954, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.479/1.479, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.895/2.895, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 68.02 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4408/0.4421, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003997/0.4462, allocations: 1.743 MB / 1.07 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001666/0.4479, allocations: 0.6283 MB / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.448, allocations: 0 / 1.071 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.4482, allocations: 11.86 kB / 1.071 GB, free: 8.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.4484, allocations: 35.78 kB / 1.071 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.4496, allocations: 363.3 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0007841/0.4504, allocations: 0.6282 MB / 1.072 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.4505, allocations: 33.08 kB / 1.072 GB, free: 7.012 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006029/0.4511, allocations: 303.6 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003766/0.4515, allocations: 155.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.4517, allocations: 43.94 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.4518, allocations: 40 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.452, allocations: 127.6 kB / 1.072 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002975/0.4523, allocations: 219 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008568/0.4532, allocations: 0.5923 MB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4532, allocations: 4 kB / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4532, allocations: 0 / 1.073 GB, free: 5.543 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.4532, allocations: 0 / 1.073 GB, free: 5.543 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.001637/0.4548, allocations: 0.9148 MB / 1.074 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4549, allocations: 8.031 kB / 1.074 GB, free: 4.531 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.4551, allocations: 60.39 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.4555, allocations: 334.2 kB / 1.074 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.4556, allocations: 20.55 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.4557, allocations: 32.36 kB / 1.074 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.4568, allocations: 234 kB / 1.075 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4569, allocations: 3.938 kB / 1.075 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.42e-05/0.4569, allocations: 11.94 kB / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.4569, allocations: 0 / 1.075 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008057/0.4577, allocations: 111.9 kB / 1.075 GB, free: 3.695 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.4592, allocations: 0.6836 MB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4604, allocations: 178.5 kB / 1.075 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000784/0.4612, allocations: 124.1 kB / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4613, allocations: 0 / 1.076 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001046/0.4623, allocations: 239 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.434e-06/0.4623, allocations: 0 / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002988/0.4653, allocations: 499.1 kB / 1.076 GB, free: 1.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.837e-05/0.4654, allocations: 59.41 kB / 1.076 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.466, allocations: 433.9 kB / 1.077 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.4662, allocations: 49.69 kB / 1.077 GB, free: 1.359 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.4663, allocations: 101.3 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.4664, allocations: 43.47 kB / 1.077 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002502/0.4666, allocations: 137.2 kB / 1.077 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001901/0.4668, allocations: 334.8 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003148/0.4671, allocations: 135.9 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003584/0.4675, allocations: 199.5 kB / 1.078 GB, free: 400 kB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.468, allocations: 303.7 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.468, allocations: 0 / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009935/0.469, allocations: 0.5204 MB / 1.079 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.4691, allocations: 95.38 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4691, allocations: 4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.4691, allocations: 4 kB / 1.079 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.4694, allocations: 23.98 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.4694, allocations: 7.938 kB / 1.079 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005661/0.47, allocations: 59.78 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4701, allocations: 59.92 kB / 1.079 GB, free: 15.26 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.000378/0.4705, allocations: 224.3 kB / 1.079 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.823e-05/0.4706, allocations: 35.53 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.026e-05/0.4707, allocations: 43.78 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4707, allocations: 4 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.4707, allocations: 0 / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4707, allocations: 3.938 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002495/0.4732, allocations: 0.7908 MB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.4732, allocations: 0 / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.183e-05/0.4733, allocations: 7.938 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.4733, allocations: 0 / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.4733, allocations: 23.91 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4733, allocations: 4 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4733, allocations: 4 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.4752, allocations: 480.3 kB / 1.08 GB, free: 13.58 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003397/0.4756, allocations: 244.5 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.911e-05/0.4757, allocations: 15.94 kB / 1.081 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004985/0.4762, allocations: 31.97 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.4762, allocations: 7.984 kB / 1.081 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.4763, allocations: 63.97 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003642/0.4767, allocations: 311.1 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4767, allocations: 4 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000538/0.4772, allocations: 79.89 kB / 1.081 GB, free: 12.82 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.000257/0.4775, allocations: 135.9 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001765/0.4793, allocations: 480.4 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4793, allocations: 4.375 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.4801, allocations: 123.8 kB / 1.082 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.4806, allocations: 35.66 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.4824, allocations: 0.5985 MB / 1.082 GB, free: 11.4 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.483, allocations: 0.7902 MB / 1.083 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.984e-05/0.4831, allocations: 13.42 kB / 1.083 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.4832, allocations: 19.38 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.4832, allocations: 4 kB / 1.083 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of Templates: time 0.01176/0.495, allocations: 5.448 MB / 1.089 GB, free: 5.016 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)