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.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008455/0.0008452, allocations: 98.27 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.006092/0.006092, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.336 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: 473.4 MB / 0.7469 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000659/0.000659, allocations: 19.03 kB / 0.9158 GB, free: 33.08 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4603/0.461, allocations: 162.2 MB / 1.074 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002132/0.4632, allocations: 1.452 MB / 1.076 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4648, allocations: 0.683 MB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.4648, allocations: 0 / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.465, allocations: 3.938 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001404/0.4651, allocations: 39.84 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008094/0.4659, allocations: 338.7 kB / 1.077 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.4665, allocations: 0.5306 MB / 1.077 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4666, allocations: 33.08 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004325/0.4671, allocations: 318.9 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.4674, allocations: 171.3 kB / 1.078 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.34e-05/0.4674, allocations: 12 kB / 1.078 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.566e-05/0.4675, allocations: 16 kB / 1.078 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.4677, allocations: 115.5 kB / 1.078 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002269/0.4679, allocations: 232.3 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005148/0.4684, allocations: 0.5648 MB / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4684, allocations: 0 / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.774e-06/0.4684, allocations: 0 / 1.079 GB, free: 3 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.4685, allocations: 0 / 1.079 GB, free: 3 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.001167/0.4696, allocations: 0.7808 MB / 1.079 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4697, allocations: 12.03 kB / 1.079 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4698, allocations: 52.47 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003942/0.4702, allocations: 334.1 kB / 1.08 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.66e-05/0.4703, allocations: 24.55 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.093e-05/0.4704, allocations: 32.36 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.4714, allocations: 247.5 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4715, allocations: 3.938 kB / 1.08 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.4715, allocations: 8 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4715, allocations: 0 / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008153/0.4723, allocations: 127.9 kB / 1.08 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.4737, allocations: 0.6758 MB / 1.081 GB, free: 0.5391 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.4748, allocations: 206.4 kB / 1.081 GB, free: 336 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007832/0.4756, allocations: 124.8 kB / 1.081 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.682e-05/0.4756, allocations: 7.984 kB / 1.081 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/0.4766, allocations: 243.2 kB / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=16): time 1.953e-06/0.4767, allocations: 0 / 1.081 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16): time 0.002684/0.4794, allocations: 0.5126 MB / 1.082 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.4794, allocations: 67.39 kB / 1.082 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.4799, allocations: 441.8 kB / 1.082 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.402e-05/0.48, allocations: 37.7 kB / 1.082 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.082e-05/0.4801, allocations: 105.3 kB / 1.082 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.4802, allocations: 39.55 kB / 1.082 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.4803, allocations: 41.69 kB / 1.083 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.4804, allocations: 326.8 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.4807, allocations: 143.9 kB / 1.083 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003206/0.481, allocations: 193.9 kB / 1.083 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.4815, allocations: 294.7 kB / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4815, allocations: 0 / 1.083 GB, free: 13.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001005/0.4825, allocations: 0.5316 MB / 1.084 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.4826, allocations: 99.38 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.4826, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4826, allocations: 8.188 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.4828, allocations: 23.91 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4828, allocations: 4 kB / 1.084 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005171/0.4834, allocations: 71.73 kB / 1.084 GB, free: 12.91 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.039e-05/0.4835, allocations: 63.86 kB / 1.084 GB, free: 12.85 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.0003032/0.4838, allocations: 220.3 kB / 1.084 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.4838, allocations: 35.53 kB / 1.084 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.891e-05/0.4839, allocations: 39.8 kB / 1.084 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4839, allocations: 4 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4839, allocations: 0 / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4839, allocations: 3.984 kB / 1.085 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002424/0.4864, allocations: 0.8146 MB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4864, allocations: 0 / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.4864, allocations: 7.984 kB / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4864, allocations: 0 / 1.085 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.021e-05/0.4865, allocations: 23.92 kB / 1.085 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.4865, allocations: 7.984 kB / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4865, allocations: 0 / 1.085 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001996/0.4885, allocations: 498.8 kB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/0.4888, allocations: 244.5 kB / 1.086 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.46e-05/0.4889, allocations: 15.94 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004885/0.4894, allocations: 39.95 kB / 1.086 GB, free: 10.81 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.4895, allocations: 12 kB / 1.086 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-05/0.4896, allocations: 59.97 kB / 1.086 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003568/0.4899, allocations: 327 kB / 1.086 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.7e-07/0.49, allocations: 0 / 1.086 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004492/0.4904, allocations: 64 kB / 1.087 GB, free: 10.36 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.0002531/0.4907, allocations: 128.4 kB / 1.087 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001418/0.4921, allocations: 495.8 kB / 1.087 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4921, allocations: 0 / 1.087 GB, free: 9.715 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.4929, allocations: 132.3 kB / 1.087 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.4934, allocations: 35.36 kB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.4952, allocations: 0.738 MB / 1.088 GB, free: 8.793 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.4957, allocations: 0.7905 MB / 1.089 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.878e-05/0.4957, allocations: 17.42 kB / 1.089 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.244e-05/0.4958, allocations: 11.44 kB / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of SimCode: time 9.02e-07/0.4958, allocations: 0 / 1.089 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of Templates: time 0.01235/0.5081, allocations: 5.414 MB / 1.094 GB, free: 2.434 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1)