Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001633/0.001633, allocations: 191.2 kB / 16.14 MB, free: 6.688 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.528/1.528, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 472.6 MB / 0.7447 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 58.78 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4165, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003535/0.4201, allocations: 1.791 MB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.4216, allocations: 0.692 MB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.4217, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.4219, allocations: 3.938 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.422, allocations: 31.84 kB / 1.07 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008401/0.4229, allocations: 342.5 kB / 1.07 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.4234, allocations: 0.5228 MB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.4236, allocations: 37.08 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.424, allocations: 322.9 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002726/0.4243, allocations: 171.3 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.4244, allocations: 19.94 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.4245, allocations: 16 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.4247, allocations: 119.4 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002507/0.4249, allocations: 202.8 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006097/0.4255, allocations: 0.5766 MB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4256, allocations: 4 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.82e-07/0.4256, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4256, allocations: 0 / 1.072 GB, free: 6.066 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.001394/0.427, allocations: 0.9054 MB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.427, allocations: 8.031 kB / 1.073 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.4272, allocations: 56.45 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.4276, allocations: 334.1 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.581e-05/0.4277, allocations: 24.55 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.098e-05/0.4278, allocations: 32.36 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.4289, allocations: 231.5 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.4289, allocations: 3.938 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.4289, allocations: 4 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.4289, allocations: 4 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.4298, allocations: 111.9 kB / 1.074 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.4312, allocations: 0.6836 MB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.4323, allocations: 182.5 kB / 1.075 GB, free: 3.316 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008138/0.4331, allocations: 116.8 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.4331, allocations: 4 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.4343, allocations: 241.2 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.4343, allocations: 3.938 kB / 1.075 GB, free: 2.945 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002871/0.4372, allocations: 492.9 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.4372, allocations: 63.34 kB / 1.076 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004712/0.4377, allocations: 437.9 kB / 1.076 GB, free: 1.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.4378, allocations: 49.69 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.4379, allocations: 101.3 kB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.4379, allocations: 39.55 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.4382, allocations: 141.2 kB / 1.076 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4383, allocations: 326.8 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003128/0.4386, allocations: 135.9 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.439, allocations: 203.6 kB / 1.077 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.4394, allocations: 295 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4394, allocations: 4 kB / 1.077 GB, free: 0.6016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008866/0.4403, allocations: 0.523 MB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.4404, allocations: 95.38 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.4404, allocations: 0 / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.4404, allocations: 7.938 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.4406, allocations: 19.98 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.4406, allocations: 7.938 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005376/0.4412, allocations: 67.97 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.141e-05/0.4413, allocations: 59.92 kB / 1.078 GB, free: 15.8 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.0002636/0.4415, allocations: 216.3 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.379e-05/0.4416, allocations: 39.53 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.4417, allocations: 43.78 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.4417, allocations: 4 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.4417, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4417, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/0.4441, allocations: 0.7949 MB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.4441, allocations: 0 / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.4441, allocations: 7.938 kB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4441, allocations: 0 / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.418e-05/0.4442, allocations: 23.91 kB / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4442, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4442, allocations: 0 / 1.079 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.446, allocations: 484.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.4463, allocations: 244.5 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4464, allocations: 23.88 kB / 1.08 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004927/0.4469, allocations: 31.97 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.447, allocations: 11.98 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.4471, allocations: 59.97 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003201/0.4474, allocations: 315.1 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4474, allocations: 3.938 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004155/0.4478, allocations: 75.89 kB / 1.08 GB, free: 13.35 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.0002146/0.448, allocations: 132.4 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.4494, allocations: 474.5 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4494, allocations: 3.938 kB / 1.081 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.4502, allocations: 115.9 kB / 1.081 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004378/0.4507, allocations: 46.16 kB / 1.081 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.4524, allocations: 0.7133 MB / 1.082 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.4527, allocations: 0.7905 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.666e-05/0.4528, allocations: 17.42 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.4529, allocations: 19.38 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of SimCode: time 2e-07/0.4529, allocations: 0 / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.00966/0.4626, allocations: 5.441 MB / 1.088 GB, free: 5.418 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1)