Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8699/0.8699, allocations: 128.7 MB / 143.7 MB, free: 2.328 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 180.4 kB / 173.8 MB, free: 6.109 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.956/1.956, allocations: 205.4 MB / 409 MB, free: 10.49 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.00106/0.00106, allocations: 105.3 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 8.5 kB / 0.5603 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 76.77 MB / 0.6353 GB, free: 30.54 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.3567, allocations: 104.6 MB / 0.7374 GB, free: 5.812 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003517/0.3572, allocations: 75.95 kB / 0.7375 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01613/0.3733, allocations: 4.694 MB / 0.7421 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.504e-06/0.3734, allocations: 0 / 0.7421 GB, free: 1.031 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.3734, allocations: 0 / 0.7421 GB, free: 1.031 MB / 0.5105 GB 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.001427/0.3749, allocations: 0.5701 MB / 0.7427 GB, free: 400 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/0.375, allocations: 12.03 kB / 0.7427 GB, free: 388 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.3752, allocations: 27.77 kB / 0.7427 GB, free: 360 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.3754, allocations: 199.8 kB / 0.7429 GB, free: 116 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.024e-05/0.3755, allocations: 8 kB / 0.7429 GB, free: 108 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.3757, allocations: 20 kB / 0.7429 GB, free: 88 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3808/0.7565, allocations: 137.5 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.7566, allocations: 0 / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.952e-05/0.7566, allocations: 2.5 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.7567, allocations: 1.625 kB / 0.743 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000258/0.7569, allocations: 47.98 kB / 0.7431 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.7577, allocations: 306.5 kB / 0.7434 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003452/0.758, allocations: 128.4 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.653e-05/0.7581, allocations: 1.5 kB / 0.7435 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005507/0.7587, allocations: 207.3 kB / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 4.739e-06/0.7587, allocations: 0 / 0.7437 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0007368/0.7594, allocations: 262.2 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.7595, allocations: 62.97 kB / 0.744 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/0.7597, allocations: 203.9 kB / 0.7442 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.692e-05/0.7598, allocations: 39.08 kB / 0.7442 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.263e-05/0.7599, allocations: 88.86 kB / 0.7443 GB, free: 108 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.848e-05/0.76, allocations: 47.22 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.76, allocations: 16.41 kB / 0.7444 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.7601, allocations: 318.8 kB / 0.7447 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.7604, allocations: 99.27 kB / 0.7448 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.7606, allocations: 146.5 kB / 0.7449 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002255/0.7609, allocations: 155.4 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7609, allocations: 1.219 kB / 0.7451 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007959/0.7617, allocations: 408.9 kB / 0.7455 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.7618, allocations: 78.47 kB / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7618, allocations: 0 / 0.7455 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7618, allocations: 3.438 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.762, allocations: 30.73 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/0.762, allocations: 7.359 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.7624, allocations: 52.23 kB / 0.7456 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.638e-05/0.7625, allocations: 40.11 kB / 0.7457 GB, free: 107.3 MB / 0.5105 GB 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 () * Number of clocked 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.000209/0.7627, allocations: 163.6 kB / 0.7458 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.7628, allocations: 16.38 kB / 0.7458 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.472e-05/0.7629, allocations: 23.8 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.7629, allocations: 5.016 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.7629, allocations: 4.953 kB / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.7629, allocations: 0 / 0.7459 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008149/0.7637, allocations: 0.5312 MB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.7637, allocations: 0 / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.508e-05/0.7638, allocations: 10.91 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.7638, allocations: 4 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.7638, allocations: 16.47 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.7638, allocations: 3.672 kB / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7639, allocations: 0 / 0.7464 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.7643, allocations: 314.3 kB / 0.7467 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.7644, allocations: 143.1 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.7645, allocations: 6.438 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.7647, allocations: 18.27 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.7647, allocations: 17.2 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.7648, allocations: 21.8 kB / 0.7469 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001353/0.7649, allocations: 161.4 kB / 0.7471 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7649, allocations: 0 / 0.7471 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003491/0.7653, allocations: 49.78 kB / 0.7471 GB, free: 106.6 MB / 0.5105 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) * Number of clocked states: 0 () * 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.0001668/0.7655, allocations: 126 kB / 0.7472 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006959/0.7662, allocations: 345.7 kB / 0.7476 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7662, allocations: 4.375 kB / 0.7476 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001713/0.7664, allocations: 69.5 kB / 0.7477 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.7666, allocations: 18.09 kB / 0.7477 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007352/0.7674, allocations: 360.8 kB / 0.748 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.7677, allocations: 0.7318 MB / 0.7487 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001297/0.7678, allocations: 29.31 kB / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.7679, allocations: 31.7 kB / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.745e-06/0.7679, allocations: 0 / 0.7488 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.009791/0.7777, allocations: 3.96 MB / 0.7527 GB, free: 105 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)