Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001504/0.001504, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.001648/0.001648, allocations: 195.4 kB / 22.85 MB, free: 5.645 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.361/1.361, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9004/0.9004, allocations: 149.5 MB / 456.3 MB, free: 1.301 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 68.2 kB / 0.6324 GB, free: 9.156 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1753, allocations: 87.87 MB / 0.7182 GB, free: 1.207 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003253/0.1786, allocations: 1.734 MB / 0.7199 GB, free: 15.46 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001498/0.1801, allocations: 0.6363 MB / 0.7205 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.1802, allocations: 0 / 0.7205 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.000104/0.1803, allocations: 15.86 kB / 0.7206 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1804, allocations: 31.8 kB / 0.7206 GB, free: 14.78 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009405/0.1813, allocations: 378.2 kB / 0.721 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0007367/0.1821, allocations: 0.6009 MB / 0.7215 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1822, allocations: 21.3 kB / 0.7216 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005134/0.1827, allocations: 311.7 kB / 0.7219 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.1831, allocations: 168.4 kB / 0.722 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 8.707e-05/0.1831, allocations: 40 kB / 0.7221 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.381e-05/0.1832, allocations: 44 kB / 0.7221 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.1834, allocations: 123.6 kB / 0.7222 GB, free: 13.12 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002277/0.1836, allocations: 219 kB / 0.7224 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006681/0.1843, allocations: 0.5996 MB / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1843, allocations: 0 / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.142e-06/0.1843, allocations: 0 / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.342e-06/0.1843, allocations: 0 / 0.723 GB, free: 12.3 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.001381/0.1857, allocations: 0.8378 MB / 0.7238 GB, free: 11.39 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.1857, allocations: 12.61 kB / 0.7238 GB, free: 11.38 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1858, allocations: 60.66 kB / 0.7239 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1862, allocations: 280.6 kB / 0.7242 GB, free: 11.02 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.1863, allocations: 20.38 kB / 0.7242 GB, free: 11 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.1864, allocations: 32.36 kB / 0.7242 GB, free: 10.97 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009907/0.1874, allocations: 234 kB / 0.7244 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.1874, allocations: 192 / 0.7244 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/0.1874, allocations: 7.922 kB / 0.7244 GB, free: 10.73 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.1874, allocations: 4 kB / 0.7245 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007443/0.1881, allocations: 117.6 kB / 0.7246 GB, free: 10.61 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.1895, allocations: 0.6438 MB / 0.7252 GB, free: 9.922 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1905, allocations: 174.4 kB / 0.7254 GB, free: 9.742 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007352/0.1912, allocations: 112.8 kB / 0.7255 GB, free: 9.629 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.1912, allocations: 0 / 0.7255 GB, free: 9.629 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009723/0.1922, allocations: 227.2 kB / 0.7257 GB, free: 9.395 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1922, allocations: 0 / 0.7257 GB, free: 9.395 MB / 0.545 GB
Notification: Performance of matching and sorting (n=16): time 0.00248/0.1947, allocations: 0.4946 MB / 0.7262 GB, free: 8.895 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.1947, allocations: 55.41 kB / 0.7262 GB, free: 8.828 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004997/0.1952, allocations: 445.9 kB / 0.7266 GB, free: 8.383 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.1953, allocations: 37.7 kB / 0.7267 GB, free: 8.34 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1954, allocations: 113.3 kB / 0.7268 GB, free: 8.227 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.1954, allocations: 43.67 kB / 0.7268 GB, free: 8.184 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.1957, allocations: 133.5 kB / 0.727 GB, free: 8.047 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001846/0.1959, allocations: 330.8 kB / 0.7273 GB, free: 7.715 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.1961, allocations: 139.9 kB / 0.7274 GB, free: 7.578 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.1965, allocations: 185.9 kB / 0.7276 GB, free: 7.375 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.1969, allocations: 307.9 kB / 0.7279 GB, free: 7.043 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1969, allocations: 0 / 0.7279 GB, free: 7.043 MB / 0.545 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008495/0.1977, allocations: 0.5241 MB / 0.7284 GB, free: 6.5 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.1978, allocations: 99.36 kB / 0.7285 GB, free: 6.391 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1978, allocations: 0 / 0.7285 GB, free: 6.391 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1979, allocations: 4 kB / 0.7285 GB, free: 6.387 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.198, allocations: 23.92 kB / 0.7285 GB, free: 6.363 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.198, allocations: 4 kB / 0.7285 GB, free: 6.359 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004765/0.1985, allocations: 64.03 kB / 0.7286 GB, free: 6.297 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.102e-05/0.1986, allocations: 63.97 kB / 0.7286 GB, free: 6.234 MB / 0.545 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0002683/0.1989, allocations: 220.2 kB / 0.7288 GB, free: 6.012 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.199, allocations: 35.77 kB / 0.7289 GB, free: 5.977 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.99e-05/0.199, allocations: 39.73 kB / 0.7289 GB, free: 5.938 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.199, allocations: 7.984 kB / 0.7289 GB, free: 5.93 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.199, allocations: 0 / 0.7289 GB, free: 5.93 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.199, allocations: 4 kB / 0.7289 GB, free: 5.926 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.2012, allocations: 0.7621 MB / 0.7297 GB, free: 5.113 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.2012, allocations: 7.984 kB / 0.7297 GB, free: 5.105 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.2012, allocations: 4 kB / 0.7297 GB, free: 5.102 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.2012, allocations: 4 kB / 0.7297 GB, free: 5.098 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.236e-05/0.2012, allocations: 23.97 kB / 0.7297 GB, free: 5.074 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.2013, allocations: 3.938 kB / 0.7297 GB, free: 5.07 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2013, allocations: 0 / 0.7297 GB, free: 5.07 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.2029, allocations: 487.5 kB / 0.7302 GB, free: 4.578 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.2032, allocations: 185.4 kB / 0.7304 GB, free: 4.395 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.2033, allocations: 16 kB / 0.7304 GB, free: 4.379 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/0.2037, allocations: 31.91 kB / 0.7304 GB, free: 4.348 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.422e-05/0.2038, allocations: 11.98 kB / 0.7304 GB, free: 4.336 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.2039, allocations: 59.91 kB / 0.7305 GB, free: 4.277 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0003488/0.2042, allocations: 323.1 kB / 0.7308 GB, free: 3.961 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.2042, allocations: 0 / 0.7308 GB, free: 3.961 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004498/0.2046, allocations: 67.98 kB / 0.7308 GB, free: 3.895 MB / 0.545 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling)
 * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001872/0.2048, allocations: 127.7 kB / 0.731 GB, free: 3.758 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.001261/0.2061, allocations: 442.5 kB / 0.7314 GB, free: 3.301 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.2061, allocations: 0 / 0.7314 GB, free: 3.301 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007016/0.2068, allocations: 123 kB / 0.7315 GB, free: 3.184 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004276/0.2072, allocations: 39.59 kB / 0.7315 GB, free: 3.148 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.2088, allocations: 0.606 MB / 0.7321 GB, free: 2.52 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005581/0.2093, allocations: 0.7864 MB / 0.7329 GB, free: 1.707 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.814e-05/0.2094, allocations: 17.42 kB / 0.7329 GB, free: 1.691 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.2094, allocations: 15.44 kB / 0.7329 GB, free: 1.676 MB / 0.545 GB
Notification: Performance of SimCode: time 4.11e-07/0.2094, allocations: 4 kB / 0.7329 GB, free: 1.672 MB / 0.545 GB
Notification: Performance of Templates: time 0.01071/0.2202, allocations: 5.493 MB / 0.7383 GB, free: 12.09 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.620131121948361]
Failed to read output from testmodel.py, exit status != 0:
0.2282209824770689 0.501027125 0.054706508
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6823b7d7b0>