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.7037/0.7037, allocations: 127.3 MB / 139.8 MB, free: 15.46 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.001046/0.001046, allocations: 188.7 kB / 169.7 MB, free: 1.746 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.683/1.683, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008347/0.0008348, allocations: 86.47 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.929e-05, allocations: 4 kB / 0.5532 GB, free: 54.86 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.176, allocations: 76.76 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6404/0.8164, allocations: 104.5 MB / 0.7302 GB, free: 8.902 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.8167, allocations: 78.08 kB / 0.7303 GB, free: 8.859 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.8303, allocations: 4.689 MB / 0.7348 GB, free: 4.793 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.8303, allocations: 0 / 0.7348 GB, free: 4.793 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.8304, allocations: 0 / 0.7348 GB, free: 4.793 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.0008746/0.8312, allocations: 0.5332 MB / 0.7354 GB, free: 4.211 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8313, allocations: 12.03 kB / 0.7354 GB, free: 4.199 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.8314, allocations: 35.67 kB / 0.7354 GB, free: 4.164 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.8316, allocations: 187.9 kB / 0.7356 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.8316, allocations: 19.84 kB / 0.7356 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.8317, allocations: 16 kB / 0.7356 GB, free: 3.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002758/0.832, allocations: 138.4 kB / 0.7358 GB, free: 3.789 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.832, allocations: 0 / 0.7358 GB, free: 3.789 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.832, allocations: 0 / 0.7358 GB, free: 3.789 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.8321, allocations: 7.984 kB / 0.7358 GB, free: 3.781 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.8322, allocations: 40.92 kB / 0.7358 GB, free: 3.754 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.8325, allocations: 309 kB / 0.7361 GB, free: 3.449 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.8328, allocations: 125.3 kB / 0.7362 GB, free: 3.348 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.8329, allocations: 54.66 kB / 0.7363 GB, free: 3.309 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.8329, allocations: 7.984 kB / 0.7363 GB, free: 3.301 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003519/0.8333, allocations: 194.7 kB / 0.7365 GB, free: 3.121 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 2.805e-06/0.8333, allocations: 0 / 0.7365 GB, free: 3.121 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004512/0.8338, allocations: 219.4 kB / 0.7367 GB, free: 2.934 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.8338, allocations: 62.34 kB / 0.7367 GB, free: 2.863 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.834, allocations: 191.8 kB / 0.7369 GB, free: 2.699 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.213e-05/0.8341, allocations: 44.12 kB / 0.737 GB, free: 2.656 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.286e-05/0.8342, allocations: 88.05 kB / 0.737 GB, free: 2.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.232e-05/0.8342, allocations: 47 kB / 0.7371 GB, free: 2.531 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.8343, allocations: 7.625 kB / 0.7371 GB, free: 2.527 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8344, allocations: 326.2 kB / 0.7374 GB, free: 2.203 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.8346, allocations: 99.95 kB / 0.7375 GB, free: 2.137 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.8348, allocations: 143.3 kB / 0.7376 GB, free: 2.008 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.835, allocations: 146.6 kB / 0.7378 GB, free: 1.875 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.8351, allocations: 0 / 0.7378 GB, free: 1.875 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006621/0.8357, allocations: 399.2 kB / 0.7382 GB, free: 1.535 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.8358, allocations: 74.7 kB / 0.7382 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.8358, allocations: 0 / 0.7382 GB, free: 1.457 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.8358, allocations: 4 kB / 0.7382 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001539/0.836, allocations: 27.91 kB / 0.7383 GB, free: 1.426 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.836, allocations: 8.188 kB / 0.7383 GB, free: 1.418 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003325/0.8364, allocations: 47.5 kB / 0.7383 GB, free: 1.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.8365, allocations: 43.42 kB / 0.7384 GB, free: 1.336 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.0001227/0.8366, allocations: 130.8 kB / 0.7385 GB, free: 1.211 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.152e-05/0.8366, allocations: 23.73 kB / 0.7385 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.786e-05/0.8367, allocations: 28.28 kB / 0.7385 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.8367, allocations: 0 / 0.7385 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.8367, allocations: 4 kB / 0.7385 GB, free: 1.168 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.8367, allocations: 3.984 kB / 0.7385 GB, free: 1.164 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007391/0.8375, allocations: 0.5362 MB / 0.7391 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.8375, allocations: 0 / 0.7391 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.854e-05/0.8375, allocations: 4 kB / 0.7391 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8375, allocations: 0 / 0.7391 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.8376, allocations: 19.67 kB / 0.7391 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8376, allocations: 11.92 kB / 0.7391 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.8376, allocations: 0 / 0.7391 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003525/0.8379, allocations: 312.5 kB / 0.7394 GB, free: 324 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001432/0.8381, allocations: 129.8 kB / 0.7395 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.8382, allocations: 15.36 kB / 0.7395 GB, free: 172 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.8383, allocations: 7.562 kB / 0.7395 GB, free: 168 kB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.8384, allocations: 19.97 kB / 0.7396 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.671e-05/0.8384, allocations: 27.55 kB / 0.7396 GB, free: 124 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.8386, allocations: 162.5 kB / 0.7397 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8386, allocations: 0 / 0.7397 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002924/0.8389, allocations: 50.7 kB / 0.7398 GB, free: 15.94 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.0001497/0.839, allocations: 119.2 kB / 0.7399 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005113/0.8396, allocations: 341.2 kB / 0.7402 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8396, allocations: 4.125 kB / 0.7402 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.8397, allocations: 66.86 kB / 0.7403 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.8399, allocations: 16.09 kB / 0.7403 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004601/0.8404, allocations: 223.7 kB / 0.7405 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.8408, allocations: 0.7354 MB / 0.7412 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001144/0.8409, allocations: 30.38 kB / 0.7413 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.841, allocations: 39.3 kB / 0.7413 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of SimCode: time 3.91e-07/0.841, allocations: 0 / 0.7413 GB, free: 14.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.00714/0.8481, allocations: 3.951 MB / 0.7452 GB, free: 10.48 MB / 0.4948 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)