Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.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.0009611/0.0009611, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.0009742/0.0009742, allocations: 173 kB / 23.5 MB, free: 1.055 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.9574/0.9574, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.002215/0.002215, allocations: 233.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.7672/0.7672, allocations: 138.4 MB / 455.4 MB, free: 1.516 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.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.555 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.078e-05/2.253e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8945 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002019/0.002041, allocations: 1.549 MB / 0.5565 GB, free: 15.33 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009944/0.003036, allocations: 0.5382 MB / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.003104, allocations: 0 / 0.557 GB, free: 14.79 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.00321, allocations: 7.875 kB / 0.557 GB, free: 14.78 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.003321, allocations: 27.8 kB / 0.5571 GB, free: 14.75 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006937/0.004014, allocations: 319.2 kB / 0.5574 GB, free: 14.44 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004046/0.004419, allocations: 495.4 kB / 0.5578 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.004461, allocations: 3.984 kB / 0.5579 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003431/0.004804, allocations: 351.6 kB / 0.5582 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002159/0.00502, allocations: 131.7 kB / 0.5583 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.18e-05/0.005072, allocations: 28 kB / 0.5583 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.498e-05/0.005117, allocations: 27.94 kB / 0.5584 GB, free: 13.43 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.005222, allocations: 119.6 kB / 0.5585 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.005334, allocations: 127.7 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003158/0.00565, allocations: 378.9 kB / 0.559 GB, free: 12.81 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005652, allocations: 4 kB / 0.559 GB, free: 12.81 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005653, allocations: 0 / 0.559 GB, free: 12.81 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.005658, allocations: 0 / 0.559 GB, free: 12.81 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.0008984/0.006556, allocations: 0.9027 MB / 0.5598 GB, free: 11.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.006595, allocations: 12.75 kB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.006704, allocations: 60.69 kB / 0.5599 GB, free: 11.76 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.00698, allocations: 262.7 kB / 0.5602 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/0.007018, allocations: 16.38 kB / 0.5602 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/0.007067, allocations: 32.36 kB / 0.5602 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003609/0.007428, allocations: 202.7 kB / 0.5604 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.007436, allocations: 192 / 0.5604 GB, free: 11.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.007457, allocations: 8.375 kB / 0.5604 GB, free: 11.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.007466, allocations: 8.375 kB / 0.5604 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001007/0.007567, allocations: 51.91 kB / 0.5605 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.007861, allocations: 316.4 kB / 0.5608 GB, free: 10.81 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.00806, allocations: 131 kB / 0.5609 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.926e-05/0.00816, allocations: 63.66 kB / 0.561 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.008179, allocations: 4 kB / 0.561 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.008526, allocations: 180.7 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.008527, allocations: 4 kB / 0.5611 GB, free: 10.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005439/0.009071, allocations: 377.2 kB / 0.5615 GB, free: 10.03 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.009107, allocations: 59.41 kB / 0.5616 GB, free: 9.961 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000261/0.009368, allocations: 426.6 kB / 0.562 GB, free: 9.531 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.009403, allocations: 37.7 kB / 0.562 GB, free: 9.488 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.002e-05/0.009463, allocations: 144.2 kB / 0.5621 GB, free: 9.344 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.0095, allocations: 43.67 kB / 0.5622 GB, free: 9.301 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.009622, allocations: 143.1 kB / 0.5623 GB, free: 9.152 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.009724, allocations: 0.4884 MB / 0.5628 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.009931, allocations: 183.2 kB / 0.563 GB, free: 8.461 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.01014, allocations: 245.1 kB / 0.5632 GB, free: 8.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.01037, allocations: 275.6 kB / 0.5635 GB, free: 7.871 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.01037, allocations: 4 kB / 0.5635 GB, free: 7.867 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005445/0.01092, allocations: 0.5508 MB / 0.564 GB, free: 7.285 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.01097, allocations: 86.5 kB / 0.5641 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01098, allocations: 0 / 0.5641 GB, free: 7.191 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.01099, allocations: 4 kB / 0.5641 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.01111, allocations: 31.97 kB / 0.5641 GB, free: 7.156 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.01112, allocations: 11.88 kB / 0.5641 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.0113, allocations: 52.05 kB / 0.5642 GB, free: 7.094 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.01135, allocations: 59.98 kB / 0.5642 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.000116/0.01147, allocations: 182.5 kB / 0.5644 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.225e-05/0.01152, allocations: 51.7 kB / 0.5645 GB, free: 6.797 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.744e-05/0.01156, allocations: 31.69 kB / 0.5645 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.01156, allocations: 0 / 0.5645 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.01157, allocations: 3.938 kB / 0.5645 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.01157, allocations: 7.922 kB / 0.5645 GB, free: 6.75 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.01222, allocations: 0.6731 MB / 0.5652 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01222, allocations: 0 / 0.5652 GB, free: 6.031 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.01225, allocations: 11.92 kB / 0.5652 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.01226, allocations: 0 / 0.5652 GB, free: 6.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.373e-05/0.01228, allocations: 27.92 kB / 0.5652 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01228, allocations: 0 / 0.5652 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01228, allocations: 0 / 0.5652 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.01266, allocations: 468 kB / 0.5656 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.0128, allocations: 117.6 kB / 0.5658 GB, free: 5.402 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.92e-05/0.01285, allocations: 15.92 kB / 0.5658 GB, free: 5.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.013, allocations: 30.86 kB / 0.5658 GB, free: 5.359 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.01303, allocations: 7.984 kB / 0.5658 GB, free: 5.352 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.146e-05/0.01307, allocations: 55.97 kB / 0.5659 GB, free: 5.297 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.01322, allocations: 275.1 kB / 0.5661 GB, free: 5.035 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01322, allocations: 4 kB / 0.5661 GB, free: 5.031 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.01345, allocations: 60 kB / 0.5662 GB, free: 4.973 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.000101/0.01355, allocations: 123.1 kB / 0.5663 GB, free: 4.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.01399, allocations: 436.8 kB / 0.5667 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.014, allocations: 0 / 0.5667 GB, free: 4.375 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.0141, allocations: 83.95 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.0002635/0.01437, allocations: 60 kB / 0.5669 GB, free: 4.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.01508, allocations: 482.9 kB / 0.5673 GB, free: 3.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.01512, allocations: 83.81 kB / 0.5674 GB, free: 3.625 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.002e-05/0.01516, allocations: 13.14 kB / 0.5674 GB, free: 3.609 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.315e-05/0.0152, allocations: 20.44 kB / 0.5674 GB, free: 3.59 MB / 490.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0152, allocations: 0 / 0.5674 GB, free: 3.59 MB / 490.7 MB Notification: Performance of Templates: time 0.006748/0.02195, allocations: 5.895 MB / 0.5732 GB, free: 13.65 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6868371879681945]