Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001516/0.001517, 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.002315/0.002315, allocations: 191.4 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.583/1.583, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7447 GB, free: 4.992 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 62.17 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3469, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002938/0.3499, allocations: 1.579 MB / 1.069 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001324/0.3512, allocations: 0.5979 MB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.587e-05/0.3513, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.061e-05/0.3514, allocations: 3.938 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.3515, allocations: 27.91 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007355/0.3523, allocations: 286.2 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004623/0.3528, allocations: 447.4 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.3528, allocations: 7.984 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004573/0.3533, allocations: 311 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002937/0.3536, allocations: 163.4 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.000111/0.3537, allocations: 16 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.3538, allocations: 12 kB / 1.071 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.3539, allocations: 115.5 kB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002103/0.3542, allocations: 182.8 kB / 1.071 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.3546, allocations: 410.9 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.3546, allocations: 4 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3546, allocations: 0 / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.3546, allocations: 0 / 1.072 GB, free: 6.809 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.001242/0.3559, allocations: 0.8703 MB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3559, allocations: 8.031 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001289/0.3561, allocations: 60.44 kB / 1.072 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003436/0.3564, allocations: 310.3 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.3565, allocations: 16.31 kB / 1.073 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.688e-05/0.3565, allocations: 32.36 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3576, allocations: 209.5 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3576, allocations: 4.172 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.004e-05/0.3576, allocations: 3.938 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3577, allocations: 0 / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.3585, allocations: 107.9 kB / 1.073 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.3589, allocations: 389.2 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001076/0.36, allocations: 186.6 kB / 1.074 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007781/0.3608, allocations: 104.8 kB / 1.074 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.3608, allocations: 7.984 kB / 1.074 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00097/0.3618, allocations: 223.1 kB / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 3.577e-06/0.3618, allocations: 0 / 1.074 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002759/0.3646, allocations: 491 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3647, allocations: 63.39 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003911/0.3651, allocations: 405.9 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.3651, allocations: 41.69 kB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.416e-05/0.3652, allocations: 89.45 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3653, allocations: 47.45 kB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001851/0.3654, allocations: 129.3 kB / 1.075 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3656, allocations: 318.8 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.3658, allocations: 123.9 kB / 1.076 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.3661, allocations: 179 kB / 1.076 GB, free: 2.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.3665, allocations: 279 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3665, allocations: 0 / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007957/0.3673, allocations: 0.4907 MB / 1.077 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 7.856e-05/0.3674, allocations: 91.31 kB / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3674, allocations: 0 / 1.077 GB, free: 1.277 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3674, allocations: 4 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3676, allocations: 19.98 kB / 1.077 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3676, allocations: 3.938 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005243/0.3681, allocations: 71.97 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.28e-05/0.3682, allocations: 59.98 kB / 1.077 GB, free: 1.121 MB / 0.8262 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.0002133/0.3684, allocations: 188 kB / 1.077 GB, free: 0.9297 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.086e-05/0.3685, allocations: 39.47 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.04e-05/0.3686, allocations: 43.73 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.3686, allocations: 7.984 kB / 1.077 GB, free: 0.8398 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3686, allocations: 3.938 kB / 1.077 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3686, allocations: 4 kB / 1.077 GB, free: 0.832 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.3708, allocations: 0.7324 MB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3708, allocations: 3.984 kB / 1.078 GB, free: 40 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.61e-05/0.3709, allocations: 11.94 kB / 1.078 GB, free: 28 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3709, allocations: 4 kB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.3709, allocations: 27.97 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.371, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.371, allocations: 0 / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.3728, allocations: 476.6 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002375/0.373, allocations: 200.5 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.3731, allocations: 15.94 kB / 1.078 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.3736, allocations: 23.97 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.3737, allocations: 15.98 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-05/0.3737, allocations: 55.97 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002788/0.374, allocations: 299.1 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.374, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003775/0.3744, allocations: 63.98 kB / 1.079 GB, free: 14.84 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.0001513/0.3746, allocations: 125.9 kB / 1.079 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.3758, allocations: 442.5 kB / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3759, allocations: 0 / 1.079 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008082/0.3767, allocations: 115.9 kB / 1.08 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3771, allocations: 33.42 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3786, allocations: 0.6667 MB / 1.08 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.379, allocations: 0.7749 MB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.814e-05/0.379, allocations: 5.094 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.902e-05/0.3791, allocations: 23.42 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.3791, allocations: 0 / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of Templates: time 0.009864/0.389, allocations: 4.957 MB / 1.086 GB, free: 7.52 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)