Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.00121/0.00121, allocations: 110 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.001318/0.001318, allocations: 182.8 kB / 22.22 MB, free: 5.164 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.345/1.345, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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.002358/0.002358, allocations: 292.4 kB / 306.6 MB, free: 8.328 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.148/1.148, 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus")
translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00262/0.00262, allocations: 102.8 kB / 0.7308 GB, free: 38.96 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1737, allocations: 94.2 MB / 0.8228 GB, free: 1.941 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002957/0.1766, allocations: 1.541 MB / 0.8243 GB, free: 396 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.001427/0.1781, allocations: 0.5399 MB / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.1782, allocations: 0 / 0.8248 GB, free: 15.85 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 9.463e-05/0.1782, allocations: 11.88 kB / 0.8249 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001269/0.1784, allocations: 31.84 kB / 0.8249 GB, free: 15.8 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 0.000942/0.1793, allocations: 322.3 kB / 0.8252 GB, free: 15.49 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0006606/0.18, allocations: 487.4 kB / 0.8257 GB, free: 15.02 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.18, allocations: 4 kB / 0.8257 GB, free: 15.01 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004751/0.1805, allocations: 275.7 kB / 0.8259 GB, free: 14.74 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003562/0.1809, allocations: 153 kB / 0.8261 GB, free: 14.59 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.181, allocations: 28 kB / 0.8261 GB, free: 14.57 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.726e-05/0.1811, allocations: 28 kB / 0.8261 GB, free: 14.54 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.1812, allocations: 115.6 kB / 0.8262 GB, free: 14.43 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002316/0.1814, allocations: 187 kB / 0.8264 GB, free: 14.24 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.182, allocations: 430.4 kB / 0.8268 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.182, allocations: 0 / 0.8268 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.963e-06/0.182, allocations: 0 / 0.8268 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 1.383e-05/0.182, allocations: 0 / 0.8268 GB, free: 13.82 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.001428/0.1834, allocations: 0.8028 MB / 0.8276 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.1835, allocations: 12.03 kB / 0.8276 GB, free: 12.93 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1836, allocations: 48.7 kB / 0.8277 GB, free: 12.89 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000429/0.184, allocations: 260.7 kB / 0.8279 GB, free: 12.61 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.98e-05/0.1841, allocations: 16.36 kB / 0.8279 GB, free: 12.59 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.682e-05/0.1842, allocations: 24.38 kB / 0.828 GB, free: 12.57 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1852, allocations: 214 kB / 0.8282 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.248e-06/0.1852, allocations: 4.125 kB / 0.8282 GB, free: 12.35 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.873e-05/0.1852, allocations: 7.922 kB / 0.8282 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1852, allocations: 4 kB / 0.8282 GB, free: 12.34 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.186, allocations: 107.9 kB / 0.8283 GB, free: 12.23 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.1865, allocations: 348.4 kB / 0.8286 GB, free: 11.85 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.1876, allocations: 174.4 kB / 0.8288 GB, free: 11.67 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000766/0.1883, allocations: 100.8 kB / 0.8289 GB, free: 11.57 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.1884, allocations: 4 kB / 0.8289 GB, free: 11.56 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.1894, allocations: 230.6 kB / 0.8291 GB, free: 11.33 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.1894, allocations: 0 / 0.8291 GB, free: 11.33 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=16): time 0.002748/0.1921, allocations: 489 kB / 0.8296 GB, free: 10.84 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.1922, allocations: 59.39 kB / 0.8296 GB, free: 10.77 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.1926, allocations: 421.8 kB / 0.83 GB, free: 10.35 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 7.579e-05/0.1927, allocations: 41.69 kB / 0.8301 GB, free: 10.3 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1928, allocations: 97.44 kB / 0.8302 GB, free: 10.21 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 5.061e-05/0.1929, allocations: 35.7 kB / 0.8302 GB, free: 10.17 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.1931, allocations: 129.5 kB / 0.8303 GB, free: 10.04 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001469/0.1933, allocations: 322.8 kB / 0.8306 GB, free: 9.715 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.1935, allocations: 119.9 kB / 0.8307 GB, free: 9.598 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003082/0.1938, allocations: 183 kB / 0.8309 GB, free: 9.398 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.1942, allocations: 275.5 kB / 0.8312 GB, free: 9.098 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1942, allocations: 0 / 0.8312 GB, free: 9.098 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008934/0.1951, allocations: 492.6 kB / 0.8316 GB, free: 8.598 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.1952, allocations: 95.31 kB / 0.8317 GB, free: 8.492 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1953, allocations: 0 / 0.8317 GB, free: 8.492 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.1953, allocations: 4 kB / 0.8317 GB, free: 8.488 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.1954, allocations: 19.92 kB / 0.8318 GB, free: 8.469 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.1955, allocations: 4.188 kB / 0.8318 GB, free: 8.465 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.196, allocations: 67.78 kB / 0.8318 GB, free: 8.398 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/0.1961, allocations: 63.97 kB / 0.8319 GB, free: 8.336 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.0002454/0.1963, allocations: 188.4 kB / 0.8321 GB, free: 8.145 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.1964, allocations: 47.66 kB / 0.8321 GB, free: 8.098 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.1964, allocations: 47.67 kB / 0.8322 GB, free: 8.051 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1964, allocations: 0 / 0.8322 GB, free: 8.051 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.1965, allocations: 0 / 0.8322 GB, free: 8.051 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1965, allocations: 0 / 0.8322 GB, free: 8.051 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/0.1988, allocations: 0.7122 MB / 0.8328 GB, free: 7.285 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1988, allocations: 0 / 0.8328 GB, free: 7.285 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.704e-05/0.1988, allocations: 11.94 kB / 0.8329 GB, free: 7.273 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/0.1988, allocations: 3.984 kB / 0.8329 GB, free: 7.27 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.584e-05/0.1989, allocations: 15.98 kB / 0.8329 GB, free: 7.254 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1989, allocations: 0 / 0.8329 GB, free: 7.254 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.1989, allocations: 4 kB / 0.8329 GB, free: 7.25 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.2008, allocations: 482.8 kB / 0.8333 GB, free: 6.766 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.2011, allocations: 133.5 kB / 0.8335 GB, free: 6.633 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.228e-05/0.2011, allocations: 12 kB / 0.8335 GB, free: 6.621 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.2016, allocations: 27.97 kB / 0.8335 GB, free: 6.594 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.2017, allocations: 15.98 kB / 0.8335 GB, free: 6.578 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.991e-05/0.2018, allocations: 59.97 kB / 0.8336 GB, free: 6.52 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0003753/0.2022, allocations: 291.1 kB / 0.8339 GB, free: 6.234 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 9e-08/0.2022, allocations: 4 kB / 0.8339 GB, free: 6.23 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0004449/0.2026, allocations: 67.92 kB / 0.8339 GB, free: 6.164 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.0002025/0.2028, allocations: 115.2 kB / 0.834 GB, free: 6.039 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001469/0.2043, allocations: 414.4 kB / 0.8344 GB, free: 5.609 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2043, allocations: 0 / 0.8344 GB, free: 5.609 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.2051, allocations: 107.9 kB / 0.8345 GB, free: 5.504 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.2054, allocations: 33.89 kB / 0.8346 GB, free: 5.473 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.207, allocations: 0.5491 MB / 0.8351 GB, free: 4.902 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.2075, allocations: 0.7708 MB / 0.8359 GB, free: 4.105 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 7.041e-05/0.2076, allocations: 21.02 kB / 0.8359 GB, free: 4.086 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.563e-05/0.2076, allocations: 19.44 kB / 0.8359 GB, free: 4.066 MB / 0.5762 GB
Notification: Performance of SimCode: time 6.11e-07/0.2076, allocations: 0 / 0.8359 GB, free: 4.066 MB / 0.5762 GB
Notification: Performance of Templates: time 0.01022/0.2178, allocations: 5.041 MB / 0.8408 GB, free: 14.93 MB / 0.5919 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.688172874972224]
Failed to read output from testmodel.py, exit status != 0:
0.22596003580838442 0.24037447999999995 0.05543907199999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f99305997b0>