Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009845/0.0009907, allocations: 97.64 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.007008/0.007008, allocations: 169.8 kB / 16.27 MB, free: 6.66 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.54/1.54, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006043, allocations: 8.156 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3544, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.001635/0.3561, allocations: 1.228 MB / 1.075 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3573, allocations: 0.5907 MB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.3574, allocations: 0 / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.486e-05/0.3575, allocations: 11.92 kB / 1.076 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.3576, allocations: 19.88 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006776/0.3583, allocations: 287 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.3587, allocations: 451.4 kB / 1.077 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.895e-05/0.3587, allocations: 19.91 kB / 1.077 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004224/0.3592, allocations: 307 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002467/0.3594, allocations: 159.4 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.915e-05/0.3595, allocations: 12 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.218e-05/0.3596, allocations: 16 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001334/0.3597, allocations: 119.4 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.3599, allocations: 204.5 kB / 1.077 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004035/0.3603, allocations: 410.9 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3603, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3604, allocations: 4 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3604, allocations: 0 / 1.078 GB, free: 3.738 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.00108/0.3615, allocations: 0.7498 MB / 1.079 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.3615, allocations: 12.03 kB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.3616, allocations: 44.56 kB / 1.079 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003489/0.362, allocations: 314.1 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.362, allocations: 20.36 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.651e-05/0.3621, allocations: 28.36 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.3632, allocations: 226 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.3632, allocations: 192 / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.3632, allocations: 7.922 kB / 1.079 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3633, allocations: 4 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008372/0.3641, allocations: 107.9 kB / 1.079 GB, free: 2.109 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.3646, allocations: 389.2 kB / 1.08 GB, free: 1.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.3657, allocations: 194.5 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000812/0.3666, allocations: 125 kB / 1.08 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.847e-05/0.3666, allocations: 8 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000987/0.3676, allocations: 239 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.573e-06/0.3676, allocations: 0 / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002746/0.3704, allocations: 0.5063 MB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.3704, allocations: 63.41 kB / 1.081 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003954/0.3708, allocations: 409.9 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.534e-05/0.3709, allocations: 37.7 kB / 1.081 GB, free: 64 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.505e-05/0.371, allocations: 97.44 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.3711, allocations: 43.53 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.198e-05/0.3711, allocations: 33.7 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3713, allocations: 322.8 kB / 1.082 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3715, allocations: 119.9 kB / 1.082 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.3718, allocations: 175.1 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.3722, allocations: 282.8 kB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3722, allocations: 0 / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008288/0.3731, allocations: 497.9 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.543e-05/0.3732, allocations: 91.31 kB / 1.083 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.3732, allocations: 3.938 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3732, allocations: 7.938 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.3734, allocations: 19.92 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3734, allocations: 8.188 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000541/0.3739, allocations: 71.78 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.467e-05/0.374, allocations: 59.98 kB / 1.083 GB, free: 14.17 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002295/0.3743, allocations: 196 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.708e-05/0.3743, allocations: 43.47 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.632e-05/0.3744, allocations: 43.73 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.3744, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3744, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3744, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.3768, allocations: 0.7696 MB / 1.084 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.3768, allocations: 4 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.3768, allocations: 7.984 kB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.3769, allocations: 0 / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.3769, allocations: 23.97 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3769, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3769, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.3788, allocations: 0.4909 MB / 1.084 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002504/0.379, allocations: 204.5 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.827e-05/0.3791, allocations: 11.94 kB / 1.085 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/0.3796, allocations: 31.97 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.3797, allocations: 11.98 kB / 1.085 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.3797, allocations: 59.97 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003001/0.38, allocations: 295.1 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3801, allocations: 0 / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003605/0.3804, allocations: 64 kB / 1.085 GB, free: 11.83 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001657/0.3806, allocations: 124.4 kB / 1.085 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00132/0.3819, allocations: 454.5 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3819, allocations: 0 / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008075/0.3827, allocations: 130.3 kB / 1.086 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.3831, allocations: 29.48 kB / 1.086 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.3847, allocations: 0.6717 MB / 1.086 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3851, allocations: 0.7749 MB / 1.087 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.181e-05/0.3851, allocations: 13.08 kB / 1.087 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.3852, allocations: 19.44 kB / 1.087 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of SimCode: time 2.4e-07/0.3852, allocations: 0 / 1.087 GB, free: 9.551 MB / 0.8419 GB Notification: Performance of Templates: time 0.01047/0.3957, allocations: 4.929 MB / 1.092 GB, free: 4.52 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)