Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 173.2 kB / 16.76 MB, free: 4.941 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4628/0.4628, allocations: 86.27 MB / 103.8 MB, free: 14.56 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 348.4 MB, free: 5.016 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008885/0.000889, allocations: 98.33 kB / 420.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004126/0.0004127, allocations: 8 kB / 0.4901 GB, free: 8.02 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3811, allocations: 71.02 MB / 0.5594 GB, free: 43.74 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.5165, allocations: 102 MB / 0.6591 GB, free: 7.508 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.5167, allocations: 67.97 kB / 0.6591 GB, free: 7.441 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01382/0.5306, allocations: 4.483 MB / 0.6635 GB, free: 2.957 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.5306, allocations: 0 / 0.6635 GB, free: 2.957 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.5307, allocations: 8 kB / 0.6635 GB, free: 2.949 MB / 474.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.00105/0.5317, allocations: 0.6221 MB / 0.6641 GB, free: 2.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.5318, allocations: 8.031 kB / 0.6641 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.5319, allocations: 36.64 kB / 0.6642 GB, free: 2.207 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.5323, allocations: 259.7 kB / 0.6644 GB, free: 1.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.5323, allocations: 4.375 kB / 0.6644 GB, free: 1.914 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.151e-05/0.5324, allocations: 24.38 kB / 0.6644 GB, free: 1.891 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.5327, allocations: 144.5 kB / 0.6646 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.5328, allocations: 192 / 0.6646 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.5328, allocations: 7.938 kB / 0.6646 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5328, allocations: 0 / 0.6646 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.5329, allocations: 47.97 kB / 0.6646 GB, free: 1.691 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.5333, allocations: 333.2 kB / 0.6649 GB, free: 1.316 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.5336, allocations: 130.7 kB / 0.6651 GB, free: 1.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.5338, allocations: 56.83 kB / 0.6651 GB, free: 1.121 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.5338, allocations: 7.984 kB / 0.6651 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004123/0.5342, allocations: 215.6 kB / 0.6653 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 2.204e-06/0.5342, allocations: 0 / 0.6653 GB, free: 0.8906 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005754/0.5348, allocations: 278.8 kB / 0.6656 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.5349, allocations: 55.41 kB / 0.6657 GB, free: 0.5469 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.5352, allocations: 290.9 kB / 0.6659 GB, free: 252 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.5352, allocations: 37.69 kB / 0.666 GB, free: 208 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.4e-05/0.5353, allocations: 93.14 kB / 0.6661 GB, free: 112 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.491e-05/0.5354, allocations: 43.5 kB / 0.6661 GB, free: 68 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.5354, allocations: 8 kB / 0.6661 GB, free: 60 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.5355, allocations: 326.8 kB / 0.6664 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002701/0.5358, allocations: 100.2 kB / 0.6665 GB, free: 15.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.5361, allocations: 161 kB / 0.6667 GB, free: 15.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.5365, allocations: 243.9 kB / 0.6669 GB, free: 15.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5365, allocations: 0 / 0.6669 GB, free: 15.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007649/0.5373, allocations: 428.5 kB / 0.6673 GB, free: 14.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.511e-05/0.5373, allocations: 75.38 kB / 0.6674 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.5374, allocations: 4 kB / 0.6674 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.5374, allocations: 0 / 0.6674 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.5376, allocations: 35.86 kB / 0.6674 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5376, allocations: 3.984 kB / 0.6674 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.5379, allocations: 52.06 kB / 0.6675 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-05/0.538, allocations: 51.97 kB / 0.6675 GB, free: 14.52 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 () * 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.0002101/0.5383, allocations: 176.2 kB / 0.6677 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.5383, allocations: 31.66 kB / 0.6677 GB, free: 14.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.5384, allocations: 26.25 kB / 0.6677 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5384, allocations: 7.938 kB / 0.6678 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.5384, allocations: 0 / 0.6678 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.5384, allocations: 7.984 kB / 0.6678 GB, free: 14.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008152/0.5392, allocations: 0.5505 MB / 0.6683 GB, free: 13.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5392, allocations: 7.875 kB / 0.6683 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.5393, allocations: 8 kB / 0.6683 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5393, allocations: 0 / 0.6683 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.5393, allocations: 15.97 kB / 0.6683 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5393, allocations: 4 kB / 0.6683 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5393, allocations: 0 / 0.6683 GB, free: 13.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004158/0.5398, allocations: 317.4 kB / 0.6686 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.54, allocations: 156.7 kB / 0.6688 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.332e-05/0.54, allocations: 12 kB / 0.6688 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5402, allocations: 11.98 kB / 0.6688 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/0.5403, allocations: 15.98 kB / 0.6688 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.5403, allocations: 31.97 kB / 0.6689 GB, free: 13.06 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001935/0.5405, allocations: 209.9 kB / 0.6691 GB, free: 12.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5405, allocations: 0 / 0.6691 GB, free: 12.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.5409, allocations: 56.36 kB / 0.6691 GB, free: 12.8 MB / 490.7 MB 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.0001712/0.541, allocations: 129.4 kB / 0.6692 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006045/0.5417, allocations: 354.5 kB / 0.6696 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5417, allocations: 3.938 kB / 0.6696 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.5418, allocations: 71.91 kB / 0.6696 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.5422, allocations: 25.19 kB / 0.6697 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.543, allocations: 443.3 kB / 0.6701 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003181/0.5433, allocations: 0.7438 MB / 0.6708 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001515/0.5435, allocations: 37.08 kB / 0.6708 GB, free: 10.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.5436, allocations: 39.42 kB / 0.6709 GB, free: 10.89 MB / 490.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5436, allocations: 0 / 0.6709 GB, free: 10.89 MB / 490.7 MB Notification: Performance of Templates: time 0.008677/0.5523, allocations: 4.315 MB / 0.6751 GB, free: 6.582 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)