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.001881/0.001881, allocations: 104.4 kB / 19.72 MB, free: 416 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.002052/0.002052, allocations: 216.9 kB / 23.02 MB, free: 2.957 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 1.802/1.802, allocations: 230.6 MB / 256.8 MB, free: 9.641 MB / 202.7 MB " [Timeout remaining time 178] 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 3.479/3.479, allocations: 0.5045 GB / 0.8104 GB, free: 2.797 MB / 0.6511 GB " [Timeout remaining time 176] 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 0.004041/0.004041, allocations: 71.89 kB / 1.177 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9938/0.9978, allocations: 180 MB / 1.353 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.004274/1.002, allocations: 1.731 MB / 1.355 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.002115/1.004, allocations: 0.6167 MB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/1.004, allocations: 4 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001605/1.005, allocations: 15.8 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001777/1.005, allocations: 27.84 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/1.006, allocations: 373.2 kB / 1.356 GB, free: 14.84 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0008553/1.007, allocations: 0.5931 MB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/1.007, allocations: 28.11 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005421/1.007, allocations: 323.5 kB / 1.357 GB, free: 13.91 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/1.008, allocations: 151.6 kB / 1.357 GB, free: 13.76 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001505/1.008, allocations: 40 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/1.008, allocations: 40 kB / 1.357 GB, free: 13.68 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.000213/1.008, allocations: 127.6 kB / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/1.009, allocations: 179.2 kB / 1.357 GB, free: 13.38 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008827/1.009, allocations: 0.5917 MB / 1.358 GB, free: 12.79 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/1.009, allocations: 4 kB / 1.358 GB, free: 12.78 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.475e-06/1.009, allocations: 0 / 1.358 GB, free: 12.78 MB / 1.042 GB Notification: Performance of Transformations before backend: time 9.699e-06/1.009, allocations: 0 / 1.358 GB, free: 12.78 MB / 1.042 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.001826/1.011, allocations: 0.8378 MB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 6.44e-05/1.011, allocations: 8.031 kB / 1.358 GB, free: 11.86 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/1.012, allocations: 60.66 kB / 1.359 GB, free: 11.8 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/1.012, allocations: 280.7 kB / 1.359 GB, free: 11.51 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.449e-05/1.012, allocations: 24.36 kB / 1.359 GB, free: 11.49 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.729e-05/1.012, allocations: 36.3 kB / 1.359 GB, free: 11.45 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.013, allocations: 230 kB / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.013, allocations: 192 / 1.359 GB, free: 11.22 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/1.013, allocations: 15.94 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/1.013, allocations: 0 / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00078/1.014, allocations: 115.9 kB / 1.359 GB, free: 11.09 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001365/1.016, allocations: 0.539 MB / 1.36 GB, free: 10.52 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.017, allocations: 166.5 kB / 1.36 GB, free: 10.35 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007491/1.017, allocations: 108.8 kB / 1.36 GB, free: 10.24 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/1.017, allocations: 7.938 kB / 1.36 GB, free: 10.23 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009514/1.018, allocations: 231.1 kB / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/1.018, allocations: 0 / 1.36 GB, free: 9.996 MB / 1.042 GB Notification: Performance of matching and sorting (n=16): time 0.003124/1.021, allocations: 0.5 MB / 1.361 GB, free: 9.492 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.874e-05/1.022, allocations: 59.41 kB / 1.361 GB, free: 9.422 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005786/1.022, allocations: 437.9 kB / 1.361 GB, free: 8.977 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 7.256e-05/1.022, allocations: 45.69 kB / 1.361 GB, free: 8.926 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.022, allocations: 101.4 kB / 1.361 GB, free: 8.824 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/1.022, allocations: 43.67 kB / 1.361 GB, free: 8.781 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/1.023, allocations: 133.5 kB / 1.361 GB, free: 8.645 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002161/1.023, allocations: 334.8 kB / 1.362 GB, free: 8.309 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/1.023, allocations: 219.3 kB / 1.362 GB, free: 8.082 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/1.024, allocations: 269.8 kB / 1.362 GB, free: 7.785 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004655/1.024, allocations: 291 kB / 1.363 GB, free: 7.469 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.024, allocations: 0 / 1.363 GB, free: 7.469 MB / 1.042 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001052/1.025, allocations: 0.6034 MB / 1.363 GB, free: 6.836 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/1.025, allocations: 91.36 kB / 1.363 GB, free: 6.734 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/1.025, allocations: 4 kB / 1.363 GB, free: 6.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.025, allocations: 0 / 1.363 GB, free: 6.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001723/1.025, allocations: 19.98 kB / 1.363 GB, free: 6.711 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.416e-05/1.025, allocations: 7.938 kB / 1.363 GB, free: 6.703 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/1.026, allocations: 56.09 kB / 1.363 GB, free: 6.648 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/1.026, allocations: 59.97 kB / 1.363 GB, free: 6.59 MB / 1.042 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.0004139/1.027, allocations: 224.8 kB / 1.364 GB, free: 6.359 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.968e-05/1.027, allocations: 35.77 kB / 1.364 GB, free: 6.324 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.423e-05/1.027, allocations: 43.72 kB / 1.364 GB, free: 6.285 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.027, allocations: 4 kB / 1.364 GB, free: 6.281 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.027, allocations: 0 / 1.364 GB, free: 6.281 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/1.027, allocations: 3.938 kB / 1.364 GB, free: 6.277 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/1.029, allocations: 0.7167 MB / 1.364 GB, free: 5.52 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/1.029, allocations: 0 / 1.364 GB, free: 5.52 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/1.029, allocations: 4 kB / 1.364 GB, free: 5.516 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/1.029, allocations: 7.938 kB / 1.364 GB, free: 5.508 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-05/1.029, allocations: 23.97 kB / 1.364 GB, free: 5.484 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.029, allocations: 4 kB / 1.364 GB, free: 5.48 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.029, allocations: 0 / 1.364 GB, free: 5.48 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001856/1.031, allocations: 494.4 kB / 1.365 GB, free: 4.984 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/1.031, allocations: 181.4 kB / 1.365 GB, free: 4.805 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.91e-05/1.031, allocations: 12 kB / 1.365 GB, free: 4.793 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/1.032, allocations: 35.97 kB / 1.365 GB, free: 4.758 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/1.032, allocations: 11.92 kB / 1.365 GB, free: 4.746 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.034e-05/1.032, allocations: 59.97 kB / 1.365 GB, free: 4.688 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.0003923/1.032, allocations: 319 kB / 1.365 GB, free: 4.379 MB / 1.042 GB Notification: Performance of sort global known variables: time 7e-08/1.032, allocations: 0 / 1.365 GB, free: 4.379 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0003868/1.033, allocations: 71.98 kB / 1.366 GB, free: 4.309 MB / 1.042 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.0002108/1.033, allocations: 128.4 kB / 1.366 GB, free: 4.172 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.001478/1.035, allocations: 0.498 MB / 1.366 GB, free: 3.637 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.035, allocations: 4 kB / 1.366 GB, free: 3.633 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007644/1.035, allocations: 120.2 kB / 1.366 GB, free: 3.516 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/1.036, allocations: 39.69 kB / 1.366 GB, free: 3.48 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/1.037, allocations: 0.5979 MB / 1.367 GB, free: 2.855 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/1.038, allocations: 182.9 kB / 1.367 GB, free: 2.656 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 7.559e-05/1.038, allocations: 21.41 kB / 1.367 GB, free: 2.637 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.789e-05/1.038, allocations: 15.44 kB / 1.367 GB, free: 2.621 MB / 1.042 GB Notification: Performance of SimCode: time 7.51e-07/1.038, allocations: 0 / 1.367 GB, free: 2.621 MB / 1.042 GB Notification: Performance of Templates: time 0.01253/1.05, allocations: 6.585 MB / 1.374 GB, free: 12 MB / 1.057 GB " [Timeout remaining time 299] 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: 10.82769148889929]