Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7414/0.7414, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 184.8 kB / 169.7 MB, free: 1.742 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 404.5 MB, free: 1.594 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 78.48 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.454e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 76.75 MB / 0.6281 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5772/0.761, allocations: 104.4 MB / 0.7301 GB, free: 8.926 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.7613, allocations: 78.52 kB / 0.7302 GB, free: 8.879 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.7751, allocations: 4.665 MB / 0.7348 GB, free: 4.832 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.7751, allocations: 0 / 0.7348 GB, free: 4.832 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/0.7752, allocations: 4 kB / 0.7348 GB, free: 4.828 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.0009927/0.7762, allocations: 0.5365 MB / 0.7353 GB, free: 4.242 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/0.7762, allocations: 12.02 kB / 0.7353 GB, free: 4.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.7763, allocations: 35.67 kB / 0.7353 GB, free: 4.195 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.7766, allocations: 195.9 kB / 0.7355 GB, free: 3.961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.863e-05/0.7766, allocations: 7.562 kB / 0.7355 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.521e-05/0.7767, allocations: 19.98 kB / 0.7355 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.777, allocations: 138.7 kB / 0.7357 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.777, allocations: 0 / 0.7357 GB, free: 3.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.777, allocations: 4 kB / 0.7357 GB, free: 3.816 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.777, allocations: 0 / 0.7357 GB, free: 3.816 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.7771, allocations: 43.61 kB / 0.7357 GB, free: 3.785 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003954/0.7776, allocations: 314 kB / 0.736 GB, free: 3.477 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.7778, allocations: 122.4 kB / 0.7361 GB, free: 3.379 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.7779, allocations: 51.72 kB / 0.7362 GB, free: 3.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.778, allocations: 4 kB / 0.7362 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.7784, allocations: 203.3 kB / 0.7364 GB, free: 3.148 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.452e-06/0.7784, allocations: 0 / 0.7364 GB, free: 3.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004408/0.7788, allocations: 219 kB / 0.7366 GB, free: 2.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.7789, allocations: 67.31 kB / 0.7367 GB, free: 2.887 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.7791, allocations: 197.4 kB / 0.7368 GB, free: 2.719 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.7791, allocations: 32.89 kB / 0.7369 GB, free: 2.684 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.681e-05/0.7792, allocations: 92.09 kB / 0.737 GB, free: 2.594 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.7793, allocations: 44.33 kB / 0.737 GB, free: 2.559 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.7793, allocations: 6.562 kB / 0.737 GB, free: 2.555 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7795, allocations: 329.7 kB / 0.7373 GB, free: 2.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.7797, allocations: 93.03 kB / 0.7374 GB, free: 2.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000245/0.7799, allocations: 147.2 kB / 0.7376 GB, free: 2.035 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.7801, allocations: 146 kB / 0.7377 GB, free: 1.902 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.7801, allocations: 4 kB / 0.7377 GB, free: 1.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006567/0.7808, allocations: 397.3 kB / 0.7381 GB, free: 1.562 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.48e-05/0.7809, allocations: 77.12 kB / 0.7382 GB, free: 1.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.7809, allocations: 4 kB / 0.7382 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7809, allocations: 0 / 0.7382 GB, free: 1.477 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.7811, allocations: 27.8 kB / 0.7382 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.7811, allocations: 4.188 kB / 0.7382 GB, free: 1.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.7814, allocations: 55.62 kB / 0.7382 GB, free: 1.398 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/0.7815, allocations: 39.92 kB / 0.7383 GB, free: 1.359 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: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0001234/0.7816, allocations: 130.1 kB / 0.7384 GB, free: 1.234 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.7817, allocations: 19.81 kB / 0.7384 GB, free: 1.215 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.278e-05/0.7817, allocations: 27.64 kB / 0.7384 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.7818, allocations: 4 kB / 0.7385 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.7818, allocations: 0 / 0.7385 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.7818, allocations: 0 / 0.7385 GB, free: 1.195 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007381/0.7825, allocations: 0.534 MB / 0.739 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.7825, allocations: 0 / 0.739 GB, free: 0.668 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.404e-05/0.7826, allocations: 15.92 kB / 0.739 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.7826, allocations: 0 / 0.739 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.7826, allocations: 10.11 kB / 0.739 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.7826, allocations: 4 kB / 0.739 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.7826, allocations: 7.984 kB / 0.739 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.783, allocations: 306.7 kB / 0.7393 GB, free: 364 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.7832, allocations: 143.2 kB / 0.7394 GB, free: 212 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.7832, allocations: 11.5 kB / 0.7395 GB, free: 204 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.7834, allocations: 15.98 kB / 0.7395 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.235e-05/0.7835, allocations: 11.42 kB / 0.7395 GB, free: 180 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-05/0.7835, allocations: 31.97 kB / 0.7395 GB, free: 148 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.7836, allocations: 165.4 kB / 0.7397 GB, free: 8 kB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7836, allocations: 0 / 0.7397 GB, free: 8 kB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.784, allocations: 51.62 kB / 0.7397 GB, free: 15.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001351/0.7841, allocations: 122.5 kB / 0.7398 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004715/0.7846, allocations: 332.9 kB / 0.7401 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7846, allocations: 4.062 kB / 0.7402 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.7847, allocations: 65.11 kB / 0.7402 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.7849, allocations: 16.16 kB / 0.7402 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.7854, allocations: 226.8 kB / 0.7404 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.7857, allocations: 0.7392 MB / 0.7412 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001134/0.7858, allocations: 33.19 kB / 0.7412 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.7859, allocations: 31.42 kB / 0.7412 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of SimCode: time 3.6e-07/0.7859, allocations: 3.938 kB / 0.7412 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of Templates: time 0.006774/0.7927, allocations: 3.953 MB / 0.7451 GB, free: 10.5 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)