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.CalendarTimeMonths.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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009994, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.007221/0.007221, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.569/1.569, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.154/3.154, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004836, allocations: 14.47 kB / 0.9158 GB, free: 33.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4338, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002394/0.4362, allocations: 1.452 MB / 1.076 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.4381, allocations: 0.6841 MB / 1.076 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.4382, allocations: 4 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.4384, allocations: 3.938 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.4386, allocations: 31.84 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.4396, allocations: 341.5 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006004/0.4402, allocations: 0.5344 MB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.4404, allocations: 25.09 kB / 1.077 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005145/0.4409, allocations: 322.9 kB / 1.077 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003161/0.4412, allocations: 163.3 kB / 1.078 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.4413, allocations: 12 kB / 1.078 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.578e-05/0.4414, allocations: 20 kB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.4416, allocations: 123.3 kB / 1.078 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.4419, allocations: 220.5 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006481/0.4425, allocations: 0.5687 MB / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4425, allocations: 0 / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.675e-06/0.4425, allocations: 0 / 1.079 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.4426, allocations: 0 / 1.079 GB, free: 3.027 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.001352/0.4439, allocations: 0.7808 MB / 1.079 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.231e-05/0.444, allocations: 12.03 kB / 1.079 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.4441, allocations: 52.47 kB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005027/0.4447, allocations: 334.1 kB / 1.08 GB, free: 1.73 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.571e-05/0.4447, allocations: 20.55 kB / 1.08 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.785e-05/0.4449, allocations: 32.36 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.446, allocations: 251.5 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.446, allocations: 3.938 kB / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.423e-05/0.446, allocations: 0 / 1.08 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.4461, allocations: 4 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008545/0.4469, allocations: 127.9 kB / 1.08 GB, free: 1.297 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.4484, allocations: 0.6797 MB / 1.081 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001132/0.4495, allocations: 202.5 kB / 1.081 GB, free: 368 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007885/0.4504, allocations: 124.8 kB / 1.081 GB, free: 240 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.4504, allocations: 4 kB / 1.081 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.4514, allocations: 239.2 kB / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.4515, allocations: 0 / 1.081 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002726/0.4542, allocations: 0.519 MB / 1.082 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.4543, allocations: 63.39 kB / 1.082 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.4548, allocations: 449.8 kB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.934e-05/0.4549, allocations: 37.7 kB / 1.082 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.455, allocations: 105.3 kB / 1.082 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.709e-05/0.455, allocations: 39.53 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/0.4551, allocations: 41.69 kB / 1.083 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.4553, allocations: 330.8 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002939/0.4556, allocations: 135.9 kB / 1.083 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.4559, allocations: 201.9 kB / 1.083 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.4564, allocations: 295.2 kB / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.4564, allocations: 0 / 1.083 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008765/0.4572, allocations: 0.524 MB / 1.084 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/0.4574, allocations: 95.31 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.4574, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.4574, allocations: 0 / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.4576, allocations: 27.97 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.4576, allocations: 8.125 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.4581, allocations: 71.73 kB / 1.084 GB, free: 12.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.202e-05/0.4582, allocations: 59.92 kB / 1.084 GB, free: 12.88 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.0002854/0.4585, allocations: 220.4 kB / 1.084 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.4586, allocations: 43.45 kB / 1.084 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.708e-05/0.4587, allocations: 43.8 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4587, allocations: 4 kB / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.4587, allocations: 0 / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4587, allocations: 0 / 1.084 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.4609, allocations: 0.8107 MB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.461, allocations: 0 / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.461, allocations: 11.92 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.461, allocations: 0 / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.4611, allocations: 19.92 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4611, allocations: 3.984 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.4611, allocations: 3.984 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001839/0.4629, allocations: 0.4949 MB / 1.086 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003256/0.4633, allocations: 236.5 kB / 1.086 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.6e-05/0.4634, allocations: 23.94 kB / 1.086 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004819/0.4638, allocations: 35.95 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.4639, allocations: 4 kB / 1.086 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-05/0.464, allocations: 63.97 kB / 1.086 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003868/0.4644, allocations: 319.1 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.91e-07/0.4644, allocations: 0 / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004628/0.4648, allocations: 71.92 kB / 1.087 GB, free: 10.39 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.0002441/0.4651, allocations: 134.1 kB / 1.087 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001463/0.4666, allocations: 486.5 kB / 1.087 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4666, allocations: 0 / 1.087 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007942/0.4674, allocations: 136.2 kB / 1.087 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.4678, allocations: 41.52 kB / 1.087 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.4697, allocations: 0.7319 MB / 1.088 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.4702, allocations: 0.7866 MB / 1.089 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.1e-05/0.4703, allocations: 17.42 kB / 1.089 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.787e-05/0.4703, allocations: 19.44 kB / 1.089 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of SimCode: time 2.004e-06/0.4703, allocations: 0 / 1.089 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of Templates: time 0.01145/0.4818, allocations: 5.413 MB / 1.094 GB, free: 2.461 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)