Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 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.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001385/0.001385, allocations: 102.5 kB / 15.98 MB, free: 6.348 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.001637/0.001637, allocations: 194.5 kB / 16.91 MB, free: 6.191 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7727/0.7727, allocations: 122.9 MB / 413.6 MB, free: 84 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 0.4906 GB, free: 7.852 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3773, allocations: 77.91 MB / 0.5667 GB, free: 32.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002737/0.3801, allocations: 1.567 MB / 0.5682 GB, free: 31.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3813, allocations: 0.5461 MB / 0.5687 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.023e-05/0.3814, allocations: 3.188 kB / 0.5687 GB, free: 31.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.3815, allocations: 7.406 kB / 0.5688 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3817, allocations: 17.89 kB / 0.5688 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007465/0.3824, allocations: 287.1 kB / 0.569 GB, free: 30.92 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005055/0.3829, allocations: 0.5048 MB / 0.5695 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.009e-05/0.383, allocations: 7.266 kB / 0.5695 GB, free: 30.73 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004342/0.3834, allocations: 339.4 kB / 0.5699 GB, free: 30.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000261/0.3837, allocations: 167.6 kB / 0.57 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.462e-05/0.3838, allocations: 26.72 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.3839, allocations: 28.28 kB / 0.5701 GB, free: 30.57 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.384, allocations: 120 kB / 0.5702 GB, free: 30.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001888/0.3842, allocations: 198.5 kB / 0.5704 GB, free: 30.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00045/0.3847, allocations: 432.2 kB / 0.5708 GB, free: 30.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3847, allocations: 0 / 0.5708 GB, free: 30.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3847, allocations: 0.7969 kB / 0.5708 GB, free: 30.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.3847, allocations: 4.5 kB / 0.5708 GB, free: 30.26 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.00124/0.3859, allocations: 0.864 MB / 0.5716 GB, free: 29.52 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.386, allocations: 10.78 kB / 0.5717 GB, free: 29.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.3862, allocations: 51.03 kB / 0.5717 GB, free: 29.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.3865, allocations: 310.6 kB / 0.572 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.266e-05/0.3866, allocations: 17.94 kB / 0.572 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.3867, allocations: 25.78 kB / 0.572 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00106/0.3877, allocations: 214.6 kB / 0.5722 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.3878, allocations: 192 / 0.5722 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.3878, allocations: 9.438 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3878, allocations: 2.375 kB / 0.5723 GB, free: 29.17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.3886, allocations: 103.6 kB / 0.5724 GB, free: 29.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.389, allocations: 397.3 kB / 0.5727 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.3901, allocations: 173.5 kB / 0.5729 GB, free: 28.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007779/0.3909, allocations: 111.8 kB / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.3909, allocations: 2.781 kB / 0.573 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.392, allocations: 223.9 kB / 0.5732 GB, free: 28.72 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.205e-06/0.392, allocations: 1.281 kB / 0.5732 GB, free: 28.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002689/0.3947, allocations: 486.4 kB / 0.5737 GB, free: 28.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.3947, allocations: 60.61 kB / 0.5737 GB, free: 28.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.3952, allocations: 412.3 kB / 0.5741 GB, free: 28.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.679e-05/0.3953, allocations: 42.34 kB / 0.5742 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.038e-05/0.3953, allocations: 95.02 kB / 0.5743 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.302e-05/0.3954, allocations: 40.53 kB / 0.5743 GB, free: 28.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.3956, allocations: 133.4 kB / 0.5744 GB, free: 28.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.3957, allocations: 322.7 kB / 0.5747 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.396, allocations: 126.5 kB / 0.5749 GB, free: 27.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.3963, allocations: 170.7 kB / 0.575 GB, free: 27.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.3966, allocations: 273.6 kB / 0.5753 GB, free: 27.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3967, allocations: 2.188 kB / 0.5753 GB, free: 27.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008114/0.3975, allocations: 498.6 kB / 0.5758 GB, free: 27.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.133e-05/0.3976, allocations: 90.61 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.3976, allocations: 3.344 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.3976, allocations: 2.344 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.3978, allocations: 22.88 kB / 0.5759 GB, free: 27.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.3978, allocations: 7.891 kB / 0.5759 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.3983, allocations: 64.58 kB / 0.5759 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.3984, allocations: 58.7 kB / 0.576 GB, free: 27.19 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.0002178/0.3987, allocations: 189 kB / 0.5762 GB, free: 27.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.3987, allocations: 42.58 kB / 0.5762 GB, free: 27.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.139e-05/0.3988, allocations: 46.16 kB / 0.5763 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3988, allocations: 5.453 kB / 0.5763 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3988, allocations: 0.6875 kB / 0.5763 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3988, allocations: 2.406 kB / 0.5763 GB, free: 27.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002197/0.401, allocations: 0.7451 MB / 0.577 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.4011, allocations: 3.438 kB / 0.577 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.612e-05/0.4011, allocations: 13.27 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4011, allocations: 1.375 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.4012, allocations: 17.94 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.4012, allocations: 1.375 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4012, allocations: 0.6562 kB / 0.577 GB, free: 26.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.4029, allocations: 474.7 kB / 0.5775 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.4032, allocations: 201 kB / 0.5777 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/0.4032, allocations: 10.95 kB / 0.5777 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005006/0.4038, allocations: 33.41 kB / 0.5777 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.4038, allocations: 8.156 kB / 0.5777 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.4039, allocations: 57.14 kB / 0.5778 GB, free: 26.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002879/0.4042, allocations: 298.9 kB / 0.5781 GB, free: 26.12 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4042, allocations: 1.625 kB / 0.5781 GB, free: 26.12 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.4046, allocations: 64.41 kB / 0.5781 GB, free: 26.11 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.0001266/0.4047, allocations: 116.6 kB / 0.5782 GB, free: 26.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.406, allocations: 450.2 kB / 0.5787 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.406, allocations: 1.562 kB / 0.5787 GB, free: 25.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007894/0.4068, allocations: 118.5 kB / 0.5788 GB, free: 25.78 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003866/0.4072, allocations: 33.86 kB / 0.5788 GB, free: 25.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.4087, allocations: 0.6717 MB / 0.5795 GB, free: 25.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.409, allocations: 0.7686 MB / 0.5802 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.684e-05/0.4091, allocations: 12.48 kB / 0.5802 GB, free: 24.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.195e-05/0.4091, allocations: 24.34 kB / 0.5803 GB, free: 24.65 MB / 446.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4091, allocations: 1.844 kB / 0.5803 GB, free: 24.65 MB / 446.1 MB Notification: Performance of Templates: time 0.009166/0.4183, allocations: 5.104 MB / 0.5853 GB, free: 21.91 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)