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.001377/0.001377, allocations: 97.67 kB / 16.26 MB, free: 5.934 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.001581/0.001581, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.466/1.466, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8212/0.8212, allocations: 122.9 MB / 413.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 59.91 kB / 0.4911 GB, free: 7.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3757, allocations: 77.92 MB / 0.5672 GB, free: 32.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002647/0.3784, allocations: 1.503 MB / 0.5687 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.3796, allocations: 0.547 MB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.141e-05/0.3796, allocations: 0 / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.3798, allocations: 6.281 kB / 0.5692 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.3799, allocations: 34.42 kB / 0.5692 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.3806, allocations: 308.7 kB / 0.5695 GB, free: 31.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005138/0.3811, allocations: 0.4993 MB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.299e-05/0.3812, allocations: 5.516 kB / 0.57 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000359/0.3816, allocations: 270.3 kB / 0.5703 GB, free: 30.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.3819, allocations: 136.2 kB / 0.5704 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.382, allocations: 25.97 kB / 0.5704 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3821, allocations: 28.28 kB / 0.5705 GB, free: 30.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.3823, allocations: 115 kB / 0.5706 GB, free: 30.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3825, allocations: 187.3 kB / 0.5707 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005669/0.383, allocations: 425.6 kB / 0.5712 GB, free: 30.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.383, allocations: 6.031 kB / 0.5712 GB, free: 30.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3831, allocations: 0 / 0.5712 GB, free: 30.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3831, allocations: 1.375 kB / 0.5712 GB, free: 30.5 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.001332/0.3844, allocations: 0.8718 MB / 0.572 GB, free: 29.76 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.3845, allocations: 10.5 kB / 0.572 GB, free: 29.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.3846, allocations: 56.28 kB / 0.5721 GB, free: 29.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000402/0.385, allocations: 305.7 kB / 0.5724 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.3851, allocations: 18.25 kB / 0.5724 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.165e-05/0.3852, allocations: 29.36 kB / 0.5724 GB, free: 29.46 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3863, allocations: 212.8 kB / 0.5726 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.3863, allocations: 1.281 kB / 0.5726 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.3864, allocations: 6.75 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.3864, allocations: 1.281 kB / 0.5726 GB, free: 29.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008247/0.3872, allocations: 106.4 kB / 0.5727 GB, free: 29.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.3877, allocations: 392.5 kB / 0.5731 GB, free: 29.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.3888, allocations: 181.4 kB / 0.5733 GB, free: 29.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008393/0.3897, allocations: 113.4 kB / 0.5734 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3897, allocations: 1.062 kB / 0.5734 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.3908, allocations: 217.9 kB / 0.5736 GB, free: 28.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.234e-06/0.3908, allocations: 0 / 0.5736 GB, free: 28.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.003036/0.3938, allocations: 489.5 kB / 0.5741 GB, free: 28.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/0.3939, allocations: 70.09 kB / 0.5741 GB, free: 28.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.3945, allocations: 415.1 kB / 0.5745 GB, free: 28.58 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.572e-05/0.3946, allocations: 44.11 kB / 0.5746 GB, free: 28.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/0.3947, allocations: 91.19 kB / 0.5747 GB, free: 28.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3947, allocations: 36.22 kB / 0.5747 GB, free: 28.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002524/0.395, allocations: 134 kB / 0.5748 GB, free: 28.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.756e-05/0.3951, allocations: 320.7 kB / 0.5751 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002953/0.3954, allocations: 118.4 kB / 0.5752 GB, free: 28.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003054/0.3957, allocations: 175.4 kB / 0.5754 GB, free: 27.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004009/0.3961, allocations: 280.2 kB / 0.5757 GB, free: 27.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3961, allocations: 0 / 0.5757 GB, free: 27.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008792/0.397, allocations: 489 kB / 0.5761 GB, free: 27.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.87e-05/0.3971, allocations: 92.47 kB / 0.5762 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.3971, allocations: 1.281 kB / 0.5762 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.3971, allocations: 5.547 kB / 0.5762 GB, free: 27.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001736/0.3973, allocations: 27.47 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3973, allocations: 2.594 kB / 0.5763 GB, free: 27.44 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.3979, allocations: 62.92 kB / 0.5763 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.883e-05/0.398, allocations: 61.28 kB / 0.5764 GB, free: 27.43 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.0002183/0.3982, allocations: 195.5 kB / 0.5766 GB, free: 27.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.3983, allocations: 42.7 kB / 0.5766 GB, free: 27.26 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.3983, allocations: 41.89 kB / 0.5766 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3984, allocations: 1.875 kB / 0.5766 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.3984, allocations: 1.312 kB / 0.5766 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3984, allocations: 2.125 kB / 0.5766 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.4008, allocations: 0.7442 MB / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4008, allocations: 0 / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.4009, allocations: 5.344 kB / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4009, allocations: 0 / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.4009, allocations: 24.08 kB / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.4009, allocations: 5.375 kB / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4009, allocations: 1.078 kB / 0.5774 GB, free: 26.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4028, allocations: 479.7 kB / 0.5779 GB, free: 26.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.403, allocations: 201.2 kB / 0.5781 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/0.4031, allocations: 14.45 kB / 0.5781 GB, free: 26.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004857/0.4036, allocations: 34.41 kB / 0.5781 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.4037, allocations: 7.781 kB / 0.5781 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.049e-05/0.4037, allocations: 59.48 kB / 0.5782 GB, free: 26.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000328/0.4041, allocations: 294.8 kB / 0.5784 GB, free: 26.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4041, allocations: 0.9062 kB / 0.5784 GB, free: 26.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004407/0.4045, allocations: 64.31 kB / 0.5785 GB, free: 26.34 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.0001516/0.4047, allocations: 120.5 kB / 0.5786 GB, free: 26.24 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001361/0.4061, allocations: 451.7 kB / 0.5791 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4061, allocations: 0 / 0.5791 GB, free: 26.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008246/0.4069, allocations: 131 kB / 0.5792 GB, free: 26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.4073, allocations: 25.75 kB / 0.5792 GB, free: 25.99 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.4088, allocations: 0.5466 MB / 0.5797 GB, free: 25.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002048/0.4091, allocations: 0.7741 MB / 0.5805 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.064e-05/0.4091, allocations: 14.83 kB / 0.5805 GB, free: 24.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.4092, allocations: 18.39 kB / 0.5805 GB, free: 24.95 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4092, allocations: 0 / 0.5805 GB, free: 24.95 MB / 446.1 MB Notification: Performance of Templates: time 0.008392/0.4176, allocations: 4.962 MB / 0.5854 GB, free: 22.26 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)