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.0009864/0.0009865, allocations: 88.78 kB / 16.67 MB, free: 6.594 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.001052/0.001052, allocations: 182.7 kB / 17.58 MB, free: 6.188 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.33/1.33, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6938/0.6938, allocations: 115.5 MB / 408.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 8 kB / 496.5 MB, free: 15.68 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3491, allocations: 77.51 MB / 0.5606 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonths): time 0.001299/0.3504, allocations: 1.231 MB / 0.5618 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.3515, allocations: 0.5855 MB / 0.5623 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.988e-05/0.3516, allocations: 2.281 kB / 0.5623 GB, free: 34.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 6.977e-05/0.3516, allocations: 7.016 kB / 0.5624 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.173e-05/0.3517, allocations: 21.17 kB / 0.5624 GB, free: 34.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.3523, allocations: 295.2 kB / 0.5627 GB, free: 33.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003644/0.3527, allocations: 443.5 kB / 0.5631 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.3528, allocations: 6.016 kB / 0.5631 GB, free: 33.84 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003884/0.3531, allocations: 304.7 kB / 0.5634 GB, free: 33.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002581/0.3534, allocations: 163.8 kB / 0.5635 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.729e-05/0.3535, allocations: 14.78 kB / 0.5635 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.276e-05/0.3536, allocations: 13.94 kB / 0.5636 GB, free: 33.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001259/0.3537, allocations: 114.8 kB / 0.5637 GB, free: 33.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.3539, allocations: 209.9 kB / 0.5639 GB, free: 33.55 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.3542, allocations: 305.6 kB / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3542, allocations: 1.094 kB / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3542, allocations: 0 / 0.5642 GB, free: 33.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.3542, allocations: 0 / 0.5642 GB, free: 33.48 MB / 446.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.000855/0.3551, allocations: 0.7492 MB / 0.5649 GB, free: 32.78 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3551, allocations: 14.38 kB / 0.5649 GB, free: 32.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3552, allocations: 50.36 kB / 0.565 GB, free: 32.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002736/0.3555, allocations: 314.2 kB / 0.5653 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.3556, allocations: 18.56 kB / 0.5653 GB, free: 32.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-05/0.3557, allocations: 30.98 kB / 0.5653 GB, free: 32.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3567, allocations: 222.5 kB / 0.5655 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.3567, allocations: 0.8906 kB / 0.5655 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.109e-05/0.3567, allocations: 6.906 kB / 0.5655 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.3567, allocations: 1.312 kB / 0.5655 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008521/0.3576, allocations: 117 kB / 0.5656 GB, free: 32.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/0.358, allocations: 390 kB / 0.566 GB, free: 32.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3591, allocations: 192.6 kB / 0.5662 GB, free: 32.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007576/0.3599, allocations: 125.5 kB / 0.5663 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.3599, allocations: 2.656 kB / 0.5663 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009484/0.3609, allocations: 233.4 kB / 0.5665 GB, free: 31.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.3609, allocations: 0 / 0.5665 GB, free: 31.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002577/0.3635, allocations: 0.5101 MB / 0.567 GB, free: 31.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.3635, allocations: 66.67 kB / 0.5671 GB, free: 31.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004147/0.3639, allocations: 411.9 kB / 0.5675 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.364, allocations: 45.5 kB / 0.5675 GB, free: 31.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.3641, allocations: 90.33 kB / 0.5676 GB, free: 31.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3641, allocations: 37.41 kB / 0.5677 GB, free: 31.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.379e-05/0.3642, allocations: 41.91 kB / 0.5677 GB, free: 31.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.3643, allocations: 327.6 kB / 0.568 GB, free: 31.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.3645, allocations: 117.3 kB / 0.5681 GB, free: 31.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.3648, allocations: 167.5 kB / 0.5683 GB, free: 30.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.3651, allocations: 277.5 kB / 0.5685 GB, free: 30.78 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.3651, allocations: 2 kB / 0.5685 GB, free: 30.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007564/0.3659, allocations: 492.1 kB / 0.569 GB, free: 30.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.722e-05/0.366, allocations: 93.36 kB / 0.5691 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.366, allocations: 2.688 kB / 0.5691 GB, free: 30.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.366, allocations: 11.08 kB / 0.5691 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.3662, allocations: 19.38 kB / 0.5691 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.505e-06/0.3662, allocations: 3.625 kB / 0.5691 GB, free: 30.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005258/0.3667, allocations: 74.42 kB / 0.5692 GB, free: 30.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.447e-05/0.3668, allocations: 66.67 kB / 0.5693 GB, free: 30.46 MB / 446.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 (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.0002187/0.367, allocations: 190.3 kB / 0.5695 GB, free: 30.33 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/0.3671, allocations: 40.81 kB / 0.5695 GB, free: 30.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.3672, allocations: 42.52 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3672, allocations: 3.406 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3672, allocations: 1.781 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3672, allocations: 1.453 kB / 0.5695 GB, free: 30.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.3694, allocations: 0.7671 MB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3694, allocations: 2.094 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.3694, allocations: 5.281 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3694, allocations: 1.219 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/0.3695, allocations: 18.59 kB / 0.5703 GB, free: 29.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3695, allocations: 4.969 kB / 0.5703 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3695, allocations: 0.5156 kB / 0.5703 GB, free: 29.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001729/0.3712, allocations: 497.8 kB / 0.5708 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.3714, allocations: 200.7 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.3715, allocations: 10.33 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.372, allocations: 35.72 kB / 0.571 GB, free: 29.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.372, allocations: 11.81 kB / 0.571 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.715e-05/0.3721, allocations: 57.86 kB / 0.5711 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.3724, allocations: 294.6 kB / 0.5714 GB, free: 29.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3724, allocations: 3.938 kB / 0.5714 GB, free: 29.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004031/0.3728, allocations: 69 kB / 0.5714 GB, free: 29.39 MB / 446.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 (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.0001176/0.373, allocations: 116.1 kB / 0.5716 GB, free: 29.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001276/0.3742, allocations: 452.1 kB / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3743, allocations: 0 / 0.572 GB, free: 29.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008147/0.3751, allocations: 136.4 kB / 0.5721 GB, free: 29.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.3755, allocations: 34.19 kB / 0.5721 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.377, allocations: 0.7269 MB / 0.5729 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3772, allocations: 0.7697 MB / 0.5736 GB, free: 27.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.439e-05/0.3773, allocations: 17.27 kB / 0.5736 GB, free: 27.9 MB / 446.1 MB Notification: Performance of SimCode: time 3e-07/0.3773, allocations: 0 / 0.5736 GB, free: 27.9 MB / 446.1 MB Notification: Performance of Templates: time 0.006208/0.3835, allocations: 3.668 MB / 0.5772 GB, free: 27.42 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)