Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002547/0.002547, allocations: 278.6 kB / 306.5 MB, free: 8.305 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.194/1.194, allocations: 180.9 MB / 0.53 GB, free: 14.32 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus")
translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002741/0.002741, allocations: 106.7 kB / 0.7308 GB, free: 38.93 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1557, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002862/0.1586, allocations: 1.537 MB / 0.8243 GB, free: 268 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.00122/0.1598, allocations: 0.5477 MB / 0.8249 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.56e-05/0.1599, allocations: 4 kB / 0.8249 GB, free: 15.71 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 9.448e-05/0.16, allocations: 7.875 kB / 0.8249 GB, free: 15.7 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.1601, allocations: 23.86 kB / 0.8249 GB, free: 15.68 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000724/0.1608, allocations: 318.4 kB / 0.8252 GB, free: 15.37 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0004976/0.1613, allocations: 483.5 kB / 0.8256 GB, free: 14.9 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.1613, allocations: 4 kB / 0.8257 GB, free: 14.89 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003645/0.1617, allocations: 287.6 kB / 0.8259 GB, free: 14.61 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002606/0.162, allocations: 143.7 kB / 0.8261 GB, free: 14.47 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 9.257e-05/0.1621, allocations: 28 kB / 0.8261 GB, free: 14.45 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.471e-05/0.1621, allocations: 24 kB / 0.8261 GB, free: 14.42 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.1623, allocations: 115.6 kB / 0.8262 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.1625, allocations: 187.1 kB / 0.8264 GB, free: 14.12 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004437/0.1629, allocations: 430.3 kB / 0.8268 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1629, allocations: 0 / 0.8268 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.1629, allocations: 0 / 0.8268 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.019e-06/0.1629, allocations: 4 kB / 0.8268 GB, free: 13.7 MB / 0.5762 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.001224/0.1642, allocations: 0.8067 MB / 0.8276 GB, free: 12.82 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.1642, allocations: 8.031 kB / 0.8276 GB, free: 12.81 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.1643, allocations: 52.7 kB / 0.8277 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.1647, allocations: 256.7 kB / 0.8279 GB, free: 12.48 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.1647, allocations: 16.38 kB / 0.8279 GB, free: 12.47 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.766e-05/0.1648, allocations: 32.36 kB / 0.828 GB, free: 12.44 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00102/0.1658, allocations: 212.1 kB / 0.8282 GB, free: 12.23 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.1658, allocations: 192 / 0.8282 GB, free: 12.23 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.006e-05/0.1659, allocations: 7.875 kB / 0.8282 GB, free: 12.22 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1659, allocations: 0 / 0.8282 GB, free: 12.22 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008094/0.1667, allocations: 107.9 kB / 0.8283 GB, free: 12.11 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004266/0.1671, allocations: 360.3 kB / 0.8286 GB, free: 11.72 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001084/0.1682, allocations: 170.5 kB / 0.8288 GB, free: 11.54 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007708/0.169, allocations: 96.78 kB / 0.8289 GB, free: 11.45 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.169, allocations: 4 kB / 0.8289 GB, free: 11.44 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009791/0.17, allocations: 223.1 kB / 0.8291 GB, free: 11.21 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.17, allocations: 3.938 kB / 0.8291 GB, free: 11.21 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=16): time 0.002642/0.1726, allocations: 492.1 kB / 0.8296 GB, free: 10.72 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.1727, allocations: 59.41 kB / 0.8296 GB, free: 10.65 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.1731, allocations: 417.9 kB / 0.83 GB, free: 10.23 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 5.719e-05/0.1731, allocations: 37.7 kB / 0.83 GB, free: 10.19 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 7.729e-05/0.1732, allocations: 93.44 kB / 0.8301 GB, free: 10.1 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.1733, allocations: 47.61 kB / 0.8302 GB, free: 10.05 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.1735, allocations: 129.5 kB / 0.8303 GB, free: 9.918 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001313/0.1736, allocations: 322.8 kB / 0.8306 GB, free: 9.594 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002628/0.1739, allocations: 115.9 kB / 0.8307 GB, free: 9.48 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003045/0.1742, allocations: 182.4 kB / 0.8309 GB, free: 9.281 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003833/0.1745, allocations: 271.5 kB / 0.8312 GB, free: 8.984 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.1745, allocations: 0 / 0.8312 GB, free: 8.984 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.000832/0.1754, allocations: 496.6 kB / 0.8316 GB, free: 8.48 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 9.036e-05/0.1755, allocations: 91.31 kB / 0.8317 GB, free: 8.379 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.1755, allocations: 4 kB / 0.8317 GB, free: 8.375 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1755, allocations: 0 / 0.8317 GB, free: 8.375 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.1756, allocations: 23.97 kB / 0.8317 GB, free: 8.352 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1756, allocations: 7.938 kB / 0.8318 GB, free: 8.344 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004804/0.1761, allocations: 60.03 kB / 0.8318 GB, free: 8.285 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-05/0.1762, allocations: 55.98 kB / 0.8319 GB, free: 8.23 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.year)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (26):
 * Single equations (assignments): 24
 * Array equations: 0
 * Algorithm blocks: 2
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.000229/0.1764, allocations: 204.3 kB / 0.8321 GB, free: 8.023 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1765, allocations: 43.66 kB / 0.8321 GB, free: 7.98 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.002e-05/0.1766, allocations: 43.62 kB / 0.8321 GB, free: 7.938 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1766, allocations: 4 kB / 0.8321 GB, free: 7.934 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1766, allocations: 4 kB / 0.8321 GB, free: 7.93 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1766, allocations: 3.984 kB / 0.8322 GB, free: 7.926 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002291/0.1789, allocations: 0.7083 MB / 0.8328 GB, free: 7.164 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1789, allocations: 4 kB / 0.8328 GB, free: 7.16 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.521e-05/0.1789, allocations: 3.938 kB / 0.8329 GB, free: 7.156 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1789, allocations: 8 kB / 0.8329 GB, free: 7.148 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.1789, allocations: 23.97 kB / 0.8329 GB, free: 7.125 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.179, allocations: 0 / 0.8329 GB, free: 7.125 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.179, allocations: 0 / 0.8329 GB, free: 7.125 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.1807, allocations: 479.4 kB / 0.8333 GB, free: 6.641 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000278/0.181, allocations: 129.6 kB / 0.8335 GB, free: 6.512 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.972e-05/0.1811, allocations: 11.98 kB / 0.8335 GB, free: 6.5 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.1816, allocations: 31.97 kB / 0.8335 GB, free: 6.469 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.227e-05/0.1816, allocations: 11.98 kB / 0.8335 GB, free: 6.457 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/0.1817, allocations: 55.97 kB / 0.8336 GB, free: 6.402 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0002973/0.182, allocations: 295.1 kB / 0.8338 GB, free: 6.113 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.182, allocations: 4 kB / 0.8339 GB, free: 6.109 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0003411/0.1823, allocations: 71.92 kB / 0.8339 GB, free: 6.039 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$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.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.hour)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 10
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.1825, allocations: 112.5 kB / 0.834 GB, free: 5.918 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001292/0.1837, allocations: 425.9 kB / 0.8344 GB, free: 5.48 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1837, allocations: 0 / 0.8344 GB, free: 5.48 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.1846, allocations: 103.9 kB / 0.8345 GB, free: 5.379 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.1849, allocations: 28.02 kB / 0.8346 GB, free: 5.355 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.1864, allocations: 0.5514 MB / 0.8351 GB, free: 4.781 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.1868, allocations: 0.7708 MB / 0.8359 GB, free: 3.984 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 5.386e-05/0.1869, allocations: 9.031 kB / 0.8359 GB, free: 3.977 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.1869, allocations: 23.36 kB / 0.8359 GB, free: 3.953 MB / 0.5762 GB
Notification: Performance of SimCode: time 5.71e-07/0.1869, allocations: 0 / 0.8359 GB, free: 3.953 MB / 0.5762 GB
Notification: Performance of Templates: time 0.009786/0.1967, allocations: 5.053 MB / 0.8408 GB, free: 14.81 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.810305407270789]
Failed to read output from testmodel.py, exit status != 0:
0.2042641807347536 0.21808449100000002 0.052290266
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2245f517b0>