Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009078/0.0009078, allocations: 95.33 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009659/0.000966, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.663/0.663, allocations: 113.8 MB / 405.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002961/0.0002961, allocations: 15.98 kB / 493 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001699/0.1414, allocations: 1.169 MB / 0.558 GB, free: 10.43 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000918/0.1423, allocations: 390.8 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.895e-05/0.1424, allocations: 3.938 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.799e-05/0.1425, allocations: 7.922 kB / 0.5584 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.1426, allocations: 19.97 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006408/0.1432, allocations: 219.5 kB / 0.5586 GB, free: 9.805 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002289/0.1435, allocations: 155.7 kB / 0.5587 GB, free: 9.652 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.1435, allocations: 4 kB / 0.5587 GB, free: 9.648 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.1438, allocations: 171.7 kB / 0.5589 GB, free: 9.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00022/0.144, allocations: 123.7 kB / 0.559 GB, free: 9.359 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.362e-05/0.1441, allocations: 15.98 kB / 0.559 GB, free: 9.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.1441, allocations: 8 kB / 0.559 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1442, allocations: 83.78 kB / 0.5591 GB, free: 9.254 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 8.579e-05/0.1443, allocations: 73.52 kB / 0.5592 GB, free: 9.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1446, allocations: 199.9 kB / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1446, allocations: 0 / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1446, allocations: 0 / 0.5594 GB, free: 8.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1446, allocations: 0 / 0.5594 GB, free: 8.98 MB / 430.1 MB 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.0008718/0.1455, allocations: 0.6681 MB / 0.56 GB, free: 8.227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1455, allocations: 16.02 kB / 0.56 GB, free: 8.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.223e-05/0.1456, allocations: 31.72 kB / 0.5601 GB, free: 8.18 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.1459, allocations: 254.5 kB / 0.5603 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.146, allocations: 12 kB / 0.5603 GB, free: 7.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.615e-05/0.146, allocations: 19.98 kB / 0.5604 GB, free: 7.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009308/0.147, allocations: 217 kB / 0.5606 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.147, allocations: 0 / 0.5606 GB, free: 7.648 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.147, allocations: 4 kB / 0.5606 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.147, allocations: 0 / 0.5606 GB, free: 7.645 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007553/0.1478, allocations: 111.9 kB / 0.5607 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003413/0.1481, allocations: 313.4 kB / 0.561 GB, free: 7.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.1491, allocations: 190.5 kB / 0.5612 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1492, allocations: 3.984 kB / 0.5612 GB, free: 6.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008879/0.1501, allocations: 219.2 kB / 0.5614 GB, free: 6.754 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 2.936e-06/0.1501, allocations: 3.984 kB / 0.5614 GB, free: 6.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002425/0.1525, allocations: 486.8 kB / 0.5618 GB, free: 6.27 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1526, allocations: 63.41 kB / 0.5619 GB, free: 6.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1528, allocations: 283 kB / 0.5622 GB, free: 5.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.1529, allocations: 41.69 kB / 0.5622 GB, free: 5.867 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.153, allocations: 93.14 kB / 0.5623 GB, free: 5.773 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.153, allocations: 39.52 kB / 0.5623 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.1531, allocations: 8 kB / 0.5623 GB, free: 5.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.1532, allocations: 322.8 kB / 0.5626 GB, free: 5.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.1533, allocations: 83.94 kB / 0.5627 GB, free: 5.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002052/0.1536, allocations: 133.6 kB / 0.5629 GB, free: 5.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.1538, allocations: 159.2 kB / 0.563 GB, free: 5.004 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1538, allocations: 0 / 0.563 GB, free: 5.004 MB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006103/0.1544, allocations: 398.5 kB / 0.5634 GB, free: 4.598 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.139e-05/0.1545, allocations: 75.39 kB / 0.5635 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1545, allocations: 0 / 0.5635 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1545, allocations: 12.17 kB / 0.5635 GB, free: 4.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.1547, allocations: 19.92 kB / 0.5635 GB, free: 4.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.1547, allocations: 4 kB / 0.5635 GB, free: 4.477 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.1552, allocations: 63.81 kB / 0.5636 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.1553, allocations: 43.98 kB / 0.5636 GB, free: 4.371 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.0001766/0.1555, allocations: 171.9 kB / 0.5638 GB, free: 4.195 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.1555, allocations: 27.7 kB / 0.5638 GB, free: 4.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/0.1556, allocations: 30.3 kB / 0.5638 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1556, allocations: 0 / 0.5638 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1556, allocations: 0 / 0.5638 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.1556, allocations: 0 / 0.5638 GB, free: 4.133 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002135/0.1577, allocations: 0.7168 MB / 0.5645 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1578, allocations: 0 / 0.5645 GB, free: 3.359 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.781e-05/0.1578, allocations: 7.984 kB / 0.5645 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1578, allocations: 0 / 0.5645 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.1578, allocations: 19.98 kB / 0.5645 GB, free: 3.332 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1579, allocations: 3.953 kB / 0.5645 GB, free: 3.328 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.1579, allocations: 3.984 kB / 0.5645 GB, free: 3.324 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.1596, allocations: 472.5 kB / 0.565 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/0.1598, allocations: 160.7 kB / 0.5651 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.702e-05/0.1598, allocations: 12 kB / 0.5652 GB, free: 2.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004686/0.1603, allocations: 35.97 kB / 0.5652 GB, free: 2.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.083e-05/0.1604, allocations: 15.94 kB / 0.5652 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.298e-05/0.1604, allocations: 43.97 kB / 0.5653 GB, free: 2.566 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001764/0.1606, allocations: 209.9 kB / 0.5655 GB, free: 2.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1606, allocations: 0 / 0.5655 GB, free: 2.363 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000337/0.161, allocations: 44 kB / 0.5655 GB, free: 2.32 MB / 430.1 MB 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 (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.0001328/0.1611, allocations: 118.7 kB / 0.5656 GB, free: 2.195 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001137/0.1622, allocations: 386.5 kB / 0.566 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1622, allocations: 0 / 0.566 GB, free: 1.793 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007769/0.163, allocations: 133.2 kB / 0.5661 GB, free: 1.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002412/0.1633, allocations: 16.64 kB / 0.5661 GB, free: 1.648 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1646, allocations: 0.4949 MB / 0.5666 GB, free: 1.125 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.1649, allocations: 0.7438 MB / 0.5673 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.845e-05/0.165, allocations: 13.08 kB / 0.5673 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.165, allocations: 27.36 kB / 0.5674 GB, free: 324 kB / 430.1 MB Notification: Performance of SimCode: time 4.31e-07/0.165, allocations: 0 / 0.5674 GB, free: 324 kB / 430.1 MB Notification: Performance of Templates: time 0.006754/0.1718, allocations: 3.481 MB / 0.5708 GB, free: 12.87 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)