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.002323/0.002323, allocations: 81.48 kB / 19.44 MB, free: 348 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.002757/0.002757, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.592/1.592, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.003448/0.003448, allocations: 233.8 kB / 259.8 MB, free: 12.86 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 1.174/1.174, allocations: 138.4 MB / 454.7 MB, free: 1.523 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.613e-06/1.613e-06, allocations: 0 / 0.5543 GB, free: 0.9453 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.45e-05/2.611e-05, allocations: 5.406 kB / 0.5543 GB, free: 0.9414 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonths): time 0.002832/0.002858, allocations: 1.534 MB / 0.5558 GB, free: 15.39 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.004248, allocations: 0.5303 MB / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.004296, allocations: 0 / 0.5563 GB, free: 14.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 9.28e-05/0.004389, allocations: 15.88 kB / 0.5563 GB, free: 14.84 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.004506, allocations: 23.84 kB / 0.5563 GB, free: 14.82 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008447/0.00535, allocations: 315.3 kB / 0.5566 GB, free: 14.51 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006469/0.005997, allocations: 487.4 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.006043, allocations: 7.984 kB / 0.5571 GB, free: 14.03 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005768/0.006619, allocations: 351.6 kB / 0.5575 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.006928, allocations: 131.7 kB / 0.5576 GB, free: 13.55 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.007069, allocations: 28 kB / 0.5576 GB, free: 13.53 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.007201, allocations: 28 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.007362, allocations: 119.7 kB / 0.5577 GB, free: 13.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001959/0.007558, allocations: 131.7 kB / 0.5579 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.008154, allocations: 462.6 kB / 0.5583 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.008158, allocations: 0 / 0.5583 GB, free: 12.8 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.008159, allocations: 0 / 0.5583 GB, free: 12.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.008164, allocations: 3.938 kB / 0.5583 GB, free: 12.8 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.001665/0.009829, allocations: 0.922 MB / 0.5592 GB, free: 11.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.009865, allocations: 8.75 kB / 0.5592 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.01003, allocations: 60.7 kB / 0.5593 GB, free: 11.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004983/0.01053, allocations: 262.8 kB / 0.5595 GB, free: 11.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.01058, allocations: 20.36 kB / 0.5596 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.01066, allocations: 28.36 kB / 0.5596 GB, free: 11.4 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.0113, allocations: 197.8 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.01131, allocations: 192 / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.781e-05/0.01134, allocations: 4.375 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.01134, allocations: 4.375 kB / 0.5598 GB, free: 11.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.01175, allocations: 87.81 kB / 0.5599 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005063/0.01226, allocations: 340.4 kB / 0.5602 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.01288, allocations: 143 kB / 0.5603 GB, free: 10.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.0133, allocations: 95.56 kB / 0.5604 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.677e-05/0.01332, allocations: 4 kB / 0.5604 GB, free: 10.49 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005953/0.01392, allocations: 212.8 kB / 0.5606 GB, free: 10.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.01392, allocations: 0 / 0.5606 GB, free: 10.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001627/0.01555, allocations: 440.7 kB / 0.561 GB, free: 9.832 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.01561, allocations: 59.41 kB / 0.5611 GB, free: 9.762 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005522/0.01616, allocations: 466.6 kB / 0.5615 GB, free: 9.293 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.01623, allocations: 49.69 kB / 0.5616 GB, free: 9.238 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01635, allocations: 140.2 kB / 0.5617 GB, free: 9.098 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.92e-05/0.01641, allocations: 43.69 kB / 0.5618 GB, free: 9.055 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.01665, allocations: 151 kB / 0.5619 GB, free: 8.898 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002841/0.01693, allocations: 0.4923 MB / 0.5624 GB, free: 8.395 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003834/0.01731, allocations: 219.3 kB / 0.5626 GB, free: 8.168 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004388/0.01775, allocations: 285.1 kB / 0.5629 GB, free: 7.848 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.01823, allocations: 315.7 kB / 0.5632 GB, free: 7.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.01823, allocations: 3.938 kB / 0.5632 GB, free: 7.496 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00109/0.01932, allocations: 0.6135 MB / 0.5638 GB, free: 6.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.01942, allocations: 83.38 kB / 0.5639 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.01943, allocations: 0 / 0.5639 GB, free: 6.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01944, allocations: 4 kB / 0.5639 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002085/0.01965, allocations: 39.91 kB / 0.5639 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.01967, allocations: 7.938 kB / 0.5639 GB, free: 6.707 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.02003, allocations: 51.8 kB / 0.564 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.02014, allocations: 59.98 kB / 0.564 GB, free: 6.598 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.0002194/0.02036, allocations: 194.6 kB / 0.5642 GB, free: 6.398 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.932e-05/0.02045, allocations: 43.72 kB / 0.5642 GB, free: 6.355 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.106e-05/0.02052, allocations: 39.67 kB / 0.5643 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.02052, allocations: 0 / 0.5643 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02052, allocations: 0 / 0.5643 GB, free: 6.312 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.02053, allocations: 7.938 kB / 0.5643 GB, free: 6.305 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.0223, allocations: 0.7356 MB / 0.565 GB, free: 5.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.0223, allocations: 4 kB / 0.565 GB, free: 5.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.869e-05/0.02234, allocations: 7.984 kB / 0.565 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.02234, allocations: 0 / 0.565 GB, free: 5.512 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.02239, allocations: 27.91 kB / 0.565 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.02239, allocations: 0 / 0.565 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.02239, allocations: 0 / 0.565 GB, free: 5.484 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.02357, allocations: 0.496 MB / 0.5655 GB, free: 4.969 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.02387, allocations: 117.6 kB / 0.5656 GB, free: 4.852 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.02395, allocations: 19.92 kB / 0.5657 GB, free: 4.832 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.02424, allocations: 23.98 kB / 0.5657 GB, free: 4.809 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.02427, allocations: 3.984 kB / 0.5657 GB, free: 4.805 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.02435, allocations: 59.97 kB / 0.5657 GB, free: 4.746 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005201/0.02487, allocations: 287.1 kB / 0.566 GB, free: 4.473 MB / 490.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02487, allocations: 3.938 kB / 0.566 GB, free: 4.469 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003562/0.02523, allocations: 67.98 kB / 0.5661 GB, free: 4.402 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.0001737/0.0254, allocations: 127.2 kB / 0.5662 GB, free: 4.266 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0012/0.0266, allocations: 0.5913 MB / 0.5668 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0266, allocations: 0 / 0.5668 GB, free: 3.633 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.02705, allocations: 110.9 kB / 0.5669 GB, free: 3.523 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.02743, allocations: 41.62 kB / 0.5669 GB, free: 3.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.02852, allocations: 0.4914 MB / 0.5674 GB, free: 2.961 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.02872, allocations: 159 kB / 0.5676 GB, free: 2.785 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.582e-05/0.02877, allocations: 13.14 kB / 0.5676 GB, free: 2.773 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.02882, allocations: 24.48 kB / 0.5676 GB, free: 2.75 MB / 490.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02883, allocations: 0 / 0.5676 GB, free: 2.75 MB / 490.7 MB Notification: Performance of Templates: time 0.01115/0.03998, allocations: 5.902 MB / 0.5734 GB, free: 12.81 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: 5.898256956948899]