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.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.001385/0.001385, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001633/0.001633, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 18.57 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 0.9747/0.9747, allocations: 177.1 MB / 203.8 MB, free: 5.652 MB / 186.7 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.002254/0.002254, allocations: 240.7 kB / 260.5 MB, free: 12.9 MB / 250.7 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 0.7439/0.7439, allocations: 138.4 MB / 455.4 MB, free: 1.539 MB / 362.7 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.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 2.084e-06/2.084e-06, allocations: 0 / 0.555 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.807e-05/3.016e-05, allocations: 2.312 kB / 0.555 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002763/0.002793, allocations: 1.557 MB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.004108, allocations: 0.5409 MB / 0.5571 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.004184, allocations: 4 kB / 0.5571 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.004298, allocations: 11.86 kB / 0.5571 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.004435, allocations: 27.8 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000844/0.005279, allocations: 323.2 kB / 0.5574 GB, free: 14.43 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005583/0.005838, allocations: 479.4 kB / 0.5579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.854e-05/0.005886, allocations: 4 kB / 0.5579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.00639, allocations: 355.6 kB / 0.5582 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002989/0.006689, allocations: 127.8 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/0.006761, allocations: 24 kB / 0.5583 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.297e-05/0.006823, allocations: 28 kB / 0.5584 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.006954, allocations: 119.7 kB / 0.5585 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.007117, allocations: 135.7 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004456/0.007563, allocations: 374.8 kB / 0.559 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.007566, allocations: 0 / 0.559 GB, free: 12.82 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.103e-06/0.007567, allocations: 0 / 0.559 GB, free: 12.82 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.007574, allocations: 0 / 0.559 GB, free: 12.82 MB / 490.7 MB 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.001201/0.008775, allocations: 0.9144 MB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.008822, allocations: 8.75 kB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001553/0.008977, allocations: 56.7 kB / 0.5599 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003711/0.009348, allocations: 258.8 kB / 0.5602 GB, free: 11.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.247e-05/0.0094, allocations: 24.36 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-05/0.009481, allocations: 36.3 kB / 0.5602 GB, free: 11.42 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004982/0.009979, allocations: 202.7 kB / 0.5604 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.009988, allocations: 4.125 kB / 0.5604 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.01002, allocations: 4.375 kB / 0.5604 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01003, allocations: 384 / 0.5604 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001489/0.01017, allocations: 59.91 kB / 0.5605 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004204/0.0106, allocations: 308.4 kB / 0.5608 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002846/0.01088, allocations: 123 kB / 0.5609 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.01103, allocations: 67.59 kB / 0.561 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.01105, allocations: 4 kB / 0.561 GB, free: 10.61 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.01135, allocations: 184.9 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.01135, allocations: 0 / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007991/0.01215, allocations: 384.9 kB / 0.5615 GB, free: 10.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.449e-05/0.0122, allocations: 63.34 kB / 0.5616 GB, free: 9.957 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.0126, allocations: 422.6 kB / 0.562 GB, free: 9.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.775e-05/0.01266, allocations: 41.69 kB / 0.562 GB, free: 9.484 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.01275, allocations: 144.2 kB / 0.5622 GB, free: 9.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.0128, allocations: 43.67 kB / 0.5622 GB, free: 9.297 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001876/0.01299, allocations: 131.1 kB / 0.5623 GB, free: 9.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.01315, allocations: 0.4923 MB / 0.5628 GB, free: 8.656 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/0.01347, allocations: 183.2 kB / 0.563 GB, free: 8.465 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003116/0.01378, allocations: 241.1 kB / 0.5632 GB, free: 8.188 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.01413, allocations: 283.7 kB / 0.5635 GB, free: 7.871 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.01413, allocations: 0 / 0.5635 GB, free: 7.871 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008555/0.01499, allocations: 0.5547 MB / 0.564 GB, free: 7.285 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.311e-05/0.01505, allocations: 83.38 kB / 0.5641 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.01505, allocations: 0 / 0.5641 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01507, allocations: 4 kB / 0.5641 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.01521, allocations: 36.09 kB / 0.5641 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.01522, allocations: 11.94 kB / 0.5642 GB, free: 7.141 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.01542, allocations: 43.86 kB / 0.5642 GB, free: 7.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.106e-05/0.01548, allocations: 63.98 kB / 0.5643 GB, free: 7.035 MB / 490.7 MB 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.0001361/0.01561, allocations: 182.5 kB / 0.5644 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.01567, allocations: 47.72 kB / 0.5645 GB, free: 6.801 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.01571, allocations: 35.67 kB / 0.5645 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01572, allocations: 4 kB / 0.5645 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01572, allocations: 4 kB / 0.5645 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.01572, allocations: 3.938 kB / 0.5645 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007043/0.01643, allocations: 0.6692 MB / 0.5652 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.01643, allocations: 0 / 0.5652 GB, free: 6.035 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.637e-05/0.01647, allocations: 8 kB / 0.5652 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01647, allocations: 0 / 0.5652 GB, free: 6.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.662e-05/0.0165, allocations: 23.91 kB / 0.5652 GB, free: 6.004 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.0165, allocations: 4 kB / 0.5652 GB, free: 6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.0165, allocations: 7.938 kB / 0.5652 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.01692, allocations: 463.9 kB / 0.5657 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.01708, allocations: 125.6 kB / 0.5658 GB, free: 5.398 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.01714, allocations: 11.94 kB / 0.5658 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.0173, allocations: 23.97 kB / 0.5658 GB, free: 5.363 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.01733, allocations: 7.984 kB / 0.5658 GB, free: 5.355 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.01738, allocations: 55.98 kB / 0.5659 GB, free: 5.301 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001764/0.01756, allocations: 275.1 kB / 0.5661 GB, free: 5.039 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01756, allocations: 4 kB / 0.5661 GB, free: 5.035 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002394/0.0178, allocations: 67.98 kB / 0.5662 GB, free: 4.969 MB / 490.7 MB 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.00013/0.01793, allocations: 119.2 kB / 0.5663 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.01839, allocations: 424.7 kB / 0.5667 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01839, allocations: 0 / 0.5667 GB, free: 4.387 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.01851, allocations: 95.94 kB / 0.5668 GB, free: 4.289 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.01879, allocations: 48.2 kB / 0.5669 GB, free: 4.242 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.01961, allocations: 482.9 kB / 0.5673 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.888e-05/0.01967, allocations: 83.81 kB / 0.5674 GB, free: 3.637 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.01971, allocations: 17.12 kB / 0.5674 GB, free: 3.617 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01975, allocations: 24.48 kB / 0.5674 GB, free: 3.594 MB / 490.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01975, allocations: 0 / 0.5674 GB, free: 3.594 MB / 490.7 MB Notification: Performance of Templates: time 0.007448/0.0272, allocations: 5.898 MB / 0.5732 GB, free: 13.65 MB / 0.4948 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.850287226960063]