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.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.001268/0.001268, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001377/0.001377, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.372/1.372, allocations: 177.2 MB / 202.8 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002386/0.002386, allocations: 237.8 kB / 259.4 MB, free: 448 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.04/1.04, allocations: 138.4 MB / 454.3 MB, free: 1.977 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(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 3.136e-06/3.136e-06, allocations: 3.984 kB / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.122e-05/2.436e-05, allocations: 5.938 kB / 0.6468 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002465/0.002489, allocations: 1.527 MB / 0.6483 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.003824, allocations: 0.5418 MB / 0.6488 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.82e-05/0.003873, allocations: 0 / 0.6488 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.414e-05/0.003957, allocations: 3.938 kB / 0.6488 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.004058, allocations: 27.8 kB / 0.6488 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007786/0.004836, allocations: 323.3 kB / 0.6491 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.005363, allocations: 479.4 kB / 0.6496 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.005403, allocations: 15.92 kB / 0.6496 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004865/0.00589, allocations: 363.6 kB / 0.6499 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.006156, allocations: 127.7 kB / 0.6501 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.006256, allocations: 24 kB / 0.6501 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.33e-05/0.00635, allocations: 28 kB / 0.6501 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.00649, allocations: 119.7 kB / 0.6502 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001715/0.006662, allocations: 131.7 kB / 0.6504 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005157/0.007177, allocations: 462.7 kB / 0.6508 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.00718, allocations: 0 / 0.6508 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.71e-07/0.007181, allocations: 0 / 0.6508 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.58e-06/0.007186, allocations: 8 kB / 0.6508 GB, free: 0.8672 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001191/0.008377, allocations: 0.7911 MB / 0.6516 GB, free: 4 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 0.2393/0.2477, allocations: 9.391 kB / 0.6516 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002364/0.2479, allocations: 52.19 kB / 0.6516 GB, free: 57.27 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.2483, allocations: 254.1 kB / 0.6519 GB, free: 57.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.389e-05/0.2483, allocations: 18.25 kB / 0.6519 GB, free: 57.1 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.2484, allocations: 26.09 kB / 0.6519 GB, free: 57.1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001065/0.2495, allocations: 236.2 kB / 0.6521 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2495, allocations: 192 / 0.6521 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.758e-05/0.2495, allocations: 4.469 kB / 0.6522 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.2495, allocations: 384 / 0.6522 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007938/0.2503, allocations: 119.1 kB / 0.6523 GB, free: 57.07 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.2506, allocations: 286.9 kB / 0.6525 GB, free: 56.94 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.2517, allocations: 186 kB / 0.6527 GB, free: 56.92 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007757/0.2524, allocations: 115.9 kB / 0.6528 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.398e-05/0.2525, allocations: 2.125 kB / 0.6528 GB, free: 56.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009557/0.2534, allocations: 233 kB / 0.6531 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 1.943e-06/0.2534, allocations: 1.188 kB / 0.6531 GB, free: 56.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002576/0.256, allocations: 0.5228 MB / 0.6536 GB, free: 56.81 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.256, allocations: 62.31 kB / 0.6536 GB, free: 56.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/0.2564, allocations: 418.3 kB / 0.654 GB, free: 56.63 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.2564, allocations: 43.88 kB / 0.6541 GB, free: 56.59 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.142e-05/0.2565, allocations: 95.23 kB / 0.6542 GB, free: 56.51 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.609e-05/0.2565, allocations: 43.72 kB / 0.6542 GB, free: 56.48 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.2567, allocations: 123 kB / 0.6543 GB, free: 56.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.154e-05/0.2567, allocations: 326.2 kB / 0.6546 GB, free: 56.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.257, allocations: 194.6 kB / 0.6548 GB, free: 56 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.2573, allocations: 251 kB / 0.655 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.2575, allocations: 274.8 kB / 0.6553 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2575, allocations: 0 / 0.6553 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006993/0.2582, allocations: 0.5577 MB / 0.6559 GB, free: 55.38 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.2583, allocations: 86.39 kB / 0.6559 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2583, allocations: 0 / 0.6559 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2583, allocations: 4.25 kB / 0.6559 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2585, allocations: 25.88 kB / 0.656 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2585, allocations: 7.062 kB / 0.656 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004688/0.259, allocations: 66.39 kB / 0.656 GB, free: 55.29 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-05/0.259, allocations: 66.45 kB / 0.6561 GB, free: 55.28 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.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.0001643/0.2592, allocations: 191.5 kB / 0.6563 GB, free: 55.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.878e-05/0.2592, allocations: 43.52 kB / 0.6563 GB, free: 55.12 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.475e-05/0.2593, allocations: 46.47 kB / 0.6564 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2593, allocations: 3.312 kB / 0.6564 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2593, allocations: 0 / 0.6564 GB, free: 55.1 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2593, allocations: 3.938 kB / 0.6564 GB, free: 55.09 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.2614, allocations: 0.7048 MB / 0.6571 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2614, allocations: 0 / 0.6571 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.424e-05/0.2614, allocations: 10.55 kB / 0.6571 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2614, allocations: 3.406 kB / 0.6571 GB, free: 54.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.2614, allocations: 25.95 kB / 0.6571 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2614, allocations: 0 / 0.6571 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.2614, allocations: 3.094 kB / 0.6571 GB, free: 54.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.2632, allocations: 0.505 MB / 0.6576 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.2634, allocations: 128.2 kB / 0.6577 GB, free: 54.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.267e-05/0.2634, allocations: 17.55 kB / 0.6577 GB, free: 54.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.2639, allocations: 36.86 kB / 0.6578 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/0.264, allocations: 13.8 kB / 0.6578 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-05/0.264, allocations: 61 kB / 0.6578 GB, free: 54.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002017/0.2642, allocations: 293.7 kB / 0.6581 GB, free: 54.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2642, allocations: 0 / 0.6581 GB, free: 54.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003235/0.2645, allocations: 71.2 kB / 0.6582 GB, free: 54.36 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.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.0001184/0.2647, allocations: 116.1 kB / 0.6583 GB, free: 54.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001237/0.2659, allocations: 0.4895 MB / 0.6588 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.2659, allocations: 0 / 0.6588 GB, free: 53.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007869/0.2667, allocations: 122.4 kB / 0.6589 GB, free: 53.98 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003477/0.267, allocations: 31.19 kB / 0.6589 GB, free: 53.97 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.2683, allocations: 0.5758 MB / 0.6595 GB, free: 53.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.2685, allocations: 163.6 kB / 0.6596 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.036e-05/0.2685, allocations: 12.86 kB / 0.6597 GB, free: 53.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.222e-05/0.2685, allocations: 18.12 kB / 0.6597 GB, free: 53.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2685, allocations: 0 / 0.6597 GB, free: 53.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.008108/0.2767, allocations: 5.881 MB / 0.6654 GB, free: 52.47 MB / 0.5606 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.668039456009865] Failed to read output from testmodel.py, exit status != 0: 0.28432776033878326 0.294759604 0.28506285600000003 Calling exit ...