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.001293/0.001293, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001506/0.001506, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.062/1.062, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.001733/0.001733, allocations: 238 kB / 260.2 MB, free: 12.81 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.7989/0.7989, allocations: 138.4 MB / 455.1 MB, free: 30 MB / 410.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 1.683e-06/1.683e-06, allocations: 0 / 0.5551 GB, free: 172 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.219e-05, allocations: 2.312 kB / 0.5551 GB, free: 168 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.00292/0.002953, allocations: 1.57 MB / 0.5566 GB, free: 14.57 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.004248, allocations: 0.5308 MB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.41e-05/0.004312, allocations: 0 / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001191/0.004431, allocations: 11.86 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.004576, allocations: 31.78 kB / 0.5572 GB, free: 14 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008399/0.005416, allocations: 315.2 kB / 0.5575 GB, free: 13.69 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.005927, allocations: 487.4 kB / 0.5579 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.005981, allocations: 11.98 kB / 0.5579 GB, free: 13.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.00645, allocations: 351.6 kB / 0.5583 GB, free: 12.86 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.006733, allocations: 128.7 kB / 0.5584 GB, free: 12.73 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 7.878e-05/0.006811, allocations: 28 kB / 0.5584 GB, free: 12.71 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.006881, allocations: 28 kB / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.007006, allocations: 123.6 kB / 0.5586 GB, free: 12.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.007159, allocations: 127.7 kB / 0.5587 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.007586, allocations: 378.9 kB / 0.559 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.00759, allocations: 0 / 0.559 GB, free: 12.06 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007591, allocations: 0 / 0.559 GB, free: 12.06 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.007597, allocations: 4 kB / 0.559 GB, free: 12.06 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.001147/0.008744, allocations: 0.8989 MB / 0.5599 GB, free: 11.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.00879, allocations: 9.938 kB / 0.5599 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.008937, allocations: 68.64 kB / 0.56 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.009298, allocations: 258.7 kB / 0.5602 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.009349, allocations: 20.36 kB / 0.5603 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.535e-05/0.009444, allocations: 28.36 kB / 0.5603 GB, free: 10.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000506/0.00995, allocations: 202.7 kB / 0.5605 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.009961, allocations: 192 / 0.5605 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.009989, allocations: 8.375 kB / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.009998, allocations: 384 / 0.5605 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001566/0.01015, allocations: 59.91 kB / 0.5606 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/0.01056, allocations: 312.4 kB / 0.5608 GB, free: 10.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002857/0.01085, allocations: 127 kB / 0.561 GB, free: 9.934 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.011, allocations: 63.66 kB / 0.561 GB, free: 9.867 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.01103, allocations: 4 kB / 0.561 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003033/0.01133, allocations: 188.3 kB / 0.5612 GB, free: 9.668 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.01133, allocations: 0 / 0.5612 GB, free: 9.668 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007882/0.01212, allocations: 373.3 kB / 0.5616 GB, free: 9.297 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.01216, allocations: 63.34 kB / 0.5616 GB, free: 9.223 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003936/0.01256, allocations: 426.6 kB / 0.562 GB, free: 8.789 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.01261, allocations: 41.69 kB / 0.5621 GB, free: 8.742 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.022e-05/0.01269, allocations: 140.2 kB / 0.5622 GB, free: 8.602 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.047e-05/0.01274, allocations: 39.73 kB / 0.5622 GB, free: 8.562 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.01293, allocations: 139 kB / 0.5624 GB, free: 8.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.01307, allocations: 0.4923 MB / 0.5629 GB, free: 7.914 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004571/0.01353, allocations: 179.3 kB / 0.563 GB, free: 7.727 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.01383, allocations: 251.9 kB / 0.5633 GB, free: 7.441 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.01417, allocations: 278 kB / 0.5635 GB, free: 7.129 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01417, allocations: 0 / 0.5635 GB, free: 7.129 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008523/0.01502, allocations: 0.5612 MB / 0.5641 GB, free: 6.539 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.305e-05/0.0151, allocations: 87.31 kB / 0.5642 GB, free: 6.441 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.01511, allocations: 4 kB / 0.5642 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.01513, allocations: 4 kB / 0.5642 GB, free: 6.434 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.01532, allocations: 31.97 kB / 0.5642 GB, free: 6.402 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.01533, allocations: 7.875 kB / 0.5642 GB, free: 6.395 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.01562, allocations: 47.86 kB / 0.5643 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.392e-05/0.0157, allocations: 56.17 kB / 0.5643 GB, free: 6.293 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.0001554/0.01586, allocations: 186.6 kB / 0.5645 GB, free: 6.102 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.573e-05/0.01593, allocations: 51.75 kB / 0.5645 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.44e-05/0.01599, allocations: 27.69 kB / 0.5646 GB, free: 6.023 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.01599, allocations: 4 kB / 0.5646 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.016, allocations: 0 / 0.5646 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.016, allocations: 11.86 kB / 0.5646 GB, free: 6.008 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009842/0.01699, allocations: 0.6731 MB / 0.5652 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01699, allocations: 0 / 0.5652 GB, free: 5.289 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.01703, allocations: 7.984 kB / 0.5652 GB, free: 5.281 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01703, allocations: 3.938 kB / 0.5653 GB, free: 5.277 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.01707, allocations: 23.92 kB / 0.5653 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.01707, allocations: 0 / 0.5653 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.01707, allocations: 0 / 0.5653 GB, free: 5.254 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005895/0.01766, allocations: 471.3 kB / 0.5657 GB, free: 4.777 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.01789, allocations: 113.6 kB / 0.5658 GB, free: 4.668 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.028e-05/0.01796, allocations: 23.92 kB / 0.5659 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002494/0.01821, allocations: 18.48 kB / 0.5659 GB, free: 4.629 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.01825, allocations: 11.98 kB / 0.5659 GB, free: 4.617 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.01832, allocations: 59.97 kB / 0.5659 GB, free: 4.559 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002331/0.01855, allocations: 271.1 kB / 0.5662 GB, free: 4.297 MB / 490.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01855, allocations: 0 / 0.5662 GB, free: 4.297 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.01895, allocations: 67.98 kB / 0.5663 GB, free: 4.23 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.0001771/0.01912, allocations: 115.7 kB / 0.5664 GB, free: 4.105 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006555/0.01978, allocations: 434.3 kB / 0.5668 GB, free: 3.641 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.01978, allocations: 0 / 0.5668 GB, free: 3.641 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001649/0.01995, allocations: 79.97 kB / 0.5669 GB, free: 3.559 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.02037, allocations: 56.42 kB / 0.5669 GB, free: 3.508 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.02142, allocations: 487.2 kB / 0.5674 GB, free: 3.004 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.998e-05/0.02149, allocations: 87.67 kB / 0.5675 GB, free: 2.898 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.153e-05/0.02155, allocations: 21.12 kB / 0.5675 GB, free: 2.875 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.02159, allocations: 16.5 kB / 0.5675 GB, free: 2.859 MB / 490.7 MB Notification: Performance of SimCode: time 8.52e-07/0.02159, allocations: 3.938 kB / 0.5675 GB, free: 2.855 MB / 490.7 MB Notification: Performance of Templates: time 0.009645/0.03124, allocations: 5.913 MB / 0.5733 GB, free: 12.91 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: 4.053620788268745]