Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008014/0.0008014, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008803/0.0008804, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.868/1.868, allocations: 205.4 MB / 222.1 MB, free: 5.891 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.572/1.572, allocations: 252 MB / 0.5102 GB, free: 4.785 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006309/0.0006311, allocations: 12 kB / 0.6243 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.637/0.6376, allocations: 106.3 MB / 0.7281 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.001734/0.6394, allocations: 1.195 MB / 0.7293 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009891/0.6405, allocations: 411.1 kB / 0.7297 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.683e-05/0.6405, allocations: 0 / 0.7297 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.6406, allocations: 7.922 kB / 0.7297 GB, free: 9.836 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001148/0.6408, allocations: 15.92 kB / 0.7297 GB, free: 9.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006596/0.6414, allocations: 214.2 kB / 0.7299 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.6417, allocations: 251.5 kB / 0.7301 GB, free: 9.367 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.653e-05/0.6418, allocations: 4 kB / 0.7301 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.6422, allocations: 219.6 kB / 0.7304 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002152/0.6424, allocations: 127.7 kB / 0.7305 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.943e-05/0.6424, allocations: 15.94 kB / 0.7305 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.583e-05/0.6425, allocations: 8 kB / 0.7305 GB, free: 9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.6426, allocations: 79.78 kB / 0.7306 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.6427, allocations: 65.58 kB / 0.7306 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.6429, allocations: 209.5 kB / 0.7308 GB, free: 8.648 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.643, allocations: 4 kB / 0.7308 GB, free: 8.645 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.004e-06/0.643, allocations: 0 / 0.7308 GB, free: 8.645 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.643, allocations: 0 / 0.7308 GB, free: 8.645 MB / 0.545 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.001049/0.644, allocations: 0.6141 MB / 0.7314 GB, free: 7.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.6441, allocations: 8.031 kB / 0.7314 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.523e-05/0.6442, allocations: 35.62 kB / 0.7315 GB, free: 7.914 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.6445, allocations: 262.4 kB / 0.7317 GB, free: 7.621 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.6445, allocations: 12 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.6446, allocations: 12 kB / 0.7318 GB, free: 7.598 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.6449, allocations: 149.5 kB / 0.7319 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.6449, allocations: 0 / 0.7319 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.6449, allocations: 3.984 kB / 0.7319 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.096e-06/0.6449, allocations: 4 kB / 0.7319 GB, free: 7.438 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.645, allocations: 47.91 kB / 0.7319 GB, free: 7.391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003332/0.6454, allocations: 313.3 kB / 0.7322 GB, free: 7.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.6456, allocations: 130.7 kB / 0.7324 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.6458, allocations: 60.83 kB / 0.7324 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.6458, allocations: 0 / 0.7324 GB, free: 6.836 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004635/0.6463, allocations: 219.6 kB / 0.7326 GB, free: 6.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.6463, allocations: 0 / 0.7326 GB, free: 6.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0005596/0.6468, allocations: 267.6 kB / 0.7329 GB, free: 6.344 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.6469, allocations: 63.39 kB / 0.733 GB, free: 6.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.6472, allocations: 283 kB / 0.7332 GB, free: 5.984 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.91e-05/0.6473, allocations: 45.7 kB / 0.7333 GB, free: 5.934 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.6473, allocations: 89.12 kB / 0.7334 GB, free: 5.844 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.6474, allocations: 51.44 kB / 0.7334 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-05/0.6474, allocations: 11.88 kB / 0.7334 GB, free: 5.781 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.6476, allocations: 330.8 kB / 0.7337 GB, free: 5.449 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.6478, allocations: 88.17 kB / 0.7338 GB, free: 5.359 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.648, allocations: 147.8 kB / 0.734 GB, free: 5.195 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.6483, allocations: 155.7 kB / 0.7341 GB, free: 5.031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6483, allocations: 4 kB / 0.7341 GB, free: 5.027 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006526/0.6489, allocations: 415.2 kB / 0.7345 GB, free: 4.605 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.649, allocations: 75.38 kB / 0.7346 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.649, allocations: 0 / 0.7346 GB, free: 4.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.6491, allocations: 4 kB / 0.7346 GB, free: 4.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.6492, allocations: 23.98 kB / 0.7346 GB, free: 4.492 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6492, allocations: 7.938 kB / 0.7346 GB, free: 4.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.6497, allocations: 75.86 kB / 0.7347 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.6498, allocations: 51.98 kB / 0.7347 GB, free: 4.359 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001853/0.65, allocations: 171.9 kB / 0.7349 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.65, allocations: 31.7 kB / 0.7349 GB, free: 4.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.833e-05/0.6501, allocations: 22.27 kB / 0.7349 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.6501, allocations: 7.984 kB / 0.735 GB, free: 4.121 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6501, allocations: 4 kB / 0.735 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.6501, allocations: 0 / 0.735 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007763/0.6509, allocations: 0.5529 MB / 0.7355 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6509, allocations: 0 / 0.7355 GB, free: 3.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.651, allocations: 15.92 kB / 0.7355 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.651, allocations: 0 / 0.7355 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/0.651, allocations: 19.92 kB / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.651, allocations: 0 / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.651, allocations: 0 / 0.7355 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004046/0.6514, allocations: 329.3 kB / 0.7358 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.6516, allocations: 152.6 kB / 0.736 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.6517, allocations: 15.98 kB / 0.736 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001943/0.6519, allocations: 15.98 kB / 0.736 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.652, allocations: 11.98 kB / 0.736 GB, free: 2.926 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.652, allocations: 35.97 kB / 0.7361 GB, free: 2.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001872/0.6522, allocations: 209.9 kB / 0.7363 GB, free: 2.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6522, allocations: 4 kB / 0.7363 GB, free: 2.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003037/0.6525, allocations: 47.98 kB / 0.7363 GB, free: 2.637 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000132/0.6526, allocations: 111.2 kB / 0.7364 GB, free: 2.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000533/0.6532, allocations: 346.7 kB / 0.7368 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6532, allocations: 4 kB / 0.7368 GB, free: 2.148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.6533, allocations: 74.05 kB / 0.7368 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.6537, allocations: 28.81 kB / 0.7369 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007013/0.6544, allocations: 450.8 kB / 0.7373 GB, free: 1.578 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.6548, allocations: 0.7437 MB / 0.738 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001368/0.6549, allocations: 41.42 kB / 0.7381 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.655, allocations: 31.42 kB / 0.7381 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of SimCode: time 2.204e-06/0.655, allocations: 0 / 0.7381 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of Templates: time 0.007214/0.6623, allocations: 3.91 MB / 0.7419 GB, free: 12.85 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) Environment - environmentSimulation: