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.001351/0.001351, 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.001594/0.001594, allocations: 198.5 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.602/1.602, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.235/3.235, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 66.91 kB / 0.9114 GB, free: 33.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4395, allocations: 159.9 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003555/0.4431, allocations: 1.801 MB / 1.069 GB, free: 9.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.4448, allocations: 0.6869 MB / 1.07 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.173e-05/0.4449, allocations: 4 kB / 1.07 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001573/0.4451, allocations: 7.875 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001548/0.4453, allocations: 27.92 kB / 1.07 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008512/0.4461, allocations: 342.7 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005552/0.4467, allocations: 0.5383 MB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.4469, allocations: 37.08 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004619/0.4473, allocations: 318.9 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003921/0.4477, allocations: 167.3 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001524/0.4479, allocations: 16 kB / 1.071 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.448, allocations: 16 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001741/0.4482, allocations: 119.4 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.4485, allocations: 198.8 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008424/0.4494, allocations: 0.5844 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 1.195e-05/0.4494, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4494, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.092e-05/0.4494, 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.002288/0.4517, allocations: 0.9093 MB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 6.907e-05/0.4518, allocations: 8.031 kB / 1.073 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.452, allocations: 52.47 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005918/0.4526, allocations: 330.1 kB / 1.074 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.145e-05/0.4527, allocations: 28.55 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.792e-05/0.4528, allocations: 28.36 kB / 1.074 GB, free: 4.594 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.454, allocations: 234 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.454, allocations: 3.938 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.4541, allocations: 0 / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.421e-05/0.4541, allocations: 4 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008842/0.455, allocations: 123.8 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001577/0.4566, allocations: 0.6759 MB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/0.4577, allocations: 190.4 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007696/0.4585, allocations: 112.8 kB / 1.075 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.4585, allocations: 8 kB / 1.075 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/0.4597, allocations: 227.3 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.246e-06/0.4598, allocations: 3.938 kB / 1.075 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002848/0.4626, allocations: 499 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.4627, allocations: 67.39 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005688/0.4633, allocations: 441.9 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4634, allocations: 37.7 kB / 1.076 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.4635, allocations: 101.3 kB / 1.076 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.4636, allocations: 43.53 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.4639, allocations: 145.2 kB / 1.076 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.464, allocations: 322.8 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003278/0.4644, allocations: 139.9 kB / 1.077 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003516/0.4647, allocations: 193.9 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004357/0.4652, allocations: 299 kB / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4652, allocations: 0 / 1.077 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001004/0.4662, allocations: 0.5176 MB / 1.078 GB, free: 72 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.4663, allocations: 107.2 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.4663, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.4664, allocations: 4 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.4666, allocations: 27.92 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.4666, allocations: 8.172 kB / 1.078 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005901/0.4672, allocations: 59.8 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/0.4673, 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.0003276/0.4677, allocations: 208.3 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.921e-05/0.4678, allocations: 43.52 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.4679, allocations: 47.78 kB / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4679, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.4679, allocations: 0 / 1.078 GB, free: 15.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.4679, allocations: 4 kB / 1.078 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.4705, allocations: 0.7948 MB / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4705, allocations: 0 / 1.079 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.4705, allocations: 7.984 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4706, allocations: 0 / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.4706, allocations: 23.92 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4706, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4706, allocations: 0 / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.4726, allocations: 484.1 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003852/0.473, allocations: 248.4 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.4731, allocations: 19.94 kB / 1.08 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005229/0.4736, allocations: 35.95 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.577e-05/0.4737, allocations: 8 kB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-05/0.4738, allocations: 55.97 kB / 1.08 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003848/0.4742, allocations: 319.1 kB / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4742, allocations: 0 / 1.08 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005218/0.4747, 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.0002399/0.4749, allocations: 128.4 kB / 1.08 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001581/0.4765, allocations: 478.4 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4765, allocations: 0 / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008952/0.4774, allocations: 126.3 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.0005054/0.478, allocations: 44.53 kB / 1.081 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.48, 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.0005461/0.4805, allocations: 0.7866 MB / 1.083 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001103/0.4806, 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 5.196e-05/0.4807, allocations: 15.44 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of SimCode: time 1.022e-06/0.4807, allocations: 3.938 kB / 1.083 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.01168/0.4924, allocations: 5.448 MB / 1.088 GB, free: 5.418 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)