Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 179.1 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4615/0.4615, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007901/0.0007901, allocations: 100.1 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.843e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3248, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1188/0.4437, allocations: 104.2 MB / 0.662 GB, free: 120 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4439, allocations: 75.08 kB / 0.662 GB, free: 48 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0135/0.4574, allocations: 4.587 MB / 0.6665 GB, free: 11.47 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4575, allocations: 7.938 kB / 0.6665 GB, free: 11.46 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.4575, allocations: 5.031 kB / 0.6665 GB, free: 11.46 MB / 490.7 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.0007529/0.4582, allocations: 0.6289 MB / 0.6671 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.4583, allocations: 15.98 kB / 0.6672 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.4584, allocations: 31.67 kB / 0.6672 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003351/0.4587, allocations: 258.5 kB / 0.6674 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.4588, allocations: 12 kB / 0.6674 GB, free: 10.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.966e-05/0.4589, allocations: 23.98 kB / 0.6675 GB, free: 10.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002568/0.4591, allocations: 147.4 kB / 0.6676 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.4592, allocations: 4 kB / 0.6676 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.4592, allocations: 3.984 kB / 0.6676 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4592, allocations: 0 / 0.6676 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001147/0.4593, allocations: 52.69 kB / 0.6677 GB, free: 10.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.4597, allocations: 333.3 kB / 0.668 GB, free: 9.789 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001801/0.4599, allocations: 98.56 kB / 0.6681 GB, free: 9.684 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.46, allocations: 64.83 kB / 0.6681 GB, free: 9.617 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.46, allocations: 8 kB / 0.6681 GB, free: 9.609 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.4602, allocations: 164.7 kB / 0.6683 GB, free: 9.438 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.423e-06/0.4603, allocations: 0 / 0.6683 GB, free: 9.438 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004604/0.4607, allocations: 253.2 kB / 0.6685 GB, free: 9.184 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.4608, allocations: 56.91 kB / 0.6686 GB, free: 9.117 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.461, allocations: 259.4 kB / 0.6688 GB, free: 8.859 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.461, allocations: 37.7 kB / 0.6689 GB, free: 8.816 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.4611, allocations: 97.05 kB / 0.669 GB, free: 8.715 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.705e-05/0.4612, allocations: 31.61 kB / 0.669 GB, free: 8.684 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.4612, allocations: 8 kB / 0.669 GB, free: 8.676 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.826e-05/0.4613, allocations: 326.8 kB / 0.6693 GB, free: 8.348 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001811/0.4615, allocations: 87.97 kB / 0.6694 GB, free: 8.262 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.4617, allocations: 137.9 kB / 0.6695 GB, free: 8.105 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.4619, allocations: 151.3 kB / 0.6697 GB, free: 7.945 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4619, allocations: 0 / 0.6697 GB, free: 7.945 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005963/0.4625, allocations: 401 kB / 0.6701 GB, free: 7.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.63e-05/0.4626, allocations: 75.38 kB / 0.6701 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.4626, allocations: 4 kB / 0.6701 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.4626, allocations: 4 kB / 0.6701 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4628, allocations: 23.92 kB / 0.6702 GB, free: 7.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4628, allocations: 7.656 kB / 0.6702 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.4631, allocations: 39.94 kB / 0.6702 GB, free: 7.379 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.092e-05/0.4632, allocations: 47.98 kB / 0.6703 GB, free: 7.332 MB / 490.7 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 () * 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.0001148/0.4633, allocations: 135.1 kB / 0.6704 GB, free: 7.195 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.4633, allocations: 27.7 kB / 0.6704 GB, free: 7.168 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.881e-05/0.4634, allocations: 22.09 kB / 0.6704 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4634, allocations: 7.984 kB / 0.6704 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4634, allocations: 0 / 0.6704 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4634, allocations: 0 / 0.6704 GB, free: 7.137 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007646/0.4642, allocations: 0.5997 MB / 0.671 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.4642, allocations: 0 / 0.671 GB, free: 6.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.4642, allocations: 4 kB / 0.671 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4643, allocations: 0 / 0.671 GB, free: 6.477 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.051e-05/0.4643, allocations: 15.97 kB / 0.6711 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4643, allocations: 0 / 0.6711 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.4643, allocations: 0 / 0.6711 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004019/0.4647, allocations: 361.4 kB / 0.6714 GB, free: 6.094 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.4649, allocations: 164.7 kB / 0.6716 GB, free: 5.914 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.465, allocations: 11.98 kB / 0.6716 GB, free: 5.902 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.4654, allocations: 31.98 kB / 0.6716 GB, free: 5.871 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.4654, allocations: 11.98 kB / 0.6716 GB, free: 5.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-05/0.4655, allocations: 39.97 kB / 0.6716 GB, free: 5.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001952/0.4657, allocations: 207.1 kB / 0.6718 GB, free: 5.613 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4657, allocations: 4 kB / 0.6718 GB, free: 5.609 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003508/0.466, allocations: 55.98 kB / 0.6719 GB, free: 5.555 MB / 490.7 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) * 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.0001676/0.4662, allocations: 116.9 kB / 0.672 GB, free: 5.434 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005085/0.4667, allocations: 334.6 kB / 0.6723 GB, free: 5.082 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4667, allocations: 4 kB / 0.6723 GB, free: 5.078 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.4669, allocations: 63.92 kB / 0.6724 GB, free: 5.016 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.4671, allocations: 29.09 kB / 0.6724 GB, free: 4.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/0.4676, allocations: 270.2 kB / 0.6727 GB, free: 4.699 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.468, allocations: 0.748 MB / 0.6734 GB, free: 3.926 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.866e-05/0.4681, allocations: 16.77 kB / 0.6734 GB, free: 3.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.4681, allocations: 11.44 kB / 0.6734 GB, free: 3.898 MB / 490.7 MB Notification: Performance of SimCode: time 2.074e-06/0.4681, allocations: 0 / 0.6734 GB, free: 3.898 MB / 490.7 MB Notification: Performance of Templates: time 0.00742/0.4755, allocations: 3.914 MB / 0.6773 GB, free: 16 kB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)