Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.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.001039/0.001039, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001316/0.002355, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001067/0.001067, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001326/0.002393, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9555/0.9555, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09587/1.051, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.025/2.025, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5413/2.566, allocations: 127.1 MB / 0.7432 GB, free: 4.621 MB / 0.7136 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.7445 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.966e-05/2.088e-05, allocations: 5.734 kB / 0.7445 GB, free: 3.277 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002572/0.002593, allocations: 1.826 MB / 0.7463 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002278/0.004872, allocations: 0.6304 MB / 0.7469 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.004943, allocations: 1.094 kB / 0.7469 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 5.399e-05/0.004997, allocations: 8.625 kB / 0.7469 GB, free: 0.832 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001007/0.005097, allocations: 35.78 kB / 0.747 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005956/0.005693, allocations: 389.9 kB / 0.7473 GB, free: 436 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00048/0.006173, allocations: 0.6164 MB / 0.7479 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.37e-05/0.006257, allocations: 25.94 kB / 0.748 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.006674, allocations: 435.6 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002031/0.006877, allocations: 152.5 kB / 0.7485 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.006931, allocations: 44 kB / 0.7486 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.006979, allocations: 40 kB / 0.7486 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.007071, allocations: 112.9 kB / 0.7487 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.007175, allocations: 119.8 kB / 0.7488 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003123/0.007487, allocations: 382.9 kB / 0.7492 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.498e-05/0.007502, allocations: 10.67 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.493e-06/0.007504, allocations: 4 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.81e-05/0.007522, allocations: 0 / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008785/0.0084, allocations: 0.8517 MB / 0.75 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.00843, allocations: 16.02 kB / 0.7501 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.94e-05/0.00851, allocations: 56.69 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.008736, allocations: 240 kB / 0.7503 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.008769, allocations: 24.3 kB / 0.7504 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.666e-05/0.008815, allocations: 36.3 kB / 0.7504 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.009136, allocations: 184.2 kB / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.009144, allocations: 0.7812 kB / 0.7506 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.009163, allocations: 9.125 kB / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.009169, allocations: 384 / 0.7506 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.163e-05/0.00926, allocations: 53.23 kB / 0.7506 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.009774, allocations: 316.5 kB / 0.7509 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.009938, allocations: 94.78 kB / 0.751 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.748e-05/0.01001, allocations: 41.56 kB / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01003, allocations: 4.906 kB / 0.7511 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.01022, allocations: 158.1 kB / 0.7512 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.203e-06/0.01022, allocations: 3.25 kB / 0.7512 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003139/0.01053, allocations: 196.6 kB / 0.7514 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.01057, allocations: 68.77 kB / 0.7515 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.01075, allocations: 339.4 kB / 0.7518 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.01079, allocations: 41.69 kB / 0.7518 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.01085, allocations: 109.3 kB / 0.7519 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.01088, allocations: 41.17 kB / 0.752 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.01099, allocations: 117.4 kB / 0.7521 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/0.01107, allocations: 326.8 kB / 0.7524 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.01124, allocations: 163.9 kB / 0.7526 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001566/0.0114, allocations: 213.2 kB / 0.7528 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.01159, allocations: 249.5 kB / 0.753 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01159, allocations: 0 / 0.753 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003458/0.01194, allocations: 460.3 kB / 0.7534 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.012, allocations: 87.38 kB / 0.7535 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.012, allocations: 0 / 0.7535 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.586e-06/0.01201, allocations: 4 kB / 0.7535 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.01214, allocations: 47.02 kB / 0.7536 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.01214, allocations: 4 kB / 0.7536 GB, free: 9.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.0123, allocations: 43.86 kB / 0.7536 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.01235, allocations: 51.98 kB / 0.7537 GB, free: 9.715 MB / 0.7292 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0001149/0.01246, allocations: 155.1 kB / 0.7538 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.0125, allocations: 29.66 kB / 0.7539 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.01254, allocations: 39.72 kB / 0.7539 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.01254, allocations: 4 kB / 0.7539 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01255, allocations: 0 / 0.7539 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.01255, allocations: 0 / 0.7539 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.01297, allocations: 396.7 kB / 0.7543 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01297, allocations: 0.6875 kB / 0.7543 GB, free: 9.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.458e-05/0.013, allocations: 4 kB / 0.7543 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.01314, allocations: 133.4 kB / 0.7544 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01315, allocations: 0 / 0.7544 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.01316, allocations: 15.97 kB / 0.7544 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01317, allocations: 0 / 0.7544 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.01317, allocations: 0 / 0.7544 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002225/0.01339, allocations: 250.5 kB / 0.7547 GB, free: 8.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.635e-05/0.01344, allocations: 16 kB / 0.7547 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.01361, allocations: 33.5 kB / 0.7547 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.073e-05/0.01363, allocations: 7.984 kB / 0.7547 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.01367, allocations: 52.59 kB / 0.7548 GB, free: 8.574 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.798e-05/0.01376, allocations: 136.7 kB / 0.7549 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01376, allocations: 1.969 kB / 0.7549 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000191/0.01395, allocations: 75.94 kB / 0.755 GB, free: 8.371 MB / 0.7292 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001207/0.01408, allocations: 101.4 kB / 0.7551 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003865/0.01446, allocations: 409.9 kB / 0.7555 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.01447, allocations: 9.156 kB / 0.7555 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.01456, allocations: 72.53 kB / 0.7555 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01477, allocations: 82.27 kB / 0.7556 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.01542, allocations: 479.2 kB / 0.7561 GB, free: 7.184 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.288e-05/0.01547, allocations: 91.8 kB / 0.7562 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.923e-05/0.01551, allocations: 16.08 kB / 0.7562 GB, free: 7.062 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.01569, allocations: 123.2 kB / 0.7563 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of SimCode: time 1.062e-06/0.01569, allocations: 0 / 0.7563 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of Templates: time 0.006814/0.02251, allocations: 5.932 MB / 0.7621 GB, free: 1.039 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.058347822166979]