Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7539/0.7539, allocations: 140.1 MB / 156 MB, free: 5.164 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.001079/0.001079, allocations: 180.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 426.3 MB, free: 8.445 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007644/0.0007641, allocations: 94.28 kB / 0.4945 GB, free: 8.387 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001907/0.001907, allocations: 267.3 kB / 0.5728 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000515/0.0005154, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3776/0.3781, allocations: 79.31 MB / 0.7395 GB, free: 46.33 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5217, allocations: 109 MB / 0.8459 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.522, allocations: 71.97 kB / 0.846 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.5348, allocations: 4.463 MB / 0.8503 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5349, allocations: 0 / 0.8503 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.525e-05/0.5349, allocations: 4 kB / 0.8503 GB, free: 12.66 MB / 0.5261 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.0009461/0.5359, allocations: 0.626 MB / 0.8509 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.5359, allocations: 8.031 kB / 0.8509 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.686e-05/0.536, allocations: 32.66 kB / 0.851 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.5363, allocations: 251.7 kB / 0.8512 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.5364, allocations: 16.36 kB / 0.8512 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.5364, allocations: 16.38 kB / 0.8512 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002647/0.5367, allocations: 148.2 kB / 0.8514 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.5367, allocations: 8.125 kB / 0.8514 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.5367, allocations: 7.938 kB / 0.8514 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5368, allocations: 0 / 0.8514 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.5369, allocations: 47.91 kB / 0.8515 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.5372, allocations: 333.2 kB / 0.8518 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.5375, allocations: 122.7 kB / 0.8519 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.5376, allocations: 60.83 kB / 0.8519 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.5376, allocations: 4 kB / 0.8519 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000375/0.538, allocations: 211.6 kB / 0.8522 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.538, allocations: 4 kB / 0.8522 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0005302/0.5386, allocations: 277.9 kB / 0.8524 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.5386, allocations: 63.39 kB / 0.8525 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002457/0.5389, allocations: 279 kB / 0.8527 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.937e-05/0.5389, allocations: 41.7 kB / 0.8528 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.274e-05/0.539, allocations: 93.12 kB / 0.8529 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.5391, allocations: 47.44 kB / 0.8529 GB, free: 9.785 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.5391, allocations: 8 kB / 0.8529 GB, free: 9.777 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5392, allocations: 326.8 kB / 0.8532 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.5395, allocations: 96.17 kB / 0.8533 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002605/0.5398, allocations: 154.4 kB / 0.8535 GB, free: 9.18 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.5401, allocations: 248.4 kB / 0.8537 GB, free: 8.906 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.5401, allocations: 4 kB / 0.8537 GB, free: 8.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007105/0.5408, allocations: 420.6 kB / 0.8541 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.739e-05/0.5409, allocations: 80.66 kB / 0.8542 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5409, allocations: 4 kB / 0.8542 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.541, allocations: 4 kB / 0.8542 GB, free: 8.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.5411, allocations: 27.86 kB / 0.8542 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.5411, allocations: 4 kB / 0.8542 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.5415, allocations: 47.81 kB / 0.8543 GB, free: 8.297 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.687e-05/0.5415, allocations: 59.97 kB / 0.8543 GB, free: 8.238 MB / 0.5261 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.0001792/0.5417, allocations: 179.9 kB / 0.8545 GB, free: 8.055 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.5418, allocations: 23.72 kB / 0.8545 GB, free: 8.031 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.961e-05/0.5418, allocations: 30.25 kB / 0.8546 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.5418, allocations: 3.938 kB / 0.8546 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5419, allocations: 4 kB / 0.8546 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.5419, allocations: 3.984 kB / 0.8546 GB, free: 7.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/0.5426, allocations: 0.5607 MB / 0.8551 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.5426, allocations: 3.938 kB / 0.8551 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.5427, allocations: 4 kB / 0.8551 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5427, allocations: 4 kB / 0.8551 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.5427, allocations: 11.98 kB / 0.8551 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5427, allocations: 0 / 0.8551 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5427, allocations: 4 kB / 0.8551 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.5431, allocations: 320.7 kB / 0.8555 GB, free: 7.008 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.5433, allocations: 160.7 kB / 0.8556 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.5433, allocations: 12 kB / 0.8556 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.5435, allocations: 7.984 kB / 0.8556 GB, free: 6.812 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.5436, allocations: 11.98 kB / 0.8556 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.104e-05/0.5436, allocations: 39.91 kB / 0.8557 GB, free: 6.762 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001736/0.5438, allocations: 205.9 kB / 0.8559 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5438, allocations: 0 / 0.8559 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003061/0.5441, allocations: 51.98 kB / 0.8559 GB, free: 6.512 MB / 0.5261 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.0001455/0.5443, allocations: 115.6 kB / 0.856 GB, free: 6.391 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005456/0.5448, allocations: 359.5 kB / 0.8564 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5448, allocations: 0 / 0.8564 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.545, allocations: 67.91 kB / 0.8564 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.5453, allocations: 27.39 kB / 0.8565 GB, free: 5.922 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006545/0.546, allocations: 444.4 kB / 0.8569 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.5463, allocations: 0.7437 MB / 0.8576 GB, free: 4.691 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001419/0.5464, allocations: 37.08 kB / 0.8576 GB, free: 4.656 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.5465, allocations: 39.42 kB / 0.8577 GB, free: 4.617 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5465, allocations: 3.938 kB / 0.8577 GB, free: 4.613 MB / 0.5261 GB Notification: Performance of Templates: time 0.007282/0.5538, allocations: 4.327 MB / 0.8619 GB, free: 292 kB / 0.5261 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)