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.001582/0.001582, 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.001491/0.001491, allocations: 197.6 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.552/1.552, 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.019/3.019, allocations: 472.6 MB / 0.7447 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.25 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.397, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003589/0.4007, allocations: 1.789 MB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001757/0.4025, allocations: 0.6934 MB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.386e-05/0.4026, allocations: 4 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.4028, allocations: 3.938 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000166/0.403, allocations: 35.84 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.4039, allocations: 331.5 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006077/0.4045, allocations: 0.5306 MB / 1.071 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.4047, allocations: 33.09 kB / 1.071 GB, free: 7.484 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.4051, allocations: 326.9 kB / 1.071 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.4054, allocations: 171.3 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.231e-05/0.4055, allocations: 16 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.868e-05/0.4056, allocations: 16 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.4057, allocations: 123.4 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.406, allocations: 206.8 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.4066, allocations: 0.5766 MB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4066, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4066, allocations: 0 / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.4066, allocations: 0 / 1.072 GB, free: 6.062 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.001472/0.4081, allocations: 0.9054 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.4082, allocations: 8.031 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.4084, allocations: 52.47 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.4088, allocations: 334.1 kB / 1.074 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.961e-05/0.4089, allocations: 28.55 kB / 1.074 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4091, allocations: 28.36 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001082/0.4102, allocations: 230 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.4102, allocations: 3.938 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.327e-05/0.4102, allocations: 4 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.4102, allocations: 4 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008351/0.4111, allocations: 119.9 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.4124, allocations: 0.6758 MB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.4135, allocations: 194.4 kB / 1.075 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/0.4143, allocations: 116.8 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.4144, allocations: 4 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/0.4155, allocations: 235.3 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.4155, allocations: 0 / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002743/0.4182, allocations: 492.9 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.4183, allocations: 63.41 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004987/0.4188, allocations: 441.9 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.614e-05/0.4189, allocations: 37.7 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.419, allocations: 109.3 kB / 1.076 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.419, allocations: 35.55 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002312/0.4193, allocations: 149.1 kB / 1.076 GB, free: 1.598 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4194, allocations: 322.8 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/0.4197, allocations: 143.9 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003191/0.4201, allocations: 194.6 kB / 1.077 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004653/0.4205, allocations: 303.1 kB / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4206, allocations: 0 / 1.077 GB, free: 0.5938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009437/0.4215, allocations: 0.5233 MB / 1.078 GB, free: 56 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.4216, allocations: 95.38 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4217, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.4217, allocations: 4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.4219, allocations: 28.11 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.098e-06/0.4219, allocations: 0 / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005396/0.4225, allocations: 63.78 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-05/0.4226, allocations: 63.92 kB / 1.078 GB, free: 15.79 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.0002874/0.4228, allocations: 212.3 kB / 1.078 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.449e-05/0.4229, allocations: 47.52 kB / 1.078 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.273e-05/0.423, allocations: 39.8 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.423, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.423, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.423, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.4253, allocations: 0.7987 MB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4253, allocations: 0 / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.221e-05/0.4254, allocations: 11.98 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.4254, allocations: 3.984 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.4254, allocations: 19.92 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4255, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4255, allocations: 3.938 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.4272, allocations: 480.5 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002863/0.4275, allocations: 244.5 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.316e-05/0.4276, allocations: 19.94 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004884/0.4281, allocations: 35.97 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.4282, allocations: 11.92 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.4282, allocations: 55.97 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003347/0.4286, allocations: 319.1 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4286, allocations: 0 / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004195/0.429, allocations: 71.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.0002137/0.4292, allocations: 136.4 kB / 1.08 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001416/0.4307, allocations: 470.4 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.4307, allocations: 0 / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008062/0.4315, allocations: 128.3 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.4319, allocations: 46.72 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.4337, allocations: 0.7171 MB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4341, allocations: 0.7905 MB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.138e-05/0.4342, allocations: 17.42 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.4343, allocations: 15.44 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of SimCode: time 6.72e-07/0.4343, allocations: 0 / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of Templates: time 0.01148/0.4458, allocations: 5.446 MB / 1.088 GB, free: 5.406 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)