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.0006727/0.0006727, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00133/0.002002, 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.0007023/0.0007023, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009531/0.001655, 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.9876/0.9876, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.088, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.942/1.942, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4886/2.431, allocations: 127.1 MB / 0.7435 GB, free: 4.535 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.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 3.907e-06/3.907e-06, allocations: 4 kB / 0.7448 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.668e-05/3.059e-05, allocations: 3.312 kB / 0.7449 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004065/0.004095, allocations: 1.834 MB / 0.7466 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.005642, allocations: 0.632 MB / 0.7473 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.867e-05/0.00574, allocations: 0 / 0.7473 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.487e-05/0.005825, allocations: 9.406 kB / 0.7473 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.005976, allocations: 38.52 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009533/0.006929, allocations: 382.7 kB / 0.7477 GB, free: 324 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007745/0.007703, allocations: 0.6197 MB / 0.7483 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.007814, allocations: 27.98 kB / 0.7483 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006064/0.00842, allocations: 439.6 kB / 0.7487 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.008726, allocations: 143.6 kB / 0.7489 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 8.978e-05/0.008816, allocations: 44 kB / 0.7489 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.008902, allocations: 40.62 kB / 0.7489 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.009036, allocations: 111.7 kB / 0.749 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001559/0.009192, allocations: 116.5 kB / 0.7492 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004516/0.009644, allocations: 390.8 kB / 0.7495 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.009658, allocations: 0.6875 kB / 0.7495 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.663e-06/0.00966, allocations: 4.531 kB / 0.7495 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.009679, allocations: 0 / 0.7495 GB, free: 14.43 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.001263/0.01094, allocations: 0.8614 MB / 0.7504 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.01099, allocations: 12.03 kB / 0.7504 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.01112, allocations: 48.88 kB / 0.7504 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003257/0.01144, allocations: 248.9 kB / 0.7507 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.964e-05/0.01149, allocations: 20.36 kB / 0.7507 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.01157, allocations: 32.36 kB / 0.7507 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.01205, allocations: 187.6 kB / 0.7509 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01206, allocations: 192 / 0.7509 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.01209, allocations: 8.359 kB / 0.7509 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.01209, allocations: 1.125 kB / 0.7509 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.01222, allocations: 49.91 kB / 0.751 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007647/0.01298, allocations: 327.5 kB / 0.7513 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.01321, allocations: 88.11 kB / 0.7514 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.01332, allocations: 46.3 kB / 0.7514 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01334, allocations: 9.203 kB / 0.7514 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002516/0.01359, allocations: 151.4 kB / 0.7516 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.004e-06/0.01359, allocations: 1.5 kB / 0.7516 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004678/0.01406, allocations: 201.1 kB / 0.7517 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.01411, allocations: 63.33 kB / 0.7518 GB, free: 12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.0144, allocations: 339.4 kB / 0.7521 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.13e-05/0.01445, allocations: 48.12 kB / 0.7522 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.01453, allocations: 101.4 kB / 0.7523 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.556e-05/0.01458, allocations: 51.59 kB / 0.7523 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001684/0.01475, allocations: 113.4 kB / 0.7524 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0004131/0.01516, allocations: 322.8 kB / 0.7527 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.01539, allocations: 163.3 kB / 0.7529 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.01563, allocations: 212.3 kB / 0.7531 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.01591, allocations: 262.8 kB / 0.7533 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.01592, allocations: 8 kB / 0.7534 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005549/0.01647, allocations: 450 kB / 0.7538 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.01656, allocations: 90.62 kB / 0.7539 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.01657, allocations: 4 kB / 0.7539 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01659, allocations: 0 / 0.7539 GB, free: 9.738 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.01677, allocations: 47.89 kB / 0.7539 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.01677, allocations: 0 / 0.7539 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.01714, allocations: 43.86 kB / 0.754 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.321e-05/0.01721, allocations: 51.98 kB / 0.754 GB, free: 9.598 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.0001848/0.01739, allocations: 146.2 kB / 0.7541 GB, free: 9.445 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.01745, allocations: 35.91 kB / 0.7542 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.0175, allocations: 31.72 kB / 0.7542 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.0175, allocations: 4 kB / 0.7542 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01751, allocations: 0 / 0.7542 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01751, allocations: 0 / 0.7542 GB, free: 9.371 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004967/0.01801, allocations: 399.8 kB / 0.7546 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01801, allocations: 0 / 0.7546 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.01805, allocations: 12.61 kB / 0.7546 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.01819, allocations: 123.6 kB / 0.7547 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01819, allocations: 1.969 kB / 0.7547 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/0.01821, allocations: 11.97 kB / 0.7547 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01821, allocations: 0 / 0.7547 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.01822, allocations: 0 / 0.7547 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.01844, allocations: 246.5 kB / 0.755 GB, free: 8.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.0185, allocations: 20.98 kB / 0.755 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.01867, allocations: 29.7 kB / 0.755 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.397e-05/0.0187, allocations: 7.984 kB / 0.755 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.181e-05/0.01874, allocations: 47.97 kB / 0.7551 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01884, allocations: 149.3 kB / 0.7552 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01884, allocations: 0 / 0.7552 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002242/0.01907, allocations: 73.91 kB / 0.7553 GB, free: 8.258 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.0001539/0.01922, allocations: 108.3 kB / 0.7554 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004412/0.01966, allocations: 413.4 kB / 0.7558 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.01967, allocations: 5.156 kB / 0.7558 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.01977, allocations: 62.23 kB / 0.7559 GB, free: 7.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.02004, allocations: 196.9 kB / 0.756 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.02074, allocations: 493 kB / 0.7565 GB, free: 6.926 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.944e-05/0.02079, allocations: 87.8 kB / 0.7566 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.883e-05/0.02083, allocations: 12.12 kB / 0.7566 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001814/0.02101, allocations: 128.9 kB / 0.7567 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of SimCode: time 4.4e-07/0.02101, allocations: 0 / 0.7567 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of Templates: time 0.006692/0.0277, allocations: 5.904 MB / 0.7625 GB, free: 0.8164 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.078809306956828]