Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.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.0006991/0.0006991, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009618/0.001661, allocations: 449.8 kB / 10.44 MB, free: 252 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.000679/0.000679, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008911/0.00157, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9304/0.9304, allocations: 177.2 MB / 189.8 MB, free: 5.262 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08683/1.017, allocations: 53.66 MB / 243.4 MB, free: 15.52 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 1.937/1.937, allocations: 390 MB / 0.6193 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5128/2.45, allocations: 127.1 MB / 0.7435 GB, free: 4.559 MB / 0.7136 GB " [Timeout remaining time 178] 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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.073e-06/2.073e-06, allocations: 0 / 0.7448 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.772e-05, allocations: 4.797 kB / 0.7449 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003577/0.003604, allocations: 1.828 MB / 0.7466 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.005106, allocations: 0.6366 MB / 0.7473 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.949e-05/0.005206, allocations: 0 / 0.7473 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.996e-05/0.005286, allocations: 18.42 kB / 0.7473 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.005425, allocations: 38.41 kB / 0.7473 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009865/0.006411, allocations: 377.2 kB / 0.7477 GB, free: 352 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001048/0.007459, allocations: 0.6158 MB / 0.7483 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.007578, allocations: 29.84 kB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007331/0.008311, allocations: 441.4 kB / 0.7487 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.008748, allocations: 144.2 kB / 0.7489 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.008852, allocations: 40 kB / 0.7489 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.008939, allocations: 40 kB / 0.7489 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001295/0.009068, allocations: 119.7 kB / 0.7491 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.009224, allocations: 112.4 kB / 0.7492 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.00979, allocations: 390.8 kB / 0.7495 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.271e-05/0.009812, allocations: 0.6875 kB / 0.7495 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.396e-06/0.009816, allocations: 3.938 kB / 0.7495 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.865e-05/0.009844, allocations: 0.5312 kB / 0.7495 GB, free: 14.46 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.001608/0.01145, allocations: 0.8645 MB / 0.7504 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.0115, allocations: 9.531 kB / 0.7504 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.01164, allocations: 48.88 kB / 0.7504 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.01199, allocations: 243.9 kB / 0.7507 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.344e-05/0.01205, allocations: 24.36 kB / 0.7507 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.01212, allocations: 37.27 kB / 0.7507 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.01265, allocations: 190.6 kB / 0.7509 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.01266, allocations: 192 / 0.7509 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.01269, allocations: 4.359 kB / 0.7509 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.0127, allocations: 5.562 kB / 0.7509 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01282, allocations: 45.81 kB / 0.751 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.0139, allocations: 320 kB / 0.7513 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.01414, allocations: 87.05 kB / 0.7513 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.01426, allocations: 48.8 kB / 0.7514 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.01428, allocations: 4.5 kB / 0.7514 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002732/0.01455, allocations: 156.1 kB / 0.7515 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.964e-06/0.01456, allocations: 1.781 kB / 0.7516 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.000505/0.01506, allocations: 202.4 kB / 0.7517 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.01511, allocations: 59.34 kB / 0.7518 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.01542, allocations: 340.1 kB / 0.7521 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.773e-05/0.01548, allocations: 47.28 kB / 0.7522 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.883e-05/0.01556, allocations: 101.4 kB / 0.7523 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.496e-05/0.0156, allocations: 47.61 kB / 0.7523 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.01579, allocations: 117.4 kB / 0.7524 GB, free: 11.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.0159, allocations: 322.8 kB / 0.7527 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002513/0.01615, allocations: 165.7 kB / 0.7529 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/0.01646, allocations: 213.3 kB / 0.7531 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.01676, allocations: 265.3 kB / 0.7533 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.01677, allocations: 4 kB / 0.7534 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003986/0.01717, allocations: 454.6 kB / 0.7538 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/0.01724, allocations: 87.38 kB / 0.7539 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.01725, allocations: 1.094 kB / 0.7539 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.01726, allocations: 4 kB / 0.7539 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.01742, allocations: 43.89 kB / 0.7539 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.01743, allocations: 7 kB / 0.7539 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.01762, allocations: 43.86 kB / 0.754 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.01767, allocations: 43.98 kB / 0.754 GB, free: 9.629 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.0001746/0.01784, allocations: 147.2 kB / 0.7541 GB, free: 9.473 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.773e-05/0.01789, allocations: 35.84 kB / 0.7542 GB, free: 9.438 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.01795, allocations: 42.75 kB / 0.7542 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.01795, allocations: 0 / 0.7542 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.01795, allocations: 0 / 0.7542 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.01796, allocations: 0 / 0.7542 GB, free: 9.395 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005126/0.01847, allocations: 393.8 kB / 0.7546 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01847, allocations: 0 / 0.7546 GB, free: 8.992 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.339e-05/0.01851, allocations: 11.98 kB / 0.7546 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001561/0.01867, allocations: 127.6 kB / 0.7547 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01867, allocations: 0 / 0.7547 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01869, allocations: 12.59 kB / 0.7547 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.0187, allocations: 0 / 0.7547 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.0187, allocations: 0.625 kB / 0.7547 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.01893, allocations: 249.7 kB / 0.755 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.752e-05/0.01897, allocations: 15.98 kB / 0.755 GB, free: 8.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000183/0.01916, allocations: 29.88 kB / 0.755 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.01918, allocations: 11.98 kB / 0.755 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.01922, allocations: 43.98 kB / 0.7551 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001073/0.01933, allocations: 150.4 kB / 0.7552 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01933, allocations: 0 / 0.7552 GB, free: 8.355 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002168/0.01955, allocations: 71.94 kB / 0.7553 GB, free: 8.285 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.0001458/0.01969, allocations: 109 kB / 0.7554 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004109/0.0201, allocations: 412 kB / 0.7558 GB, free: 7.738 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/0.02012, allocations: 8.75 kB / 0.7558 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.769e-05/0.02021, allocations: 61.45 kB / 0.7559 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.02049, allocations: 197.1 kB / 0.756 GB, free: 7.457 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007832/0.02127, allocations: 493.7 kB / 0.7565 GB, free: 6.953 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.905e-05/0.02133, allocations: 91.8 kB / 0.7566 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.611e-05/0.02138, allocations: 10.75 kB / 0.7566 GB, free: 6.836 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001933/0.02157, allocations: 123.5 kB / 0.7567 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of SimCode: time 7.82e-07/0.02157, allocations: 4 kB / 0.7567 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of Templates: time 0.006853/0.02843, allocations: 5.89 MB / 0.7625 GB, free: 0.8516 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.909605558030307]