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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 99.77 kB / 20.49 MB, free: 1.324 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 217 kB / 23.79 MB, free: 4.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 230.6 MB / 257.6 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9276/0.9276, allocations: 150 MB / 464 MB, free: 10.21 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 78.55 kB / 0.6425 GB, free: 9.316 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1723, allocations: 89.17 MB / 0.7296 GB, free: 224 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003131/0.1754, allocations: 1.707 MB / 0.7313 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.1768, allocations: 0.6078 MB / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.379e-05/0.1769, allocations: 0 / 0.7319 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.177, allocations: 19.8 kB / 0.7319 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001543/0.1772, allocations: 39.78 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008878/0.1781, allocations: 378.2 kB / 0.7323 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006799/0.1788, allocations: 0.5931 MB / 0.7329 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1789, allocations: 17.31 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000431/0.1793, allocations: 319.6 kB / 0.7332 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003006/0.1796, allocations: 143.5 kB / 0.7333 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.1797, allocations: 40 kB / 0.7334 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.1798, allocations: 44 kB / 0.7334 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.18, allocations: 131.6 kB / 0.7335 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.1802, allocations: 175.2 kB / 0.7337 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.1808, allocations: 0.6034 MB / 0.7343 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1808, allocations: 0 / 0.7343 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1808, allocations: 0 / 0.7343 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.823e-06/0.1808, allocations: 0 / 0.7343 GB, free: 11.41 MB / 0.5606 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.001374/0.1822, allocations: 0.8456 MB / 0.7351 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1822, allocations: 8.031 kB / 0.7351 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.1824, allocations: 56.66 kB / 0.7352 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.1828, allocations: 288.6 kB / 0.7355 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.031e-05/0.1829, allocations: 20.36 kB / 0.7355 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.939e-05/0.183, allocations: 32.36 kB / 0.7355 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.184, allocations: 256.3 kB / 0.7358 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.184, allocations: 192 / 0.7358 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.184, allocations: 3.938 kB / 0.7358 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.184, allocations: 4 kB / 0.7358 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007713/0.1848, allocations: 131.9 kB / 0.7359 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00122/0.186, allocations: 0.5352 MB / 0.7364 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1871, allocations: 190.5 kB / 0.7366 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007301/0.1878, allocations: 116.8 kB / 0.7367 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.916e-05/0.1878, allocations: 7.984 kB / 0.7367 GB, free: 8.797 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.1888, allocations: 247.1 kB / 0.737 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.1888, allocations: 0 / 0.737 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002577/0.1914, allocations: 0.539 MB / 0.7375 GB, free: 8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1915, allocations: 63.41 kB / 0.7375 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005187/0.192, allocations: 441.9 kB / 0.738 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/0.1921, allocations: 41.69 kB / 0.738 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1922, allocations: 105.3 kB / 0.7381 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.1922, allocations: 43.72 kB / 0.7381 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/0.1925, allocations: 141.4 kB / 0.7383 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1926, allocations: 326.8 kB / 0.7386 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003541/0.193, allocations: 219.3 kB / 0.7388 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004016/0.1934, allocations: 277.2 kB / 0.7391 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.1938, allocations: 294.5 kB / 0.7393 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1938, allocations: 0 / 0.7393 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009543/0.1948, allocations: 0.6016 MB / 0.7399 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.597e-05/0.1948, allocations: 87.56 kB / 0.74 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1949, allocations: 11.94 kB / 0.74 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.1949, allocations: 4 kB / 0.74 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.195, allocations: 15.98 kB / 0.74 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.195, allocations: 7.938 kB / 0.7401 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.1955, allocations: 67.84 kB / 0.7401 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.328e-05/0.1956, allocations: 63.97 kB / 0.7402 GB, free: 5.066 MB / 0.5606 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.000249/0.1959, allocations: 216.3 kB / 0.7404 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.1959, allocations: 47.66 kB / 0.7404 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.047e-05/0.196, allocations: 43.72 kB / 0.7405 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.196, allocations: 3.984 kB / 0.7405 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.196, allocations: 0 / 0.7405 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.196, allocations: 0 / 0.7405 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.1982, allocations: 0.748 MB / 0.7412 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1982, allocations: 0 / 0.7412 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.1982, allocations: 7.938 kB / 0.7412 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1982, allocations: 0 / 0.7412 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.149e-05/0.1983, allocations: 23.97 kB / 0.7412 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1983, allocations: 0 / 0.7412 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1983, allocations: 4 kB / 0.7412 GB, free: 3.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.2, allocations: 0.514 MB / 0.7417 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.2004, allocations: 177.4 kB / 0.7419 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.265e-05/0.2004, allocations: 20 kB / 0.7419 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.2009, allocations: 31.97 kB / 0.742 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.937e-05/0.2009, allocations: 11.92 kB / 0.742 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.835e-05/0.201, allocations: 67.97 kB / 0.742 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00036/0.2014, allocations: 323.1 kB / 0.7423 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2014, allocations: 0 / 0.7423 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003886/0.2018, allocations: 64 kB / 0.7424 GB, free: 2.719 MB / 0.5606 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.0001754/0.2019, allocations: 127.1 kB / 0.7425 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001396/0.2033, allocations: 0.5175 MB / 0.743 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.2033, allocations: 0 / 0.743 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007503/0.2041, allocations: 127.9 kB / 0.7432 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.2045, allocations: 51.25 kB / 0.7432 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.2061, allocations: 0.6061 MB / 0.7438 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002027/0.2063, allocations: 186.9 kB / 0.744 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.33e-05/0.2064, allocations: 13.42 kB / 0.744 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.228e-05/0.2064, allocations: 19.44 kB / 0.744 GB, free: 1 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.2064, allocations: 3.938 kB / 0.744 GB, free: 0.9961 MB / 0.5606 GB Notification: Performance of Templates: time 0.01077/0.2172, allocations: 6.6 MB / 0.7505 GB, free: 10.39 MB / 0.5762 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.761445923009887] Failed to read output from testmodel.py, exit status != 0: 0.22603040118701756 0.538956432 0.355339226 Calling exit ...