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.001083/0.001083, allocations: 107.3 kB / 17.04 MB, free: 6.082 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.001111/0.001112, allocations: 195 kB / 17.98 MB, free: 5.16 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.688/0.688, allocations: 115.1 MB / 407 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 75.88 kB / 494.8 MB, free: 15.92 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3209, allocations: 76.14 MB / 0.5576 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002879/0.3239, allocations: 1.477 MB / 0.559 GB, free: 35.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.325, allocations: 432.8 kB / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.3251, allocations: 0 / 0.5594 GB, free: 35.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.999e-05/0.3252, allocations: 11.33 kB / 0.5594 GB, free: 35.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.3253, allocations: 22.69 kB / 0.5594 GB, free: 35.24 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.326, allocations: 250.7 kB / 0.5597 GB, free: 35.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003656/0.3264, allocations: 329.7 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.3264, allocations: 7.188 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002605/0.3267, allocations: 193.1 kB / 0.5602 GB, free: 34.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002212/0.3269, allocations: 119.2 kB / 0.5603 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.327, allocations: 18.28 kB / 0.5603 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.946e-05/0.327, allocations: 20.44 kB / 0.5603 GB, free: 34.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.3272, allocations: 83.58 kB / 0.5604 GB, free: 34.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.3273, allocations: 130.7 kB / 0.5605 GB, free: 34.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.3276, allocations: 290.8 kB / 0.5608 GB, free: 34.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3277, allocations: 0.5156 kB / 0.5608 GB, free: 34.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3277, allocations: 0 / 0.5608 GB, free: 34.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.3277, allocations: 3.938 kB / 0.5608 GB, free: 34.69 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.0009598/0.3286, allocations: 0.7374 MB / 0.5616 GB, free: 34.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.3287, allocations: 10.61 kB / 0.5616 GB, free: 34.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.8e-05/0.3288, allocations: 40.16 kB / 0.5616 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3291, allocations: 257.9 kB / 0.5618 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.3291, allocations: 15.12 kB / 0.5619 GB, free: 33.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.3292, allocations: 25.03 kB / 0.5619 GB, free: 33.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008479/0.33, allocations: 205.9 kB / 0.5621 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3301, allocations: 0 / 0.5621 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.394e-05/0.3301, allocations: 4.141 kB / 0.5621 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3301, allocations: 1.406 kB / 0.5621 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006541/0.3308, allocations: 95.67 kB / 0.5622 GB, free: 33.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3311, allocations: 311.3 kB / 0.5625 GB, free: 33.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009028/0.332, allocations: 176.5 kB / 0.5626 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006494/0.3326, allocations: 110 kB / 0.5627 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3327, allocations: 2.75 kB / 0.5627 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008714/0.3336, allocations: 212.4 kB / 0.563 GB, free: 33.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3336, allocations: 0 / 0.563 GB, free: 33.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002148/0.3357, allocations: 447.7 kB / 0.5634 GB, free: 33.18 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.3358, allocations: 59.47 kB / 0.5634 GB, free: 33.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002733/0.336, allocations: 289.5 kB / 0.5637 GB, free: 32.96 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3361, allocations: 40.92 kB / 0.5637 GB, free: 32.92 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.3361, allocations: 95.08 kB / 0.5638 GB, free: 32.83 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.3362, allocations: 43.11 kB / 0.5639 GB, free: 32.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3363, allocations: 100.2 kB / 0.564 GB, free: 32.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/0.3364, allocations: 320 kB / 0.5643 GB, free: 32.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.3366, allocations: 83.89 kB / 0.5644 GB, free: 32.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/0.3368, allocations: 132.6 kB / 0.5645 GB, free: 32.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000284/0.3371, allocations: 239.2 kB / 0.5647 GB, free: 32.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.3371, allocations: 5.562 kB / 0.5647 GB, free: 32.15 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005957/0.3377, allocations: 388.9 kB / 0.5651 GB, free: 31.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/0.3378, allocations: 76.58 kB / 0.5652 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3378, allocations: 1.5 kB / 0.5652 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.3378, allocations: 3.938 kB / 0.5652 GB, free: 31.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.338, allocations: 22.89 kB / 0.5652 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.338, allocations: 4.859 kB / 0.5652 GB, free: 31.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.3384, allocations: 56.17 kB / 0.5653 GB, free: 31.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.3385, allocations: 44.41 kB / 0.5653 GB, free: 31.88 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.0001525/0.3387, allocations: 173.1 kB / 0.5655 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.3387, allocations: 24.7 kB / 0.5655 GB, free: 31.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.3388, allocations: 30.95 kB / 0.5655 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.3388, allocations: 2.625 kB / 0.5655 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3388, allocations: 7.875 kB / 0.5655 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3388, allocations: 1.812 kB / 0.5655 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3407, allocations: 0.6947 MB / 0.5662 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3407, allocations: 0 / 0.5662 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.531e-05/0.3407, allocations: 8.516 kB / 0.5662 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3407, allocations: 1.656 kB / 0.5662 GB, free: 31.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.946e-05/0.3408, allocations: 20.86 kB / 0.5662 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.3408, allocations: 1.062 kB / 0.5662 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3408, allocations: 0 / 0.5662 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/0.3422, allocations: 448.2 kB / 0.5667 GB, free: 31.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/0.3424, allocations: 159.3 kB / 0.5668 GB, free: 30.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.3425, allocations: 14.34 kB / 0.5668 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.3429, allocations: 31.42 kB / 0.5669 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.343, allocations: 7.781 kB / 0.5669 GB, free: 30.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.343, allocations: 47.89 kB / 0.5669 GB, free: 30.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.3432, allocations: 211.8 kB / 0.5671 GB, free: 30.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3432, allocations: 0 / 0.5671 GB, free: 30.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003281/0.3435, allocations: 46.61 kB / 0.5672 GB, free: 30.86 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.0001233/0.3437, allocations: 120.4 kB / 0.5673 GB, free: 30.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3447, allocations: 384.3 kB / 0.5676 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3447, allocations: 3.219 kB / 0.5676 GB, free: 30.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006617/0.3454, allocations: 116.9 kB / 0.5678 GB, free: 30.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.3457, allocations: 29.2 kB / 0.5678 GB, free: 30.53 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.3468, allocations: 435.3 kB / 0.5682 GB, free: 30.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.347, allocations: 0.7376 MB / 0.5689 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.486e-05/0.3471, allocations: 12.31 kB / 0.5689 GB, free: 29.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.853e-05/0.3471, allocations: 21.38 kB / 0.5689 GB, free: 29.59 MB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3471, allocations: 0 / 0.5689 GB, free: 29.59 MB / 446.1 MB Notification: Performance of Templates: time 0.006992/0.3541, allocations: 3.636 MB / 0.5725 GB, free: 29.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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)