Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.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.001427/0.001427, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001465/0.001465, allocations: 191.3 kB / 22.85 MB, free: 5.664 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.557/1.557, allocations: 225.6 MB / 251.5 MB, free: 13.04 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 1.005/1.005, allocations: 149.5 MB / 456.3 MB, free: 1.266 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 64.88 kB / 0.6324 GB, free: 9.09 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1885, allocations: 87.87 MB / 0.7183 GB, free: 1.129 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002993/0.1915, allocations: 1.736 MB / 0.72 GB, free: 15.39 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001442/0.1929, allocations: 0.6362 MB / 0.7206 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.51e-05/0.193, allocations: 4 kB / 0.7206 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 9.588e-05/0.1931, allocations: 7.875 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.1932, allocations: 43.78 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009008/0.1941, allocations: 365.9 kB / 0.721 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0006634/0.1948, allocations: 0.597 MB / 0.7216 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.1949, allocations: 21.3 kB / 0.7216 GB, free: 13.72 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.1954, allocations: 319.5 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003108/0.1957, allocations: 159.4 kB / 0.722 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.1958, allocations: 48 kB / 0.7221 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1959, allocations: 40 kB / 0.7221 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.196, allocations: 127.6 kB / 0.7222 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002526/0.1963, allocations: 222.9 kB / 0.7225 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006236/0.1969, allocations: 0.5879 MB / 0.723 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1969, allocations: 0 / 0.723 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.383e-06/0.1969, allocations: 0 / 0.723 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.372e-06/0.1969, allocations: 0 / 0.723 GB, free: 12.23 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.001418/0.1983, allocations: 0.8456 MB / 0.7239 GB, free: 11.31 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.1984, allocations: 12.62 kB / 0.7239 GB, free: 11.3 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001456/0.1985, allocations: 56.66 kB / 0.7239 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.199, allocations: 284.6 kB / 0.7242 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.347e-05/0.199, allocations: 24.36 kB / 0.7242 GB, free: 10.92 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.283e-05/0.1991, allocations: 24.38 kB / 0.7242 GB, free: 10.89 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.2002, allocations: 235.7 kB / 0.7245 GB, free: 10.66 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2002, allocations: 192 / 0.7245 GB, free: 10.66 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.2003, allocations: 11.94 kB / 0.7245 GB, free: 10.65 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.2003, allocations: 4 kB / 0.7245 GB, free: 10.64 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008457/0.2011, allocations: 111.9 kB / 0.7246 GB, free: 10.54 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.2025, allocations: 0.6398 MB / 0.7252 GB, free: 9.852 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.2036, allocations: 178.5 kB / 0.7254 GB, free: 9.668 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/0.2044, allocations: 108.8 kB / 0.7255 GB, free: 9.559 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.2045, allocations: 0 / 0.7255 GB, free: 9.559 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/0.2055, allocations: 239 kB / 0.7257 GB, free: 9.312 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.2055, allocations: 0 / 0.7257 GB, free: 9.312 MB / 0.545 GB
Notification: Performance of matching and sorting (n=16): time 0.002789/0.2083, allocations: 0.4895 MB / 0.7262 GB, free: 8.816 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.2084, allocations: 67.39 kB / 0.7263 GB, free: 8.738 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.2089, allocations: 441.9 kB / 0.7267 GB, free: 8.297 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 9.495e-05/0.209, allocations: 37.7 kB / 0.7267 GB, free: 8.254 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.2091, allocations: 101.4 kB / 0.7268 GB, free: 8.152 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.2091, allocations: 43.73 kB / 0.7268 GB, free: 8.109 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000225/0.2094, allocations: 137.4 kB / 0.727 GB, free: 7.969 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001464/0.2095, allocations: 326.8 kB / 0.7273 GB, free: 7.641 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.2098, allocations: 139.9 kB / 0.7274 GB, free: 7.504 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.2102, allocations: 193.9 kB / 0.7276 GB, free: 7.293 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004422/0.2106, allocations: 300.3 kB / 0.7279 GB, free: 6.969 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.714e-06/0.2106, allocations: 7.984 kB / 0.7279 GB, free: 6.961 MB / 0.545 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009405/0.2116, allocations: 0.5201 MB / 0.7284 GB, free: 6.422 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.2117, allocations: 99.38 kB / 0.7285 GB, free: 6.312 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.2117, allocations: 0 / 0.7285 GB, free: 6.312 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.511e-05/0.2117, allocations: 4 kB / 0.7285 GB, free: 6.309 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001948/0.2119, allocations: 20.11 kB / 0.7285 GB, free: 6.289 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.2119, allocations: 8 kB / 0.7285 GB, free: 6.281 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005242/0.2124, allocations: 59.89 kB / 0.7286 GB, free: 6.223 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.66e-05/0.2125, allocations: 59.98 kB / 0.7286 GB, free: 6.164 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.0003333/0.2129, allocations: 216.2 kB / 0.7289 GB, free: 5.945 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.686e-05/0.2129, allocations: 43.77 kB / 0.7289 GB, free: 5.902 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.562e-05/0.213, allocations: 47.72 kB / 0.7289 GB, free: 5.855 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.213, allocations: 0 / 0.7289 GB, free: 5.855 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.213, allocations: 0 / 0.7289 GB, free: 5.855 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.213, allocations: 0 / 0.7289 GB, free: 5.855 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.2155, allocations: 0.7777 MB / 0.7297 GB, free: 5.027 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2155, allocations: 0 / 0.7297 GB, free: 5.027 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.2155, allocations: 4 kB / 0.7297 GB, free: 5.023 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.2155, allocations: 0 / 0.7297 GB, free: 5.023 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.2155, allocations: 23.97 kB / 0.7297 GB, free: 5 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.2155, allocations: 3.938 kB / 0.7297 GB, free: 4.996 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2155, allocations: 0 / 0.7297 GB, free: 4.996 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.2174, allocations: 487.5 kB / 0.7302 GB, free: 4.504 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003414/0.2178, allocations: 181.4 kB / 0.7304 GB, free: 4.324 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.197e-05/0.2178, allocations: 16 kB / 0.7304 GB, free: 4.309 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.2183, allocations: 43.89 kB / 0.7304 GB, free: 4.266 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.2184, allocations: 7.984 kB / 0.7304 GB, free: 4.258 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.831e-05/0.2184, allocations: 59.92 kB / 0.7305 GB, free: 4.199 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0003521/0.2188, allocations: 319.1 kB / 0.7308 GB, free: 3.887 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2188, allocations: 0 / 0.7308 GB, free: 3.887 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.00039/0.2192, allocations: 68 kB / 0.7309 GB, free: 3.82 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.0001894/0.2194, allocations: 127.7 kB / 0.731 GB, free: 3.684 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.001381/0.2207, allocations: 442.5 kB / 0.7314 GB, free: 3.227 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.2207, allocations: 0 / 0.7314 GB, free: 3.227 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0007955/0.2215, allocations: 115.8 kB / 0.7315 GB, free: 3.117 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.222, allocations: 48 kB / 0.7316 GB, free: 3.078 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.2236, allocations: 0.6134 MB / 0.7322 GB, free: 2.441 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004284/0.224, allocations: 0.7786 MB / 0.7329 GB, free: 1.637 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.976e-05/0.2241, allocations: 17.42 kB / 0.7329 GB, free: 1.621 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.655e-05/0.2241, allocations: 19.42 kB / 0.733 GB, free: 1.602 MB / 0.545 GB
Notification: Performance of SimCode: time 6.41e-07/0.2241, allocations: 0 / 0.733 GB, free: 1.602 MB / 0.545 GB
Notification: Performance of Templates: time 0.01034/0.2345, allocations: 5.5 MB / 0.7383 GB, free: 12 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.663444704376161]
Failed to read output from testmodel.py, exit status != 0:
0.2435739589855075 0.637864398 0.43622350400000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fde4b7c57b0>