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.7964/0.7964, allocations: 127.4 MB / 134.9 MB, free: 3.461 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.001047/0.001047, allocations: 175.5 kB / 164.6 MB, free: 11.62 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.409/1.409, allocations: 205.2 MB / 399.5 MB, free: 13.52 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.0008788/0.0008788, allocations: 89.59 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.645e-05/1.647e-05, allocations: 3.062 kB / 0.5466 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 76.77 MB / 0.6215 GB, free: 43.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1251/0.254, allocations: 103.8 MB / 0.7229 GB, free: 3.176 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.2543, allocations: 67.97 kB / 0.723 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.2679, allocations: 4.673 MB / 0.7275 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.293e-06/0.2679, allocations: 0 / 0.7275 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.2679, allocations: 4 kB / 0.7275 GB, free: 14.43 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.0008634/0.2688, allocations: 0.5399 MB / 0.7281 GB, free: 13.82 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.2688, allocations: 11.97 kB / 0.7281 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.168e-05/0.2689, allocations: 31.67 kB / 0.7281 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.2691, allocations: 180 kB / 0.7283 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.2691, allocations: 8 kB / 0.7283 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.898e-05/0.2692, allocations: 16 kB / 0.7283 GB, free: 13.53 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001083/0.2693, allocations: 35.98 kB / 0.7283 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.2695, allocations: 145.5 kB / 0.7285 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/0.2695, allocations: 0 / 0.7285 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.2696, allocations: 0 / 0.7285 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2696, allocations: 4 kB / 0.7285 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003155/0.2699, allocations: 289.8 kB / 0.7288 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.2701, allocations: 114.7 kB / 0.7289 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.059e-05/0.2702, allocations: 52.84 kB / 0.7289 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.2702, allocations: 0 / 0.7289 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.2706, allocations: 199 kB / 0.7291 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 2.074e-06/0.2706, allocations: 3.938 kB / 0.7291 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003882/0.271, allocations: 194.1 kB / 0.7293 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.271, allocations: 67.39 kB / 0.7294 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.2712, allocations: 187 kB / 0.7295 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.2713, allocations: 37.7 kB / 0.7296 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.2713, allocations: 88.91 kB / 0.7297 GB, free: 12.04 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.879e-05/0.2714, allocations: 43.5 kB / 0.7297 GB, free: 12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.2714, allocations: 0 / 0.7297 GB, free: 12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2715, allocations: 326.8 kB / 0.73 GB, free: 11.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.2717, allocations: 88.16 kB / 0.7301 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001909/0.2719, allocations: 138.2 kB / 0.7302 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.2721, allocations: 67.77 kB / 0.7303 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2721, allocations: 4 kB / 0.7303 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005364/0.2726, allocations: 301 kB / 0.7306 GB, free: 11.06 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.281e-05/0.2727, allocations: 75.38 kB / 0.7307 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2727, allocations: 4 kB / 0.7307 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2727, allocations: 4 kB / 0.7307 GB, free: 10.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001556/0.2729, allocations: 27.92 kB / 0.7307 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.2729, allocations: 3.938 kB / 0.7307 GB, free: 10.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.2733, allocations: 48.06 kB / 0.7307 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.019e-05/0.2734, allocations: 43.97 kB / 0.7308 GB, free: 10.85 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 () * 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.0001303/0.2735, allocations: 131 kB / 0.7309 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.936e-05/0.2736, allocations: 15.81 kB / 0.7309 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.504e-05/0.2736, allocations: 25.95 kB / 0.731 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2736, allocations: 0 / 0.731 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.2737, allocations: 8 kB / 0.731 GB, free: 10.67 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2737, allocations: 3.938 kB / 0.731 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007046/0.2744, allocations: 0.493 MB / 0.7314 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2744, allocations: 3.984 kB / 0.7315 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.468e-05/0.2744, allocations: 8 kB / 0.7315 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.2744, allocations: 0 / 0.7315 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.2745, allocations: 11.98 kB / 0.7315 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2745, allocations: 4 kB / 0.7315 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2745, allocations: 3.938 kB / 0.7315 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.2748, allocations: 299.1 kB / 0.7318 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.275, allocations: 140.8 kB / 0.7319 GB, free: 9.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.2751, allocations: 4 kB / 0.7319 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.2752, allocations: 15.98 kB / 0.7319 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.191e-05/0.2753, allocations: 11.98 kB / 0.7319 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.2753, allocations: 27.97 kB / 0.732 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001221/0.2755, allocations: 161.6 kB / 0.7321 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2755, allocations: 0 / 0.7321 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000309/0.2758, allocations: 40 kB / 0.7321 GB, free: 9.379 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) * 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.0001414/0.2759, allocations: 111.2 kB / 0.7323 GB, free: 9.258 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004385/0.2764, allocations: 320.8 kB / 0.7326 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2764, allocations: 0 / 0.7326 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 9.875e-05/0.2765, allocations: 63.92 kB / 0.7326 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.2767, allocations: 30.03 kB / 0.7326 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004068/0.2771, allocations: 213.4 kB / 0.7329 GB, free: 8.605 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.2774, allocations: 0.7356 MB / 0.7336 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.2776, allocations: 33.2 kB / 0.7336 GB, free: 7.812 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.2777, allocations: 31.42 kB / 0.7336 GB, free: 7.781 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.2777, allocations: 3.938 kB / 0.7336 GB, free: 7.777 MB / 0.5105 GB Notification: Performance of Templates: time 0.006773/0.2845, allocations: 3.767 MB / 0.7373 GB, free: 3.996 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)